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 | |
function akv3_query_format_standard($query) { | |
if (isset($query->query_vars['post_format']) && | |
$query->query_vars['post_format'] == 'post-format-standard') { | |
if (($post_formats = get_theme_support('post-formats')) && | |
is_array($post_formats[0]) && count($post_formats[0])) { | |
$terms = array(); | |
foreach ($post_formats[0] as $format) { | |
$terms[] = 'post-format-'.$format; |
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
$(document).ready(function() { | |
$.waypoints.settings.scrollThrottle = 30; | |
$('#main').waypoint(function(event, direction){ | |
/* Just as we have a sticky class applied when we hit the top waypoint, | |
we'll have a different class applied when we bottom out */ | |
if (direction === 'down') { | |
$(this).removeClass('sticky').addClass('bottomed'); | |
} | |
else { | |
$(this).removeClass('bottomed').addClass('sticky'); |
NewerOlder