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 if ( has_post_thumbnail() ) :?> | |
<a href="<?php the_permalink() ?>" class="thumb"><?php the_post_thumbnail('thumbnail', array( | |
'alt' => trim(strip_tags( $post->post_title )), | |
'title' => trim(strip_tags( $post->post_title )), | |
)); ?></a> | |
<?php endif; ?> |
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
// IF SITEWIDE BANNER IS ON | |
// PUSH SECONDARY ANCHOR NAV DOWN LOWER | |
(function($) { // Begin jQuery | |
$(function() { // DOM ready | |
if ($('.sitewide-banner')[0]) { | |
$('header').addClass('header--low'); | |
}; | |
}); // end DOM ready | |
})(jQuery); // end jQuery |
OlderNewer