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
$(this).selectmenu({ | |
open: function() { | |
$( $( $(this).selectmenu( "widget" )[1] )[0] ).css('z-index', 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
<?php | |
/* | |
* If the current post is protected by a password and the visitor has not yet | |
* entered the password we will return early without loading the comments. | |
*/ | |
if ( post_password_required() ) { | |
return; | |
} | |
?> |
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
/* | |
* Register Theme Option pages | |
*/ | |
if( function_exists('acf_add_options_page') ) { | |
acf_add_options_page(array( | |
'page_title' => 'Theme Options', | |
'menu_title' => 'Theme Options', | |
'menu_slug' => 'theme-options', | |
'capability' => 'edit_posts', | |
'redirect' => false |
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 $paged = ( get_query_var('page') ) ? get_query_var('page') : 1; ?> | |
<?php $gallery_args = array( | |
'paged' => $paged, | |
'post_type' => 'gallery', | |
'posts_per_page' => 1 | |
); ?> | |
<?php $gallery_query = new WP_Query( $gallery_args ); ?> | |
<?php // Pagination fix |