Hi! I am having a challenge with this as well. I am new to WP, and found this documentation which is exactly what I need:
https://codex.www.ads-software.com/Integrating_WordPress_with_Your_Website
at least I think it is…
I’m fairly proficient at html and css, not so much with php. I have WP installed in a subdirectory entitled /blog just as indicated in the documentation. It works fine to log into WP and use it that way.
I then created a blank page on my site titled blog.php and popped the code given in this article into it, uploaded it and… it came up as a blank page with the following error messages:
Warning: require(./wp-blog-header.php) [function.require]: failed to open stream: No such file or directory in D:\Hosting\2832415\html\reiki\blog.php on line 6
Fatal error: require() [function.require]: Failed opening required ‘./wp-blog-header.php’ (include_path=’.;C:\php5\pear’) in D:\Hosting\2832415\html\reiki\blog.php on line 6
I’m not sure what I’m doing wrong, though it’s probably something simple. None of my design or css comes through at all, only the errors. I have the DW template html in the page, and the two pieces of php code referenced in the article. The first piece it said to insert at the start of the page, which I did. The second piece it did not indicate where in the page to add it, so I put it in the content area. I used the piece of code given for “last 3 posts” for that portion.
Can anyone help, please? Thank you!