integrating in existing html page.
-
Hi,
i may be trying to run before i can walk here as a php novice but here’s what i’d like to do…
I have a static website and want to add a blog style news section to one column on the front page which i’m currently updating within my wysiwyg editor and there’s no option to leave comments.
I’ve installed wordpress no problem. I’ve also been through a tutorial mentioned in one of the threads that tells you how to add a loop from themes/classic/index.php within my ‘news’ div tags. and to add ‘<?php
require(‘…/wordpress/wp-blog-header.php’);
?>’ to the top of my index page.
i’ve added the php extension to my home page which lies in a subdirectory but when i go to view the page i get 2 warnings and 1 fatal error pointing to line 2 of the php line added to the top of my page…that the files cannot be found.
i don’t know what i’m doing wrong….should this be straight forward? can anyone offer some help?thanks
The topic ‘integrating in existing html page.’ is closed to new replies.