Excluding page globally
-
I made a theme option called exclude_page for excluding pages in my blog and I’m using it like this..
<?php wp_list_pages('exlude='.$exclude_page = get_option('exclude_page') .'&title_li='); ?>
but instead of placing that code in the header, sidebar, and anywhere where I’m listing pages, is it possible to call a function that will exclude the ID everywhere on the blog?
Viewing 8 replies - 1 through 8 (of 8 total)
Viewing 8 replies - 1 through 8 (of 8 total)
- The topic ‘Excluding page globally’ is closed to new replies.