Thread Starter
blocka
(@blocka)
@mike, that would be great for initial setup, but what about updates? Especially if you use a plugin which stores a pages ID in its settings. In that case when you push your pages up, the ID will likely be out-of-date.
I think the root of this problem is mixing up structure and content.
If we could define pages *in code*, and have them useable, by wordpress and plugins, as if they came from the database, that would help a lot.
I have a wacky idea which involves the get_pages filter, which I have to think through.
I’m already doing something similar to activate certain wordpress settings using the “pre” options filter.