Thread Starter
vvvoid
(@vvvoid)
Thanks for the reply.
I managed to put together a working proof of concept (in regular WP) using a combination of the domain-theme plugin, a tree-based page structure (as mentioned above) and some custom code.
In essence it’s bypassing WP’s automatic request mapping and Loop, instead using some custom WP_Query objects and including the theme files directly (WP_USE_THEMES === false).
Not sure how robust it is, but I only had to make two simple core hacks, and it’s acting okay so far..
Regarding removing the core hacks, is there a hook that will run after all functions are available, but before any request processing?
My hack was to comment out a bunch of method calls in $wp->main() but that’s ugly..
sk