My site http://essentiallinux.org has the Hi-tech theme in use. I want to stop every page but the “Contact Me” page displaying in the header as they are already listed in the sidebar (which is where I want them to be). So I looked in the code for header.php and it looks like it’s using an array of wp_pages or something similar to create a list of pages to be put in the header.
My PHP knowledge is limited at best so does anyone know how to fix it so I can just show Page ID – 2?? (The Contact Me Page)
I have included the section of code from my header.php if that helps.
Change like this
wp_list_pages(‘include=2&title_li=’ );
If you want show 2, 4, 8 etc. you can use this code like,
wp_list_pages(‘include=2,4,8&title_li=’ );