Thread Starter
kwbock
(@kwbock)
I understand the nuance of the front-page.php and that content is stored in the database. What i’m wondering is if there’s a way for theme to register a url and a template that goes with it so that any time the theme is installed (even on a fresh install) that that page is accessible via the registered url.
For instance I have a custom page that is listing some posts in a specific format it’s accessible right now via /list-page/. Currently it is a Page, that i have told to use my list-page.php template. And inside of that template i pull Pages based on specific criteria through query_posts function.
As it is right now, any time i add a Page that i do not want to appear in that list, i have to go in and add the id to the array that excludes the Pages from the query_posts function. I would rather not have a bunch of empty posts in the database (no content) whose only purpose is to render a template.
If this is possible please let me know.