<?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: Thesis Tutorial &#8211; Advanced Ad Targeting</title>
	<atom:link href="http://www.sugarrae.com/thesis-tutorial-advanced-ad-targeting/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.sugarrae.com/thesis-tutorial-advanced-ad-targeting/</link>
	<description>Never Mess With a Woman Who Can Pull Rank</description>
	<lastBuildDate>Tue, 12 Jan 2010 20:10:47 -0600</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.5</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
	<item>
		<title>By: sashahawke</title>
		<link>http://www.sugarrae.com/thesis-tutorial-advanced-ad-targeting/#comment-80245</link>
		<dc:creator>sashahawke</dc:creator>
		<pubDate>Thu, 09 Apr 2009 15:52:25 +0000</pubDate>
		<guid isPermaLink="false">http://www.sugarrae.com/?p=2344#comment-80245</guid>
		<description>Thanks Rae! 

I&#039;ll definitely look into Thesis, it seems like a really good theme. I really like the idea of dynamic adsense sidebars.</description>
		<content:encoded><![CDATA[<p>Thanks Rae! </p>
<p>I&#8217;ll definitely look into Thesis, it seems like a really good theme. I really like the idea of dynamic adsense sidebars.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rae Hoffman</title>
		<link>http://www.sugarrae.com/thesis-tutorial-advanced-ad-targeting/#comment-79771</link>
		<dc:creator>Rae Hoffman</dc:creator>
		<pubDate>Mon, 02 Feb 2009 13:50:12 +0000</pubDate>
		<guid isPermaLink="false">http://www.sugarrae.com/?p=2344#comment-79771</guid>
		<description>Personally, lately, if my sidebar requires PHP, I do it via a hook.</description>
		<content:encoded><![CDATA[<p>Personally, lately, if my sidebar requires PHP, I do it via a hook.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: john</title>
		<link>http://www.sugarrae.com/thesis-tutorial-advanced-ad-targeting/#comment-79766</link>
		<dc:creator>john</dc:creator>
		<pubDate>Sun, 01 Feb 2009 16:04:08 +0000</pubDate>
		<guid isPermaLink="false">http://www.sugarrae.com/?p=2344#comment-79766</guid>
		<description>I&#039;m wondering if it is preferable to use a Widget or a Hook to display an adsense sidebar ad that requires some PHP to generate a custom channel ID.  I have it working in a widget utilizing the widget that allows PHP processing, so it is working but I&#039;m just wondering if doing this in a widget is the best approach and whether I would be better off doing it in a hook.

Thanks</description>
		<content:encoded><![CDATA[<p>I&#8217;m wondering if it is preferable to use a Widget or a Hook to display an adsense sidebar ad that requires some PHP to generate a custom channel ID.  I have it working in a widget utilizing the widget that allows PHP processing, so it is working but I&#8217;m just wondering if doing this in a widget is the best approach and whether I would be better off doing it in a hook.</p>
<p>Thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: John H. Farr</title>
		<link>http://www.sugarrae.com/thesis-tutorial-advanced-ad-targeting/#comment-79759</link>
		<dc:creator>John H. Farr</dc:creator>
		<pubDate>Sun, 01 Feb 2009 07:55:04 +0000</pubDate>
		<guid isPermaLink="false">http://www.sugarrae.com/?p=2344#comment-79759</guid>
		<description>Excellent! I see how this targeting works for categories. Can I do the same thing with tags, though?

I&#039;d like a specific image to appear in the multimedia box for all posts of a certain &lt;em&gt;tag,&lt;/em&gt; in other words, so could I just substitute &quot;tag&quot; and &quot;tags&quot; for &quot;category&quot; and &quot;categories&quot; in the above examples? 

Please say yes. :-)</description>
		<content:encoded><![CDATA[<p>Excellent! I see how this targeting works for categories. Can I do the same thing with tags, though?</p>
<p>I&#8217;d like a specific image to appear in the multimedia box for all posts of a certain <em>tag,</em> in other words, so could I just substitute &#8220;tag&#8221; and &#8220;tags&#8221; for &#8220;category&#8221; and &#8220;categories&#8221; in the above examples? </p>
<p>Please say yes. :-)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chris Mitchell</title>
		<link>http://www.sugarrae.com/thesis-tutorial-advanced-ad-targeting/#comment-79749</link>
		<dc:creator>Chris Mitchell</dc:creator>
		<pubDate>Sat, 31 Jan 2009 04:13:35 +0000</pubDate>
		<guid isPermaLink="false">http://www.sugarrae.com/?p=2344#comment-79749</guid>
		<description>works like a charm Rae - thanks!</description>
		<content:encoded><![CDATA[<p>works like a charm Rae &#8211; thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rae Hoffman</title>
		<link>http://www.sugarrae.com/thesis-tutorial-advanced-ad-targeting/#comment-79745</link>
		<dc:creator>Rae Hoffman</dc:creator>
		<pubDate>Sat, 31 Jan 2009 00:42:54 +0000</pubDate>
		<guid isPermaLink="false">http://www.sugarrae.com/?p=2344#comment-79745</guid>
		<description>Hey Chris,

Just remove this part ONLY:

&lt;blockquote&gt;function thesis_get_categories() {
$raw_categories = &amp;get_categories(&#039;type=post&#039;);

if ($raw_categories) {
$categories = array();

foreach ($raw_categories as $category)
$categories[$category - &gt;slug] = $category - &gt;cat_ID;

return $categories;
}
}&lt;/blockquote&gt;

From the code YOU put into your custom functions file. Pearson built this function into Thesis 1.4, so the error your getting is simply complaining that your defining something in your code that is NOW, as of 1.4, predefined. :)</description>
		<content:encoded><![CDATA[<p>Hey Chris,</p>
<p>Just remove this part ONLY:</p>
<blockquote><p>function thesis_get_categories() {<br />
$raw_categories = &#038;get_categories(&#8217;type=post&#8217;);</p>
<p>if ($raw_categories) {<br />
$categories = array();</p>
<p>foreach ($raw_categories as $category)<br />
$categories[$category - >slug] = $category &#8211; >cat_ID;</p>
<p>return $categories;<br />
}<br />
}</p></blockquote>
<p>From the code YOU put into your custom functions file. Pearson built this function into Thesis 1.4, so the error your getting is simply complaining that your defining something in your code that is NOW, as of 1.4, predefined. :)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chris Mitchell</title>
		<link>http://www.sugarrae.com/thesis-tutorial-advanced-ad-targeting/#comment-79741</link>
		<dc:creator>Chris Mitchell</dc:creator>
		<pubDate>Fri, 30 Jan 2009 18:08:57 +0000</pubDate>
		<guid isPermaLink="false">http://www.sugarrae.com/?p=2344#comment-79741</guid>
		<description>Hi Rae - have you played with Thesis 1.4.1 yet?  It seems to break your custom function code -- I had it working perfectly on Thesis 1.3.3 but with the upgrade I got this error

Fatal error: Cannot redeclare thesis_get_categories() (previously declared in //wp-content/themes/thesis/lib/functions/content_functions.php:174) in //wp-content/themes/thesis/custom/custom_functions.php on line 48

Line 48 refers to the 
return $categories;
}
}

part of the code. 

If you have time to offer any insight, that would be great - and thankyou for the awesome Thesis tutorials.

Best
Chris</description>
		<content:encoded><![CDATA[<p>Hi Rae &#8211; have you played with Thesis 1.4.1 yet?  It seems to break your custom function code &#8212; I had it working perfectly on Thesis 1.3.3 but with the upgrade I got this error</p>
<p>Fatal error: Cannot redeclare thesis_get_categories() (previously declared in //wp-content/themes/thesis/lib/functions/content_functions.php:174) in //wp-content/themes/thesis/custom/custom_functions.php on line 48</p>
<p>Line 48 refers to the<br />
return $categories;<br />
}<br />
}</p>
<p>part of the code. </p>
<p>If you have time to offer any insight, that would be great &#8211; and thankyou for the awesome Thesis tutorials.</p>
<p>Best<br />
Chris</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Deb</title>
		<link>http://www.sugarrae.com/thesis-tutorial-advanced-ad-targeting/#comment-79607</link>
		<dc:creator>Deb</dc:creator>
		<pubDate>Thu, 22 Jan 2009 10:08:19 +0000</pubDate>
		<guid isPermaLink="false">http://www.sugarrae.com/?p=2344#comment-79607</guid>
		<description>Good looking theme, but much too geeky. All I see are instructions about hooks and code everywhere.  I already know more PHP than  I ever wanted. Whatever happened to drag and drop?</description>
		<content:encoded><![CDATA[<p>Good looking theme, but much too geeky. All I see are instructions about hooks and code everywhere.  I already know more PHP than  I ever wanted. Whatever happened to drag and drop?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: han</title>
		<link>http://www.sugarrae.com/thesis-tutorial-advanced-ad-targeting/#comment-79420</link>
		<dc:creator>han</dc:creator>
		<pubDate>Wed, 14 Jan 2009 06:24:09 +0000</pubDate>
		<guid isPermaLink="false">http://www.sugarrae.com/?p=2344#comment-79420</guid>
		<description>Great post! One question though. How do you use the custom key option on the specific page or post? And if possible, can I ask  how did you put different custom messages in each different categories? I really like how you put it. Thanks!</description>
		<content:encoded><![CDATA[<p>Great post! One question though. How do you use the custom key option on the specific page or post? And if possible, can I ask  how did you put different custom messages in each different categories? I really like how you put it. Thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Axekap expertise</title>
		<link>http://www.sugarrae.com/thesis-tutorial-advanced-ad-targeting/#comment-79369</link>
		<dc:creator>Axekap expertise</dc:creator>
		<pubDate>Mon, 12 Jan 2009 14:28:41 +0000</pubDate>
		<guid isPermaLink="false">http://www.sugarrae.com/?p=2344#comment-79369</guid>
		<description>Looking for a professional theme for a new wordpress , just found thesis and your article. Given the quality of design and the numerous ways
of customizing, think we are also going to use it ... thanks to all these great explanations on hooks !</description>
		<content:encoded><![CDATA[<p>Looking for a professional theme for a new wordpress , just found thesis and your article. Given the quality of design and the numerous ways<br />
of customizing, think we are also going to use it &#8230; thanks to all these great explanations on hooks !</p>
]]></content:encoded>
	</item>
</channel>
</rss>
