exlcude home page & permalink structure
-
here is the code:
<div id="navbar"> <ul id="nav"> <?php wp_list_pages('sort_column=menu_order&depth=1&title_li=&exclude=2,4,25,27');?> </ul> </div><!-- end menu -->
Two questions:
How do i exclude the home page with this code? The home page is set to the static page.
Also, here is my permalink structure
/%category%/%postname%/.html
in order to exlcude, i had to go back and change the permalinks to default (page numbers) then add the numbers into the exclude, and then change back to my custom one.Is there a way to put the custom permalink ie about-us into the exclude?
thanks
Viewing 12 replies - 1 through 12 (of 12 total)
Viewing 12 replies - 1 through 12 (of 12 total)
- The topic ‘exlcude home page & permalink structure’ is closed to new replies.