This file contains 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
/**** Isotope Filtering ****/ | |
.isotope-item { | |
z-index: 2; | |
} | |
.isotope-hidden.isotope-item { | |
pointer-events: none; | |
z-index: 1; | |
} |
This file contains 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 | |
/* ========================================================================== | |
Load jQuery | |
========================================================================== */ | |
// NOTE: Deregisters the native install of jQuery and loads a specific version from Google. | |
if (!is_admin()) add_action("wp_enqueue_scripts", "my_jquery_enqueue", 11); |
This file contains 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
// Add this after line 18 in the example: | |
$thumb_array = image_downsize( $image->ID, 'your-custom-image-size' ); | |
$thumb_url = $thumb_array[0]; | |
// Now, you will need to modify the output to include your thumbnail image, a link to the full image and your lighbox classes. So lines 20-28 should look something like this: | |
echo '<li>'; | |
echo '<a class="your-lightbox-class" href="'; | |
echo $img_url; |
This file contains 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
/* ========================================================================== | |
Custom Walker Menu for Secondary Navigation Page Templates | |
========================================================================== */ | |
class Menu_With_Description extends Walker_Nav_Menu { | |
function start_el(&$output, $item, $depth, $args) { | |
global $wp_query; | |
$indent = ( $depth ) ? str_repeat( "t", $depth ) : ''; | |
NewerOlder