sydneycraig
Member
Posted 1 year ago #
hey
struggling to understand this.
i have a website http://www.mywebsite.com
is it possible to integrate a blog into the site?
so for example i currently have header, body, footer.
can i just make a page that includes the blog into the body (ie, not using the header, footer from WP, but just using my static header (and static nav) and my static footer???
hoope that makes sense
vanhalstd
Member
Posted 1 year ago #
in theory I think if your site is created in PHP, you can just include it using the include tag. <?php include 'wordpress/index.php'; ?>
Though I'm not sure on this...
note: wordpress is where you have your wordpress files (root) obviously...
sydneycraig
Member
Posted 1 year ago #
assuming this would work it would include the whole WP site, i just want the main body/sidebar using the static header/footes i already have.
You will need to make a custom theme using your site's HTML and CSS.
Here's a site that explains it:
http://thethemefoundry.com/blog/html-wordpress/
sydneycraig
Member
Posted 1 year ago #
article from 2006!
still current? anything more recent?
Still applies, nothing has changed.
...and I just went and looked at it...
...notice the green screaming headline about it being updated....
sydneycraig
Member
Posted 1 year ago #
ah yes sorry missed the
"Updated November 2010! This tutorial has been updated and is now compatible with WordPress 3.0"
so, i was ging to add a bog into my site http://www.craiglongmuir.com
is it going to be just as easy to set the whole thing up in WP or can i just create a static blog page that includes the blog body/sidebar into the page??
thanks
Just add a "+blog" link in your current site's header menu, pointing to http://www.craiglongmuir.com/blog (if you want to call it blog)
Then install WordPress off of your website's root, in a folder called "blog".
Follow that tutorial and make a theme for it that will look like your site.
Probably leave out the big image in the index.php, maybe keep it in single.php and page.php, and set it up as the Featured Image.
sydneycraig
Member
Posted 1 year ago #
so you think to convert the whole site to WP?
No, don't bother, no need. If it where a client's site, and they wanted to be able to edit it, sure, but you can edit your existing site as is, so why bother?
I was just reading that tutorial. It's kind of vague in this part:
"First Things First
The first step is to create a new folder and name it whatever you want your theme to be called."
That should be more specific and tell you to create it using FTP , creating the new folder in the WordPress installs theme directory: craiglongmuir.com/blog/wp-content/themes/your-new-custom-theme
sydneycraig
Member
Posted 1 year ago #
thanks for that....dont have time to work thru this right now, but will give it a shot in the am...(sydney time!)
ceers for the tips
craig
Actually, scratch my last post. It tells you to upload it all at the end, which makes more sense, lol. I was sleepy, I guess.