Merged Braad\'s EHC removal commit.

This commit is contained in:
MickeyKay
2015-02-24 09:22:37 -08:00
3 changed files with 104 additions and 181 deletions
-6
View File
@@ -70,12 +70,6 @@ function trestle_header_actions() {
if ( is_readable( $upload_path . $custom_js_file ) )
wp_enqueue_script( 'trestle-custom-jquery', $upload_url . $custom_js_file, array( 'jquery' ), CHILD_THEME_VERSION, true );
// Pass PHP variables to theme jQuery
$php_vars = array (
'trestle_equal_cols_breakpoint' => genesis_get_option( 'trestle_equal_cols_breakpoint' ),
);
wp_localize_script( 'theme-jquery', 'trestle_vars', $php_vars );
}
add_filter( 'genesis_pre_load_favicon', 'trestle_do_custom_favicon' );