List pages that belong to certain template
I am making a website that has 2 sections, and each uses a different template. I want the sidebar of each section to list all of the pages that use that particular template. I could manually include or exclude some pages, but then if I add a page I’ll have to change the code. Is there a way to tell it to list all pages belonging to a certain template?
- The topic ‘List pages that belong to certain template’ is closed to new replies.