Inclusion rather than exclusion
-
As most of you, I am using the following tag to exclude pages.
<?php wp_list_pages(‘exclude=5,12,27,31,32,34,35,40,59,66,67,72,73,91,92,93,111, 119,121,124&title_li=’) ;?>
Does anyone know a possible way of getting pages to include instead of exclude? Every time I create a new page, I have to go into the code and exclude it in the header. Is there a way to avoid this?
(This of course in not correct, but it would be nice if it was as easy as this:
<?php wp_list_pages(‘include=1,2,6,9,11’) ;?>
Thanks in advance.
Viewing 7 replies - 1 through 7 (of 7 total)
Viewing 7 replies - 1 through 7 (of 7 total)
- The topic ‘Inclusion rather than exclusion’ is closed to new replies.