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_action('genesis_meta', 'remove_subnav_specific_pages'); | |
function remove_subnav_specific_pages() { | |
if ( !is_page('11446') ) | |
remove_action('genesis_after_header', 'genesis_do_subnav'); | |
} |
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 | |
//* Enqueue Backstretch script and prepare images for loading | |
add_action( 'wp_enqueue_scripts', 'agency_enqueue_backstretch_scripts' ); | |
function agency_enqueue_backstretch_scripts() { | |
// $image = get_option( 'agency-backstretch-image', sprintf( '%s/images/bg.jpg', get_stylesheet_directory_uri() ) ); | |
//* Load scripts only if custom backstretch image is being used | |
//if ( ! empty( $image ) ) { |
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 | |
add_filter( 'gform_enable_field_label_visibility_settings', '__return_true' ); | |
?> |
NewerOlder