The following request might sound strange, at first. Let me explain…
I am building a master installation of WordPress that I can just port onto any new site in my newtork of WP sites.
Now, each site in my network — in addition to sharing the same theme, plugins, and options set up — will also share a number of Pages (such as About, Contact, Sitemap, etc… plus a bunch of others using specific templates). These Pages will appear on each site regardless of other content.
Here comes my problem and question… At this moment, I can define about 5 such “common” Pages, but this number can change/increase in the future.
Whenever I will want to add a new “common” Page, I will also need to upgrade each WP installation on every site in my network. In order to make upgrades easier and to possibly allow for automation, it would be important that these “common” pages share the same ID across the entire network.
But, because I don’t know in advance what and how many of these Pages there will be, I cannot just create them in advance.
What would be your suggestions?
As one possible solution, I am considering saving a certain number of empty Pages (say 50, just to be on the safe side), which will be earmarked for “common” pages. The problem with this solution is, however, that I would need to exclude them from any wp_list_pages() one-by-one. Even then, they will clutter the Parent Page drop-down box on Write > Page.
Any suggestions, comments, or questions will be greatly appreciated.
- The topic ‘Creating Pages with specific ID? Earmarking non-existent Pages for future use…’ is closed to new replies.