I have the following pages in my installation (Multisite)
Network – 5
Partners – 7
Contact – 9
Login – 11
Register – 13
The numbers to the right are page numbers, and I check them by going to admin and clicking on particular names in Pages section, then looking at the number in URL, for example:
http://my_name.com/wp-admin/post.php?post=5&action=edit – this is “Network”
http://my_name.com/wp-admin/post.php?post=7&action=edit – this is “Partners” etc
I am writing a detailed description here, because I dont understand what is going on. I had a different WordPress site about one week ago and everything was working as it should. Here is the code that I have in header.php
<ul id="pages"> <li><a>">HOME</a></li> <li><?php wp_list_pages('include=5,7,9&title_li='); ?></li> <li><?php wp_list_pages('include=11,13&title_li='); ?></li>
WordPress displays the Home link correctly, and then I get Contact, Network, and Partners EVEN THOUGH I have it set to 5,7,9 – which should be Network, Partners, Contact. I was trying to switch the numners around, but it doesnt change everything, links always display in the same order (I refreshed the cache, tried different browsers etc).
Can you tell me what might be going on with this? (I want to keep the links divided into different sections, because I want to separate login and register from the rest)
- The topic ‘wp_list_pages()’ is closed to new replies.