From the WordPress admin panel, click Appearance >> Editor (To edit the theme files) and select header.php file to edit.
Find the following code either manually or by pressing CTRL + F in your keyboard.
The code you have to find is <?php wp_list_categories('title_li=&orderby=id'); ?>
and add the following code next to the above code.
<?php wp_list_pages('title_li='); ?>
This will display the all the pages along with the category in the nav bar.
Thanks
Thread Starter
mdlm
(@mdlm)
I searched for wp_list_categories and cannot find it.
But do I really need to edit code to do such a simple thing? All I want to do is to have an existing page show up in the navigation bar!
I’m using Magazine Basic 2.5.6.
Thank you so much Thejas Kamath! This totally worked. been looking for a few days 🙂 Thanks!!!
for mdlm, you probably moved on but for future these pages might help too. they get more specific about including individual pages only.
http://codex.wordpress.org/Function_Reference/wp_list_pages
http://www.niharsworld.com/2009/01/19/add-wordpress-pages-nav-bar/