moved nav button functionality from functions.php into trestle-functions.php, fixed default Trestle options error that occurred when first activating Trestle

This commit is contained in:
Mickey Kay
2013-11-14 14:26:55 -08:00
parent 2c2b86f147
commit 38a1146d8f
4 changed files with 1873 additions and 5 deletions
+1 -4
View File
@@ -79,12 +79,9 @@ function trestle_theme_setup() {
* Auto & Mobile Navigation
===========================================*/
// Implement auto-nav
// Implement auto-nav and mobile nav button
add_action( 'init', 'trestle_nav_modifications' );
// Add mobile nav button
add_action( 'genesis_after_header', 'trestle_add_mobile_nav', 0 );
/*===========================================
* Actions & Filters