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
{ | |
"preprocessorLocations": [ | |
"resource/scss", | |
"resource/js", | |
"resource/processed" | |
], | |
} |
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
<VirtualHost *:80> | |
DocumentRoot "c:/path/to/siteroot" | |
ServerName custom.domain | |
</VirtualHost> |
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
$default_colour: #2b2b2b; | |
$primary_colour: #e14d43; | |
$secondary_colour: #0074a2; | |
$info_colour: #fbf5da; | |
$success_colour: #ebfeeb; | |
$error_colour: #fef1f0; | |
$primary_font_stack_regular: 'opensansregular', sans-serif; | |
$primary_font_stack_italic: 'opensansregularitalic', sans-serif; | |
$primary_font_stack_bold: 'opensansbold', sans-serif; |
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: Name | |
*/ | |
?> | |
<?php get_header(); ?> | |
<?php get_footer(); ?> |
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
@media screen and (max-width: 1417px){ | |
} | |
@media screen and (max-width: 950px){ | |
} | |
@media screen and (max-width: 550px){ |
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
$flexOpts = { | |
'animation': 'slide', | |
'directionNav': false, | |
'smoothHeight': true | |
} | |
$('div.flexslider').flexslider($flexOpts); |
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
$('li.page-top a').delegate($(this), 'click', function(e){ | |
e.preventDefault(); | |
$('body, html').animate({ | |
scrollTop: 0 | |
}, 800); | |
}); |
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
$('a.toggle-widgets').delegate($(this), 'click', function(e){ | |
e.preventDefault(); | |
$('div.widgets').slideToggle(); | |
}); |
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 | |
$sticky = get_option('sticky_posts'); | |
$args = array( | |
'posts_per_page' => 6, | |
'post__in' => $sticky | |
); | |
$px_query = new WP_Query($args); | |
?> | |
<?php if(!empty($sticky)) : ?> | |
<?php while($px_query->have_posts()) : $px_query->the_post(); ?> |
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
# Remove junk | |
function px_wp_remove_head() { | |
remove_action('wp_head', 'feed_links'); | |
remove_action('wp_head', 'feed_links_extra'); | |
remove_action('wp_head', 'rsd_link'); | |
remove_action('wp_head', 'wlwmanifest_link'); | |
remove_action('wp_head', 'adjacent_posts_rel_link_wp_head'); | |
remove_action('wp_head', 'locale_stylesheet'); | |
remove_action('wp_head', 'noindex'); | |
remove_action('wp_head', 'wp_print_styles'); |
OlderNewer