This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
/* This loop gives us back | |
/* | |
*/ | |
$args = array( | |
'post_type' => 'larkin_event' | |
) ; | |
$my_query = new WP_Query($args) ; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* The template for displaying all pages. | |
* | |
* This is the template that displays the front page | |
* | |
* @package larkin square | |
*/ | |
get_header('frontpage'); ?> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* There's no getting around it: | |
* post meta in wordpress is insanely difficult | |
* even with a plugin or a library, wordpress post meta simply sucks to work with | |
* | |
*/ | |
add_action( 'add_meta_boxes', 'truckpost_meta' ); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Query(document).ready(function() { | |
var mobileNavMenu = $("#mobile-nav-menu"); | |
var mobileNavButton = $(".mobile-nav-button"); | |
var uberMenu = $("#ubermenu"); | |
var uberMenu2 = $("#ubermenu2"); | |
(function(){ | |
window.larkinApp = { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$('#main-menu-top a,ul.slicknav_nav li a').click(function(event){ | |
event.stopPropagation(); | |
event.preventDefault(); | |
if($(this).hasClass('active')) | |
return; | |
$('#main-menu-top a').removeClass('active').css('border-bottom-color', 'none'); | |
$(this).addClass('active'); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module.exports = function (grunt){ | |
grunt.initConfig({ | |
compass : { | |
dist : { | |
options : { | |
cssDir : 'sw-inc/css', | |
sassDir : 'sass' | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
?php | |
/***** | |
/* provides the row at the top of the page, containing logo and navigation | |
/* | |
*/ | |
?> | |
<div id="identity-and-navigation" class="container"> | |
<div class="nrow"> | |
<div class="sw-logo-container"> | |
<img src="<?php echo get_template_directory_uri() . "/sw-inc/img/logo-footer-blerter.png" ?>" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<nav id="main-menu-top"> | |
<ul id="menu-res" class="main-menu"><li id="menu-item-216" class="menu-item menu-item-type-custom menu-item-object-custom menu-item-216"><a href="#home">Home</a></li> | |
<li id="menu-item-207" class="menu-item menu-item-type-custom menu-item-object-custom menu-item-207"><a href="#blerter">Blerter</a></li> | |
<li id="menu-item-201" class="menu-item menu-item-type-custom menu-item-object-custom menu-item-201"><a href="#our-team">Our Team</a></li> | |
<li id="menu-item-221" class="menu-item menu-item-type-custom menu-item-object-custom menu-item-221"><a href="#contact">Contact</a></li> | |
<li id="menu-item-252" class="menu-item menu-item-type-custom menu-item-object-custom menu-item-252"><a href="https://itunes.apple.com/nz/app/blerter/id630319471?mt=8#">Download Blerter</a></li> | |
</ul> </nav> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
jQuery(window).load(function() { | |
if(document.getElementById("all_click")) | |
document.getElementById("all_click").click(); | |
jQuery('.mask-color').fadeOut('slow'); | |
}); | |
jQuery(document).ready(function($) { | |
// MENU RESPONSIVE | |
$('#menu-res').slicknav({ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Template Name: Blerter Register | |
*/ | |
get_header();?> | |
<div class="page-content"> | |
<?php if ( have_posts() ) { ?> | |
<div class="container"> | |
<div class="nrow post"> |