<?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 for Chris Carvache</title>
	<atom:link href="http://chriscarvache.com/comments/feed/" rel="self" type="application/rss+xml" />
	<link>http://chriscarvache.com</link>
	<description>Home of Computer Nerd Chris Carvache</description>
	<lastBuildDate>Mon, 16 Apr 2012 13:01:47 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
	<item>
		<title>Comment on Enhanced Header / Footer Injections by Chris Carvache</title>
		<link>http://chriscarvache.com/my-work/wordpress-stuff/enhanced-header-footer-injections/#comment-47</link>
		<dc:creator>Chris Carvache</dc:creator>
		<pubDate>Mon, 16 Apr 2012 13:01:47 +0000</pubDate>
		<guid isPermaLink="false">http://development.chriscarvache.com/?page_id=732#comment-47</guid>
		<description>A good suggestion but, you more than likely can already do that.  Depending on the theme you&#039;re using, there should be a fair amount of action hooks in it that would let you accomplish just that.  All you&#039;d do is hook up a function to the hook and you&#039;re set!  The code inside your action hook would look something along the lines of this...

&lt;code&gt;
add_action (&#039;my_themes_action_hook_name&#039;, &#039;my_function&#039;);
function my_function() {
        // put your code here!
}
&lt;/code&gt;</description>
		<content:encoded><![CDATA[<p>A good suggestion but, you more than likely can already do that.  Depending on the theme you&#8217;re using, there should be a fair amount of action hooks in it that would let you accomplish just that.  All you&#8217;d do is hook up a function to the hook and you&#8217;re set!  The code inside your action hook would look something along the lines of this&#8230;</p>
<p><code><br />
add_action ('my_themes_action_hook_name', 'my_function');<br />
function my_function() {<br />
        // put your code here!<br />
}<br />
</code></p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Enhanced Header / Footer Injections by Olivier</title>
		<link>http://chriscarvache.com/my-work/wordpress-stuff/enhanced-header-footer-injections/#comment-46</link>
		<dc:creator>Olivier</dc:creator>
		<pubDate>Tue, 10 Apr 2012 03:59:04 +0000</pubDate>
		<guid isPermaLink="false">http://development.chriscarvache.com/?page_id=732#comment-46</guid>
		<description>Hey hey,

Sorry for my delayed reply, was distracted by easter etc :)
Hope u had a nice easter btw!

Turns out it was as simple as that, the theme im using didnt make any use of wp_footer(); do&#039;h!

And, while your right about the intended use, im kinda forced to use it otherwise (a customer that insists on a custom header and footer each page, using your plugin and some trickery to add the wordpress editor on the textareas)

As a matter of fact, could you maybe make another plugin, or a update to this one, it doesnt have to actually be much different, it would just be nice if it was possible to add some custom function calls in the theme (wp_ehfi_header() &amp; wp_ehfi_footer()) and use your plugin like its intended :)

Just a thought, thanks a bunch for what u have now, even if im using it completely wrong, it does exactly what i need :P

Best regards,
Olivier</description>
		<content:encoded><![CDATA[<p>Hey hey,</p>
<p>Sorry for my delayed reply, was distracted by easter etc <img src='http://chriscarvache.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /><br />
Hope u had a nice easter btw!</p>
<p>Turns out it was as simple as that, the theme im using didnt make any use of wp_footer(); do&#8217;h!</p>
<p>And, while your right about the intended use, im kinda forced to use it otherwise (a customer that insists on a custom header and footer each page, using your plugin and some trickery to add the wordpress editor on the textareas)</p>
<p>As a matter of fact, could you maybe make another plugin, or a update to this one, it doesnt have to actually be much different, it would just be nice if it was possible to add some custom function calls in the theme (wp_ehfi_header() &amp; wp_ehfi_footer()) and use your plugin like its intended <img src='http://chriscarvache.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Just a thought, thanks a bunch for what u have now, even if im using it completely wrong, it does exactly what i need <img src='http://chriscarvache.com/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' /> </p>
<p>Best regards,<br />
Olivier</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Enhanced Header / Footer Injections by Chris Carvache</title>
		<link>http://chriscarvache.com/my-work/wordpress-stuff/enhanced-header-footer-injections/#comment-45</link>
		<dc:creator>Chris Carvache</dc:creator>
		<pubDate>Fri, 06 Apr 2012 11:59:07 +0000</pubDate>
		<guid isPermaLink="false">http://development.chriscarvache.com/?page_id=732#comment-45</guid>
		<description>Also the point of the plugin is to add code inside the &lt;head&gt; tags in your code and right before the end of the page, usually right before the &lt;/body&gt; tag. Its not intended to add HTML code but &lt;link&gt; and &lt;script&gt; codes.</description>
		<content:encoded><![CDATA[<p>Also the point of the plugin is to add code inside the <head> tags in your code and right before the end of the page, usually right before the  tag. Its not intended to add HTML code but
<link> and <script> codes.</script></link></head></p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Enhanced Header / Footer Injections by Chris Carvache</title>
		<link>http://chriscarvache.com/my-work/wordpress-stuff/enhanced-header-footer-injections/#comment-44</link>
		<dc:creator>Chris Carvache</dc:creator>
		<pubDate>Fri, 06 Apr 2012 11:55:35 +0000</pubDate>
		<guid isPermaLink="false">http://development.chriscarvache.com/?page_id=732#comment-44</guid>
		<description>Do you have the wp_footer(); code in the footer.PHP file?</description>
		<content:encoded><![CDATA[<p>Do you have the wp_footer(); code in the footer.PHP file?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Enhanced Header / Footer Injections by Olivier</title>
		<link>http://chriscarvache.com/my-work/wordpress-stuff/enhanced-header-footer-injections/#comment-43</link>
		<dc:creator>Olivier</dc:creator>
		<pubDate>Fri, 06 Apr 2012 11:42:27 +0000</pubDate>
		<guid isPermaLink="false">http://development.chriscarvache.com/?page_id=732#comment-43</guid>
		<description>Heys,

Im trying to use this plugin, but for some reason none of the footers work, could you describe whats needed in the theme? i do have a footer.php but ehfi doesnt seem to pick up on it, whatever i try.

Or do i need to set that &quot;Footer Code&quot; from the config? and how do i use that in the theme then???
Btw if it is that &quot;Footer Code&quot; thing i found a minute bug, when i just enable ehfi for pages i dont get the tabbed config at the bottom, and cant add any &quot;Footer Code&quot;, but if i enable ehfi for both pages and posts i get the tabbed config for the two?

Im confused, i was thinking this plugin is to add &#039;footer&#039; and &#039;header&#039; code to the site, where it depends on the theme what &#039;footer&#039; and &#039;header&#039; actually are? Am i wrong? or just doing it wrong?

Thanks in advance,
Olivier</description>
		<content:encoded><![CDATA[<p>Heys,</p>
<p>Im trying to use this plugin, but for some reason none of the footers work, could you describe whats needed in the theme? i do have a footer.php but ehfi doesnt seem to pick up on it, whatever i try.</p>
<p>Or do i need to set that &#8220;Footer Code&#8221; from the config? and how do i use that in the theme then???<br />
Btw if it is that &#8220;Footer Code&#8221; thing i found a minute bug, when i just enable ehfi for pages i dont get the tabbed config at the bottom, and cant add any &#8220;Footer Code&#8221;, but if i enable ehfi for both pages and posts i get the tabbed config for the two?</p>
<p>Im confused, i was thinking this plugin is to add &#8216;footer&#8217; and &#8216;header&#8217; code to the site, where it depends on the theme what &#8216;footer&#8217; and &#8216;header&#8217; actually are? Am i wrong? or just doing it wrong?</p>
<p>Thanks in advance,<br />
Olivier</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on WordPress Plugin Activation Email by Douglas Redding</title>
		<link>http://chriscarvache.com/2011-06/web-design-development/wordpress-plugin-activation-email/#comment-35</link>
		<dc:creator>Douglas Redding</dc:creator>
		<pubDate>Sun, 03 Jul 2011 18:22:35 +0000</pubDate>
		<guid isPermaLink="false">http://development.newleafwebsolutions.com/?p=260#comment-35</guid>
		<description>This is great stuff!!</description>
		<content:encoded><![CDATA[<p>This is great stuff!!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on WordPress Plugin Activation Email by New Leaf Web Solutions</title>
		<link>http://chriscarvache.com/2011-06/web-design-development/wordpress-plugin-activation-email/#comment-34</link>
		<dc:creator>New Leaf Web Solutions</dc:creator>
		<pubDate>Sun, 03 Jul 2011 18:19:23 +0000</pubDate>
		<guid isPermaLink="false">http://development.newleafwebsolutions.com/?p=260#comment-34</guid>
		<description>This is a great idea... Thanks for sharing this and helping me to increase my marketing efforts!</description>
		<content:encoded><![CDATA[<p>This is a great idea&#8230; Thanks for sharing this and helping me to increase my marketing efforts!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Using Session Variables and Domain Aliases to Change the WordPress URL by Gregory Cox</title>
		<link>http://chriscarvache.com/2011-03/wordpress/using-session-variables-and-domain-aliases-to-change-the-wordpress-url/#comment-33</link>
		<dc:creator>Gregory Cox</dc:creator>
		<pubDate>Mon, 21 Mar 2011 18:55:59 +0000</pubDate>
		<guid isPermaLink="false">http://chriscarvache.com/?p=325#comment-33</guid>
		<description>Thank you, Chris! You rock. I am definitely going to use that.... :)</description>
		<content:encoded><![CDATA[<p>Thank you, Chris! You rock. I am definitely going to use that&#8230;. <img src='http://chriscarvache.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Using Session Variables and Domain Aliases to Change the WordPress URL by designfloat.com</title>
		<link>http://chriscarvache.com/2011-03/wordpress/using-session-variables-and-domain-aliases-to-change-the-wordpress-url/#comment-32</link>
		<dc:creator>designfloat.com</dc:creator>
		<pubDate>Thu, 17 Mar 2011 00:52:21 +0000</pubDate>
		<guid isPermaLink="false">http://chriscarvache.com/?p=325#comment-32</guid>
		<description>&lt;strong&gt;Using Session Variables and Domain Aliases to Change the Wordpress URL...&lt;/strong&gt;

Learn how to change the Wordpress URL using session variables, constants, and domain aliases. Use this technique to enable unique functionality based on entrance URL and to also keep site-wide links rewriting themselves correctly....</description>
		<content:encoded><![CDATA[<p><strong>Using Session Variables and Domain Aliases to Change the WordPress URL&#8230;</strong></p>
<p>Learn how to change the WordPress URL using session variables, constants, and domain aliases. Use this technique to enable unique functionality based on entrance URL and to also keep site-wide links rewriting themselves correctly&#8230;.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Using Session Variables and Domain Aliases to Change the WordPress URL by Chris Carvache</title>
		<link>http://chriscarvache.com/2011-03/wordpress/using-session-variables-and-domain-aliases-to-change-the-wordpress-url/#comment-31</link>
		<dc:creator>Chris Carvache</dc:creator>
		<pubDate>Wed, 16 Mar 2011 23:45:59 +0000</pubDate>
		<guid isPermaLink="false">http://chriscarvache.com/?p=325#comment-31</guid>
		<description>Absolutely!  To keep the code simple I would use a 24 hour format to accomplish this.  It would look like something like this:

&lt;code&gt;
/**
 * This is the current hour on your server.
 * Make sure this is correct!!
 */
$theCurrentHour = date(&#039;G&#039;);

/**
 * Now we test to see what we should
 * set the session variable to.
 */
if ( ($theCurrentHour &gt;= 8) &amp;&amp; ($theCurrentHour &lt; 12) ) {
	$_SESSION(&#039;myURL&#039;) = &#039;http://mysite.com/111&#039;;
}

elseif ( ($theCurrentHour &gt;= 12) &amp;&amp; ($theCurrentHour &lt; 16) ) {
	$_SESSION(&#039;myURL&#039;) = &#039;http://mysite.com/222&#039;;
}

/**
 * This is a catch-all
 */
else {
	$_SESSION(&#039;myURL&#039;) = &#039;http://mysite.com/imnowhereman&#039;;
}
&lt;/code&gt;</description>
		<content:encoded><![CDATA[<p>Absolutely!  To keep the code simple I would use a 24 hour format to accomplish this.  It would look like something like this:</p>
<p><code><br />
/**<br />
 * This is the current hour on your server.<br />
 * Make sure this is correct!!<br />
 */<br />
$theCurrentHour = date('G');</p>
<p>/**<br />
 * Now we test to see what we should<br />
 * set the session variable to.<br />
 */<br />
if ( ($theCurrentHour >= <img src='http://chriscarvache.com/wp-includes/images/smilies/icon_cool.gif' alt='8)' class='wp-smiley' /> &#038;&#038; ($theCurrentHour < 12) ) {<br />
	$_SESSION('myURL') = 'http://mysite.com/111';<br />
}</p>
<p>elseif ( ($theCurrentHour >= 12) &#038;&#038; ($theCurrentHour < 16) ) {<br />
	$_SESSION('myURL') = 'http://mysite.com/222';<br />
}</p>
<p>/**<br />
 * This is a catch-all<br />
 */<br />
else {<br />
	$_SESSION('myURL') = 'http://mysite.com/imnowhereman';<br />
}<br />
</code></code></p>
]]></content:encoded>
	</item>
</channel>
</rss>

