Simple Syntax Question
-
I am learning to work with php.
I want to exclude post #8 (Test of exclude)in my test site at http://www.secondlifegolf.com.
I can exclude it with this command in the sidebar file:
<?php wp_list_pages('exclude=8' ); ?>Also in the sidebar is this command:
<?php wp_list_pages('title_li=<h2>Pages</h2>'); ?>How do I combine the two so that I get a single instance of the Page list with “Page” in H2 and item 8 excluded?
Thanks
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
The topic ‘Simple Syntax Question’ is closed to new replies.