Best 2 Know

The Ultimate Blogging Resource

  • Advertising
  • WebHosting
  • Contact Us
  • Blogger
    • Blogger Templates
    • Blogger Tutorials
  • Browser
    • Firefox
    • Google Chrome
  • Google
  • Internet
    • Facebook
    • Twitter
  • Thesis
  • Windows
  • WordPress
    • WordPress Themes
    • WordPress Plugins
  • More
    • Linux
    • Review
    • Solutions
    • Announcements

How to add Separate Nav Menu for Categories in thesis

In thesis by default their is only one navigation bar that also mostly at the top. if you want to expose your categories then you mostly have to add them in sidebar using Category widget. but mostly we need add them at the top so that people can pay attention to it and visit.

To add Separate Nav Menu for Categories if have to add few lines of code in custom_functions.php. This includes thesis_hook_after_header hook and a simple WordPress code to call out Categories.

So for adding Separate Nav Menu for Categories add the below line of code in custom_functions.php :

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

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

Save the file and now check your website it will be having Categories under the header. you can add the bar at different location by changing the location of hook at line 7. you can get Different Thesis Hooks here. you can also design the nav bar using CSS in custom.css

Hope you like it and will be waiting for your feedback.

Subscribe via Email

Share this:

  • Twitter
  • Facebook
  • Pocket
  • Print
  • WhatsApp
  • Email

Related

April 5, 2011 Ritesh Sanap Thesis Customization Categories, custom.css, custom_functions.php, navigation bar, Thesis, Thesis Customization, thesis_hook_after_header

Leave a Reply Cancel reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Post navigation

Previous Previous post: How to move Thesis Navigation bar below Header
Next Next post: How to Create and Cutomize Archive page template in thesis

Currently Trending

  • How to download Specific parts of YouTube videos
  • Windows Vista CD key
  • How to Change the Welcome/Login Screen in Windows XP ?
  • List Of All 255 Keyboard All Alt Key Codes
  • Automatically add Google Plus (+) to your Post
  • Clean Your Messy Desktop & Organize Your Stuff !
  • From Netbook to Jetbook- Make your notebook super fast
  • MS-DOS and command line overview
  • How to retrieve my Demonoid username
  • HTTP2 Server Push for W3 Total Cache Minify plugin

Get Latest post in your Inbox

Random Posts

Another Trick available for Orkut account hack

March 10, 2009 By Ritesh Sanap 17 Comments

Wood is Good – Blogger Template

June 16, 2010 By Ritesh Sanap Leave a Comment

I Lost My MotherBoard Driver CD/DVD ! What To Do ??

August 14, 2008 By Ritesh Sanap 1 Comment

Trily – Blogger Template

May 30, 2010 By Ritesh Sanap 28 Comments

Excellence Blogger Template

July 12, 2009 By Ritesh Sanap 36 Comments

WordPress

HTTP2 Server Push for W3 Total Cache Minify plugin

August 17, 2016 By Ritesh Sanap 5 Comments

How to Disable Emojis in WordPress

January 6, 2016 By Ritesh Sanap Leave a Comment

JetPack Related posts and Sharing not working with NGINX

November 10, 2015 By Ritesh Sanap Leave a Comment

Simply Pure – WordPress Theme

November 2, 2014 By Ritesh Sanap 2 Comments

Advanced What should we Write about next? – WordPress Plugin

July 28, 2014 By Ritesh Sanap Leave a Comment

How to Disable Self Pingback or TrackBack

January 16, 2014 By Ritesh Sanap Leave a Comment

BlueStrap – WordPress Theme

January 1, 2014 By Ritesh Sanap 15 Comments

How to Create Multiple Excerpts in WordPress

December 24, 2013 By Ritesh Sanap Leave a Comment

How to Disable Auto Update in WordPress

November 21, 2013 By Ritesh Sanap Leave a Comment

How to Delete Feedbacks from JetPack Contact Form

November 19, 2013 By Ritesh Sanap 9 Comments

Recent Posts

  • HTTP2 Server Push for W3 Total Cache Minify plugin
  • How to show hidden files and folders in Mac OS X
  • How to Disable Emojis in WordPress
  • Canva – Online Photo Editor
  • JetPack Related posts and Sharing not working with NGINX

Archives

Recommends

  • DigitalOcean – Cloud Hosting
  • Dropbox – Cloud Storage
  • Elegant Themes – WordPress Themes
  • LastPass – Password Manager
  • Like us on Facebook
  • Follow on Twitter
  • +1 on Google
  • Subscribe via Email
  • RSS Feed

© 2023 Best 2 Know · All Rights Reserved · We ♥ DigitalOcean