

<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Using WordPress header and footers externally</title>
	<atom:link href="http://bloke.org/php/using-wordpress-header-and-footers-externally/feed/" rel="self" type="application/rss+xml" />
	<link>http://bloke.org/php/using-wordpress-header-and-footers-externally/</link>
	<description>Independent PHP, WordPress &#38; CubeCart Programmer</description>
	<lastBuildDate>Sat, 04 Feb 2012 17:27:08 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
	<item>
		<title>By: Professional Web Solutions</title>
		<link>http://bloke.org/php/using-wordpress-header-and-footers-externally/#comment-2636</link>
		<dc:creator>Professional Web Solutions</dc:creator>
		<pubDate>Mon, 28 Nov 2011 00:30:46 +0000</pubDate>
		<guid isPermaLink="false">http://bloke.org/?p=339#comment-2636</guid>
		<description>After spending a few day looking for the best solution to this common request, I found it!!

There is a great plug-in available now called &lt;a href=&quot;http://wordpress.org/extend/plugins/templatesync/installation/&quot; rel=&quot;nofollow&quot;&gt;Template Sync.&lt;/a&gt;

Basically you add a couple bits of code to your header.php and footer.php, then hit a button and shazam, a html version of the files is created. from there it is a simple inclufe file in the .tpl files and you&#039;re up and running. If you update any parts, simply hit the button and it generates a new file... wish I found this days ago.
</description>
		<content:encoded><![CDATA[<p>After spending a few day looking for the best solution to this common request, I found it!!</p>
<p>There is a great plug-in available now called <a href="http://wordpress.org/extend/plugins/templatesync/installation/" rel="nofollow">Template Sync.</a></p>
<p>Basically you add a couple bits of code to your header.php and footer.php, then hit a button and shazam, a html version of the files is created. from there it is a simple inclufe file in the .tpl files and you&#8217;re up and running. If you update any parts, simply hit the button and it generates a new file&#8230; wish I found this days ago.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Billy</title>
		<link>http://bloke.org/php/using-wordpress-header-and-footers-externally/#comment-2624</link>
		<dc:creator>Billy</dc:creator>
		<pubDate>Wed, 09 Nov 2011 22:12:00 +0000</pubDate>
		<guid isPermaLink="false">http://bloke.org/?p=339#comment-2624</guid>
		<description>I don&#039;t have shell scripting access on my host. Any other way to dynamically wrap a header around phpbb would be helpful!</description>
		<content:encoded><![CDATA[<p>I don&#8217;t have shell scripting access on my host. Any other way to dynamically wrap a header around phpbb would be helpful!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Reusando el header y footer de wordpress en aplicaciones externas</title>
		<link>http://bloke.org/php/using-wordpress-header-and-footers-externally/#comment-2472</link>
		<dc:creator>Reusando el header y footer de wordpress en aplicaciones externas</dc:creator>
		<pubDate>Wed, 20 Jul 2011 05:05:36 +0000</pubDate>
		<guid isPermaLink="false">http://bloke.org/?p=339#comment-2472</guid>
		<description>[...] http://bloke.org/php/using-wordpress-header-and-footers-externally/  Saludos, Jose R. Lopez    :cli, footer, header, include, integracion, pear, php, smarty, whmcs, wordpress, wrapper [...]</description>
		<content:encoded><![CDATA[<p>[...] <a href="http://bloke.org/php/using-wordpress-header-and-footers-externally/" rel="nofollow">http://bloke.org/php/using-wordpress-header-and-footers-externally/</a>  Saludos, Jose R. Lopez    :cli, footer, header, include, integracion, pear, php, smarty, whmcs, wordpress, wrapper [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rosetta Online Store</title>
		<link>http://bloke.org/php/using-wordpress-header-and-footers-externally/#comment-2445</link>
		<dc:creator>Rosetta Online Store</dc:creator>
		<pubDate>Sun, 17 Jul 2011 23:28:42 +0000</pubDate>
		<guid isPermaLink="false">http://bloke.org/?p=339#comment-2445</guid>
		<description>I am sorry,   
  
this variant does not approach me.</description>
		<content:encoded><![CDATA[<p>I am sorry,   </p>
<p>this variant does not approach me.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: david</title>
		<link>http://bloke.org/php/using-wordpress-header-and-footers-externally/#comment-2339</link>
		<dc:creator>david</dc:creator>
		<pubDate>Thu, 02 Jun 2011 18:51:54 +0000</pubDate>
		<guid isPermaLink="false">http://bloke.org/?p=339#comment-2339</guid>
		<description>Hi

has anyone worked out an answer to this.
Im still struggling. would like to find a way besides for saving the website as html via a browser and then including the html file with the wordpress css.
Need to do this from another server.

Please advise

Thanks

www.pcnetwork.co.za
www.networkcabling.co.za</description>
		<content:encoded><![CDATA[<p>Hi</p>
<p>has anyone worked out an answer to this.<br />
Im still struggling. would like to find a way besides for saving the website as html via a browser and then including the html file with the wordpress css.<br />
Need to do this from another server.</p>
<p>Please advise</p>
<p>Thanks</p>
<p><a href="http://www.pcnetwork.co.za" rel="nofollow">http://www.pcnetwork.co.za</a><br />
<a href="http://www.networkcabling.co.za" rel="nofollow">http://www.networkcabling.co.za</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: HostingBest.co.uk</title>
		<link>http://bloke.org/php/using-wordpress-header-and-footers-externally/#comment-2230</link>
		<dc:creator>HostingBest.co.uk</dc:creator>
		<pubDate>Sat, 30 Apr 2011 08:24:41 +0000</pubDate>
		<guid isPermaLink="false">http://bloke.org/?p=339#comment-2230</guid>
		<description>Thanks for the tutorial, im using it to integrate my WP site with a hosting control panel</description>
		<content:encoded><![CDATA[<p>Thanks for the tutorial, im using it to integrate my WP site with a hosting control panel</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: david</title>
		<link>http://bloke.org/php/using-wordpress-header-and-footers-externally/#comment-1984</link>
		<dc:creator>david</dc:creator>
		<pubDate>Mon, 31 Jan 2011 20:00:52 +0000</pubDate>
		<guid isPermaLink="false">http://bloke.org/?p=339#comment-1984</guid>
		<description>hi there,

im trying to make a normal php file include the wordpress header and footer so it looks like part of a site.

i created a test.php file on www.pcnetwork.co.za as follows:

&lt;?php
require(&#039;./wp-blog-header.php&#039;);
get_header();
print &quot;hello&quot;;
print &quot;&quot;;
print &quot;&quot;;
get_footer()
?&gt;

works perfectly
but i want to do this from a external server so i changed the path to the path of the server eg
include(&#039;http://www.pcnetwork.co.za/wp-blog-header.php&#039;);

this however throws an error:

Warning: include(http://www.pcnetwork.co.za/wp-blog-header.php) [function.include]: failed to open stream: HTTP request failed! HTTP/1.1 404 Not Found in /var/www/intranet/test/test.php on line 12

Warning: include() [function.include]: Failed opening &#039;http://www.pcnetwork.co.za/wp-blog-header.php&#039; for inclusion (include_path=&#039;.:/usr/share/php:/usr/share/pear&#039;) in /var/www/intranet/test/test.php on line 12

Fatal error: Call to undefined function get_header() in /var/www/intranet/test/test.php on line 13


ANY suggestions would be great.

thanks.

David.</description>
		<content:encoded><![CDATA[<p>hi there,</p>
<p>im trying to make a normal php file include the wordpress header and footer so it looks like part of a site.</p>
<p>i created a test.php file on <a href="http://www.pcnetwork.co.za" rel="nofollow">http://www.pcnetwork.co.za</a> as follows:</p>
<p>&lt;?php<br />
require(&#039;./wp-blog-header.php&#039;);<br />
get_header();<br />
print &quot;hello&quot;;<br />
print &quot;&#8221;;<br />
print &#8220;&#8221;;<br />
get_footer()<br />
?&gt;</p>
<p>works perfectly<br />
but i want to do this from a external server so i changed the path to the path of the server eg<br />
include(&#8216;<a href="http://www.pcnetwork.co.za/wp-blog-header.php" rel="nofollow">http://www.pcnetwork.co.za/wp-blog-header.php</a>&#8216;);</p>
<p>this however throws an error:</p>
<p>Warning: include(http://www.pcnetwork.co.za/wp-blog-header.php) [function.include]: failed to open stream: HTTP request failed! HTTP/1.1 404 Not Found in /var/www/intranet/test/test.php on line 12</p>
<p>Warning: include() [function.include]: Failed opening &#8216;<a href="http://www.pcnetwork.co.za/wp-blog-header.php" rel="nofollow">http://www.pcnetwork.co.za/wp-blog-header.php</a>&#8216; for inclusion (include_path=&#8217;.:/usr/share/php:/usr/share/pear&#8217;) in /var/www/intranet/test/test.php on line 12</p>
<p>Fatal error: Call to undefined function get_header() in /var/www/intranet/test/test.php on line 13</p>
<p>ANY suggestions would be great.</p>
<p>thanks.</p>
<p>David.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jake</title>
		<link>http://bloke.org/php/using-wordpress-header-and-footers-externally/#comment-1970</link>
		<dc:creator>Jake</dc:creator>
		<pubDate>Mon, 27 Dec 2010 22:33:09 +0000</pubDate>
		<guid isPermaLink="false">http://bloke.org/?p=339#comment-1970</guid>
		<description>i have an issue thats taking me too long to figure out..

i have installed wp &quot; siteroot/blog&quot;
i&#039;m trying to change the &quot;php get footer&quot; on the bottom of the wp index.php to instead link to a footer.php i&#039;m using throught my entire site which is located on the root of my main site
eg 
      
/blog
/images
/myheader.php
/myindex.php
/myfooter.php

Ive tried &quot;&quot;
and also tried it as an absolute link.. doesnt work</description>
		<content:encoded><![CDATA[<p>i have an issue thats taking me too long to figure out..</p>
<p>i have installed wp &#8221; siteroot/blog&#8221;<br />
i&#8217;m trying to change the &#8220;php get footer&#8221; on the bottom of the wp index.php to instead link to a footer.php i&#8217;m using throught my entire site which is located on the root of my main site<br />
eg </p>
<p>/blog<br />
/images<br />
/myheader.php<br />
/myindex.php<br />
/myfooter.php</p>
<p>Ive tried &#8220;&#8221;<br />
and also tried it as an absolute link.. doesnt work</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Quang cao Google</title>
		<link>http://bloke.org/php/using-wordpress-header-and-footers-externally/#comment-1341</link>
		<dc:creator>Quang cao Google</dc:creator>
		<pubDate>Fri, 10 Sep 2010 15:07:40 +0000</pubDate>
		<guid isPermaLink="false">http://bloke.org/?p=339#comment-1341</guid>
		<description>Thanks so much !</description>
		<content:encoded><![CDATA[<p>Thanks so much !</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jon Payne</title>
		<link>http://bloke.org/php/using-wordpress-header-and-footers-externally/#comment-1332</link>
		<dc:creator>Jon Payne</dc:creator>
		<pubDate>Tue, 24 Aug 2010 18:36:45 +0000</pubDate>
		<guid isPermaLink="false">http://bloke.org/?p=339#comment-1332</guid>
		<description>http://wordpress.org/extend/plugins/templatesync/

There you go people; Its a half way house. It stops you from iframing, and when used correctly, you have a one click update to sync the headers and footers.

WP 3.0.1 compatible. 

It is NOT plug and play - you&#039;ll stil need toget your hands dirty.</description>
		<content:encoded><![CDATA[<p><a href="http://wordpress.org/extend/plugins/templatesync/" rel="nofollow">http://wordpress.org/extend/plugins/templatesync/</a></p>
<p>There you go people; Its a half way house. It stops you from iframing, and when used correctly, you have a one click update to sync the headers and footers.</p>
<p>WP 3.0.1 compatible. </p>
<p>It is NOT plug and play &#8211; you&#8217;ll stil need toget your hands dirty.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

