Page is a not externally linkable
- Code, Content, and Presentation
-- WordPress
---- Embeding Wordpress in a simple PHP template site


joliett89 - 1:31 pm on Feb 9, 2012 (gmt 0)


I have a simple site (header.php, footer.php and some content sites in between) and I want to include Wordpress as one of them. I install it and it works as domainname.com/blog, but I am wondering if I can get it to work under regular header.php, just like with other pages (Home, Services, Resources, Blog, Contact). I am using something like this:

<?php
$subtitle = "Media Services";
include("header.php");
?>

When I add the following code, it does not load anything,

include("blog/wp-blog-header.php");

but a test file like test.php (with echo "This is test etc..") works with the same pathname.

Does anybody know what am I doing wrong.

Thank you.

[edited by: lorax at 12:33 pm (utc) on Mar 2, 2012]
[edit reason] no IPs or URLs please [/edit]


Thread source:: http://www.webmasterworld.com/wordpress/4415870.htm
Brought to you by WebmasterWorld: http://www.webmasterworld.com