Exclude Pages by Page Template?
My blog template displays all pages in the top, under my title, and such. I would like to exclude all pages of a template called Custom Works. How do I do it? I already created the template PHP file, and it prints the content just fine.
I checked the wp_list_pages function, but it only excludes pages by ID.
Better yet, if I can make the Custom Works template pages unlisted (don’t appear anywhere unless you link them), that would also work.
- The topic ‘Exclude Pages by Page Template?’ is closed to new replies.