Using WP framework outside WP dir
-
I have a WP2 SVN test install going, which looks nice – theme, plugins and all (and it integrates fine with Gallery 2 and the WPG2 plugin, btw). It’s installed in https://mysite.com/blog
I’ve created an index.php in https://mysite.com/ where I want to initialize WP in order to create a sort of portal page to my site, tweaking my theme header, and doing some nifty stuff with the core WP functions and my own PHP l33t skillz. Or something like that anyway.
So I’ve basically just grabbed the contents of blog/index.php and blog/wp-blog-header.php, hard-coded a few pathnames and had WP running from that dir right away – was that a mind-blowing experience or what!? ?? Well, it was unexpected in any case.
But how can I circumvent all the theme stuff, and pick the header, blog entries and sidebar stuff apart and put it all together the way I want it in the easiest manner? I mean, I can backtrace all the function calls and get to loading the least of the UI and core possible without breakage by trial/error – but does anyone have any tips for me on where to start and/or how to get into this with WP2.0?
Thanks,
G.BTW: I know of Denis de Bernardy Static Front Page plugin for WP 1.5 and have tried it (with WP1 1.5) and didn’t like it. I’m a control freak.
- The topic ‘Using WP framework outside WP dir’ is closed to new replies.