Thesis Theme Tutorial: How to Add a Second Navigation Menu

January 27, 2010 in Thesis Theme | View Comments

As you can see I have one navigation bar above the header and one below the header. In this post I will show you how easy it is to add another navigation bar in Thesis theme.

It’s really simple. In fact, you only have to put the following code into custom_functions.php file.

function menu2() { ?>
<ul id="menu2" class="menu">
<?php wp_list_categories('title_li='); ?>
</ul>
<?php }
add_action('thesis_hook_after_header','menu2');

This will add a second navigation menu under the header which will include all categories. The default top navigation menu will include whatever you set in Thesis Options – I only have static pages in top navigation menu.

If you enjoyed this article, you might also like:
  1. Thesis Theme Tutorial: Move Comments Link from Below the Post to Byline
  2. Clickable Header Image in Thesis Theme
  3. HeGeeks is Powered by Thesis Theme
  4. How to Add Custom Banner Ad in Thesis Theme Header
  • I added that code to my custom_functions.php and the links won't load. Is there a way to do this in Open Hook? Or is this code perhaps no longer applicable to Thesis 1.8?
  • KN
    How do i go about editing the style of the second bar? if i want if different then the main navigation bad?
  • I am having a problem with my category menu. Only one category is showing up and I have 9 categories. Can someone help me please?
  • Finding some great info on your blog tonight bro, I need this for our tanning salon blog, there's so much for the navigation area.
  • I'm glad I could help. :)
blog comments powered by Disqus

Previous post:

Next post: