Support » Fixing WordPress » Help – How do you list a Navbar with Categories
8 years, 1 month ago
I have been trying to make my navbar list categories rather than pages so that when you click on it, it lists all the posts in that category.
Take a look at my site http://www.crystalgamer.com to see what I mean.
Please can someone tell me how to do this.
Look at using the template tag, wp_list_categories(), instead of the template tag, wp_list_pages().
Also see this idea:
How to easily display links to both Pages and Categories in the blog navigation header?
Thanks very much for the information.
I looked at the link and read through but I am not sure where to edit the template tag on the theme editor. (Sorry I am a wordpress novice)
If someone can tell me where to edit the template tags, I would very greatly appreciate it.
With the help of the Stepping Into Templates article, determine what Template is displaying your nav bar (probably header.php), then edit that file.
Stepping Into Template Tags
Stepping Into Templates