UPDATE April 21, 2011 – This post has corrected code samples I promised for last night’s attendees of Bay Area Foothills WordPress Meetup. It turned out to be very simple to move the WordPress menu into either Sidebar 1 or Sidebar 2 in the custom_functions.php in the Thesis Theme – examples are posted below. Let me know if you see any issues and thanks for coming out last night!
And the code examples from the presentation:
To move your menu below the header image place this code in your custom_functions.php file:
remove_action('thesis_hook_before_header', 'thesis_nav_menu');add_action('thesis_hook_after_header', 'thesis_nav_menu');
To move your menu to sidebar 1 place this code in your custom_functions.php file:
remove_action('thesis_hook_before_header','thesis_nav_menu'); add_action('thesis_hook_before_sidebar_1','thesis_nav_menu');
AND – update your custom.css with this statement:
.custom .menu li { float: none; }
To move your menu to sidebar 2 place this code in your custom_functions.php file:
remove_action('thesis_hook_before_header','thesis_nav_menu'); add_action('thesis_hook_before_sidebar_2','thesis_nav_menu');
AND – update your custom.css with this statement:
.custom .menu li { float: none; }
