mkirkwag
Member
Posted 2 years ago #
Would someone mind giving me a bit of help with my header? My theme is "Orangy" by Skinpress. I want to control which pages show up in the header navigation links. The theme automatically chooses them. I think the relevant code is here, but it's not what I expect to see, having read about them in the Codex:
href="<?php echo get_option('home'); ?>/"><span>Home</span>
<?=wp_list_pages2()?>
<div id="main_search">
Am I looking at the wrong thing? It's the only place in the header that I se "wp list" at all.
Thanks in advance!
the wp_list_pages() function lists all pages you've created, and shows them as list items to create your navigation bar.
Probably three ways to change this behavior:
- stop using wp_list_pages() and create your own menu
- find some plugin to modify the default behavior of wp_list_pages()
- delete some of the pages
Peter
mkirkwag
Member
Posted 2 years ago #
OK...I can't modify wp_list to list only certain pages by specifying their position in the page order?
I looked for a plug in, and found several, but they all seem to only control the site navigation - apparently defined as the sidebar navigation.