List Posts/Pages Based On PHP Template?
Is there a way to print a hierarchy of posts/pages/custom post types based on page template?
EG. I am often asked to review another web site and I’d like a way to ‘see’ all the pages that are assigned to the ‘Newsletter’ PHP template and all the pages assigned to the ‘Product Info’ PHP template.
In fact, if someone could tell me where the page template info is stored in the db I guess I could just loop through WP_Posts, right?
- The topic ‘List Posts/Pages Based On PHP Template?’ is closed to new replies.