<?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: Smarter Hooks</title>
	<atom:link href="http://ptahdunbar.com/wordpress/smarter-hooks/feed/" rel="self" type="application/rss+xml" />
	<link>http://ptahdunbar.com/wordpress/smarter-hooks/</link>
	<description>Web Craftsman, WordPress hacker and Entrepreneur.</description>
	<lastBuildDate>Tue, 16 Feb 2010 19:17:03 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
	<item>
		<title>By: Ozh</title>
		<link>http://ptahdunbar.com/wordpress/smarter-hooks/#comment-4458</link>
		<dc:creator>Ozh</dc:creator>
		<pubDate>Thu, 02 Jul 2009 12:19:27 +0000</pubDate>
		<guid isPermaLink="false">http://ptahdunbar.com/?p=763#comment-4458</guid>
		<description>Yeah, was going to bitch about this :)
You&#039;d need to be able to do something like do_atomic(&#039;footer&#039;, &#039;after&#039;)

But, all in all, I&#039;m not sure this makes better code: theme_before_footer() and theme_after_header() might be more readable than do_atomic(&#039;footer&#039;, &#039;before&#039;). I like code when it looks like natural language, sort of.</description>
		<content:encoded><![CDATA[<p>Yeah, was going to bitch about this <img src='http://ptahdunbar.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /><br />
You&#8217;d need to be able to do something like do_atomic(&#8216;footer&#8217;, &#8216;after&#8217;)</p>
<p>But, all in all, I&#8217;m not sure this makes better code: theme_before_footer() and theme_after_header() might be more readable than do_atomic(&#8216;footer&#8217;, &#8216;before&#8217;). I like code when it looks like natural language, sort of.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ptah Dunbar</title>
		<link>http://ptahdunbar.com/wordpress/smarter-hooks/#comment-4457</link>
		<dc:creator>Ptah Dunbar</dc:creator>
		<pubDate>Thu, 02 Jul 2009 05:30:48 +0000</pubDate>
		<guid isPermaLink="false">http://ptahdunbar.com/?p=763#comment-4457</guid>
		<description>Good catch. &lt;code&gt;$tag&lt;/code&gt; was &lt;code&gt;$location&lt;/code&gt; before i pasted this code on my blog. updated.

I get what your saying about the container element. &lt;code&gt;do_atomic&lt;/code&gt; could have a second parameter where if used, could surround the main hook location with a container div element or so.</description>
		<content:encoded><![CDATA[<p>Good catch. <code>$tag</code> was <code>$location</code> before i pasted this code on my blog. updated.</p>
<p>I get what your saying about the container element. <code>do_atomic</code> could have a second parameter where if used, could surround the main hook location with a container div element or so.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dan Cole</title>
		<link>http://ptahdunbar.com/wordpress/smarter-hooks/#comment-4455</link>
		<dc:creator>Dan Cole</dc:creator>
		<pubDate>Thu, 02 Jul 2009 03:23:24 +0000</pubDate>
		<guid isPermaLink="false">http://ptahdunbar.com/?p=763#comment-4455</guid>
		<description>I like the idea a lot, it does make things simpler, but I do have one thing against it. I think theme developers started using before and after because they wrapped a div tag around the element location, instead of going with a container or parent element hook and then attaching each child element with a priority. (Sorry for being vague) How would you suggest Thematic or Hybrid use this? Because they don&#039;t have three hooks in a row, but rather a div tag wrapping the middle one. Should this function also add the div too? Maybe your next post will give some insight into this.

BTW, check out: &lt;code&gt;if ( !isset($tag) ) return;&lt;/code&gt;, &lt;b&gt;$tag&lt;/b&gt; should be &lt;b&gt;$location&lt;/b&gt;.</description>
		<content:encoded><![CDATA[<p>I like the idea a lot, it does make things simpler, but I do have one thing against it. I think theme developers started using before and after because they wrapped a div tag around the element location, instead of going with a container or parent element hook and then attaching each child element with a priority. (Sorry for being vague) How would you suggest Thematic or Hybrid use this? Because they don&#8217;t have three hooks in a row, but rather a div tag wrapping the middle one. Should this function also add the div too? Maybe your next post will give some insight into this.</p>
<p>BTW, check out: <code>if ( !isset($tag) ) return;</code>, <b>$tag</b> should be <b>$location</b>.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Small Potato</title>
		<link>http://ptahdunbar.com/wordpress/smarter-hooks/#comment-4449</link>
		<dc:creator>Small Potato</dc:creator>
		<pubDate>Wed, 01 Jul 2009 17:14:50 +0000</pubDate>
		<guid isPermaLink="false">http://ptahdunbar.com/?p=763#comment-4449</guid>
		<description>if you keep publishing posts like this, i might have to subscribe. i don&#039;t code anymore, but i&#039;m trying to keep up with the codes to work my designs around them.</description>
		<content:encoded><![CDATA[<p>if you keep publishing posts like this, i might have to subscribe. i don&#8217;t code anymore, but i&#8217;m trying to keep up with the codes to work my designs around them.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
