MX 4 does not use wp_list_pages() to display Pages along the top nav menu, so there’s nothing to change there (unless you want to remove the nav bar). You can provide Page links just by adding this in the sidebar.php:
<?php wp_list_pages(); ?>
If you want the Pages in the nav bar excluded from the list in the sidebar, see the information on the ‘exclude’ parameter:
http://codex.wordpress.org/Template_Tags/wp_list_pages
If I add a page header to the sidebar how do I then hide the navbar or delete it.
http://alexandersvideos.com/
Doc
To remove the nav bar from MX 4, just edit out of the theme’s header.php the section that starts:
<div id="navcontainer">
You probably won’t need the ‘clear’ div that comes right after it, as well.
One more question If you look at my sidebar at the pages header how do I remove the grey text saying page.
thanks,
Doc
when I edit out <div id=”navcontainer”> it just screws up the page layout ?
“remove the grey text saying page“
Change it to:
<?php wp_list_pages('title_li= '); ?>
Note that space after title_li= in the parameter list. This removes the “Page” header text, but retains the links in a list. More on wp_list_pages():
http://codex.wordpress.org/Template_Tags/wp_list_pages
“when I edit out <div id=”navcontainer”>“
Not sure the cause. Just removing the entire div element (the nav bar section) reset the line of the content area to below the banner.
Instead of removing it, you could try modifying the css for navcontainer to *hide* it:
#navcontainer {
display:none;
}
cheers thats great,thanks