….
Make you site a wordpress template, job done.
I’m kinda trying to do that. Implementing wordpress into my existing template. I’ve something like 375 content pages, some stored in a database, some in html (as well as some custom php elements). I do intend to integrate everything together but that’s months of work for me, a portion of which may involve downtime for the site.
At the moment I want to get the basic functionality integrated with my existing template and gradually implement the site’s content a bit at a time.
I think Phunky meant that you should convert your design into a WP theme. I’m not sure that would work for you.
How are you including the WordPress content? Also, does anything on your right nav bar perform any db queries of its own?
The template is basically a layout consisting of a selection of tables. The left navbar, wordpress and the right bar are in a table of their own with 3 columns. The left bar is hard coded into the template and wordpress and the right bar are both php includes. The right bar is a html with no database or php calls.
The thing is it doesn’t even have display the code for the final div where the navbar would go. The code just stops once index.php from the theme has loaded.
“The code just stops once index.php from the theme has loaded.“
So you’re including index.php? You’d be better off including wp-blog-header.php and then incorporating the various WP components you need, to avoid the theme override that is occuring. See this Codex doc for more:
http://codex.wordpress.org/Creating_a_Static_Front_Page#Integrating_WordPress
nope even creating a static front page like that stops the right bar from displaying it seems. It gets the same issue. Any idea why the code seems to be stopping anything else from being displayed once it finishes? It’s definately not a CSS issue as I’ve tried it with disabled themes.
*edit*
doing some work it seems to be the wordpress index that’s causing the issues. I’ll see if I can sort it out
Do not include the whole WP index file into your site – it creates errors (like having two <head> sections, two <body> sections etc.)
You may want to take a look at this tutorial to get an idea how to do it:
http://www.transycan.net/blogtest/2005/07/05/integrate/
You could also simply use The_Loop in your site.
Thanks, that link was really handy. It’s all finished and (seems to be) bug free now.