wp_list_pages, include parameter?
-
Hello,
This is my first website with wordpress so please excuse if my question is obvious.
I want to create a navigation menu on the sidebar using wp_list_pages funtion, but instead of excluding certain pages I want to INCLUDE only certain pages. Is this possible?
The reason for this is that as I add more pages to the site I constantly need to update my sidebar.php to exclude the new page ids.
I thought of the possibility of creating a static menu linking directly to the pages in question, but then I loose the current_page_item class that is otherwise automatically added.
Any pointers would be of great help.
Thanks in advance,
Frank
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘wp_list_pages, include parameter?’ is closed to new replies.