WordPress page without header
Posted on 2012-04-10
Been looking everywhere for this solution, I hope someone here can help me out.
Currently our company blog is hosted with Hubspot.com under a subdomain of our tld (blog.mydomain.com).
Our main site is self hosted and running on Drupal (main.mydomain.com)
Our current blog can be access one of two ways; blog.mydomain.com or main.mydomain.com/media/blog. The latter displays the blog in a iframe in order for it to look like its native to the site.
I have recently built a new blog called news.mydomain.com with WordPress.
To satisfy the requirements to allow me to move from Hubspot to WP is that I need to be able to bring the WP site into the main site without the header and footer. Just the body of the WP site with the sidebars and updated posts.
Because of the this particular custom install of Drupal, any folder I add to the subdomain, main.mydomain.com, is not accessable via web browser. I am forced to use a iframe. Yes, I know search engines ignore iframes.
I tried this plugin; "Just the Page" and its perfect. But it does exactly what it is says, everything is stripped out. If I could add the body, css, posts and side bar I would be out of the woods and add that page to the iFrame. But the code to make that happen escapes me.
Thanks in advance