Help - Search - Members - Calendar
Full Version: Wordpress in a div
Forums > Resource Center > Webmasters' Corner > Webmasters' Corner Resolved Topics
freeflow
ok so here we go. Everyone was telling me to get php includes. I didn't really want to but i don't know people where saying i should. Problem is all the subpages work right , but wordpress doesn't.

I don't think its possible to link wordpress in a div. So what i did was i edited the wordpress header. To my normal header for all the other pages same with the footer the only thing is wordpress won't show the background. mellow.gif

http://vibrance.foreverbliss.org/wp/

I tried changing my index.php file to this:

header include here
<div class="elmo">
wordpress include here
footer include here
</div>

and that didn't work so now im stuck. sad.gif mellow.gif I was about to think if you can link stuff into a div like iframes , but i don't think its possible . (don't look at the main page because its not php included for now till i fix wordpress)
kntemplar
Isn't there a customizable page in WordPress that allows you to change the front page? There should also be another page that lets you change the way the blogs are set up... There is in TextPattern. Any, if you can change the front page, you can try something like this. The original front page in WordPress format...:

The tags aren't HTML tags to tell WordPress to insert the raw blog page (usually just plain text) into that space.
And then, in your index.php of your site, try this:

I'm not sure if its what you want though..
kntemplar
That way, if someone enters your url "http://vibrance.foreverbliss.org/wp/index.php", they should see a plain page with texts of your blogs. However, when the people see your main page, it has all your styles and stuff.
freeflow
thanks , i got it . it was my css code that messed it up.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.