Including a WP-generated page into a page *outside* WP
-
Hello,
I’ve searched the forums, but couldn’t seem to find any answers to my problem. I’m posting this in hopes that I don’t have to move to MoveableType 2.661 (page rebuilds…ugh!)
This is a quick rundown of what I’m doing:
- Install 4 different instances of WordPress in different directories, similar to this:
- domain.com/reviews/
- domain.com/news/
- domain.com/fiction/
- domain.com/weird/
- Modify the templates so they show only the post…no other page elements at all.
- Use a page (domain.com/index.php) and php includes to pull all the different “front pages” (with the 2 newest posts per blog) into one page.
I’ve done this with MT2.661 before without issue. I’m not sure if this is because that version of MT built static pages that are easy to include.
When I do this in WP, it seems like PHP just stops generating the page after the first PHP include. Nothing after the WP code shows up.
I don’t know if I’m going about this the wrong way, either. This site needs to be done by May 5 (7 days from now) and I was really hoping I could find a solution. If anyone has an answer or an alternative answer, please reply to this.
Thanks for your help!
.frankiejr
- The topic ‘Including a WP-generated page into a page *outside* WP’ is closed to new replies.