<?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: How To: Conditional Display of AdSense in WordPress</title>
	<atom:link href="http://www.bloghash.com/2006/11/conditional-display-of-adsense-in-wordpress/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.bloghash.com/2006/11/conditional-display-of-adsense-in-wordpress/</link>
	<description>Blogging on Software Reviews, Hardware, Downloads, Technology, Search Engines, AdSense, AdWords, Firefox, Windows, HowTo, Tips and Tricks, SEO, programming and web 2.0</description>
	<lastBuildDate>Mon, 14 Jun 2010 11:23:07 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
	<item>
		<title>By: Raj</title>
		<link>http://www.bloghash.com/2006/11/conditional-display-of-adsense-in-wordpress/comment-page-1/#comment-6843</link>
		<dc:creator>Raj</dc:creator>
		<pubDate>Sun, 19 Aug 2007 09:53:52 +0000</pubDate>
		<guid isPermaLink="false">http://www.bloghash.com/2006/11/conditional-display-of-adsense-in-wordpress/#comment-6843</guid>
		<description>Alex,
In the past I had a 160x600 ad unit on the right of the post but that did not perform well. After experimenting with ad units at different places, I found the current placement to be best performing so far.</description>
		<content:encoded><![CDATA[<p>Alex,<br />
In the past I had a 160&#215;600 ad unit on the right of the post but that did not perform well. After experimenting with ad units at different places, I found the current placement to be best performing so far.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alex</title>
		<link>http://www.bloghash.com/2006/11/conditional-display-of-adsense-in-wordpress/comment-page-1/#comment-6835</link>
		<dc:creator>Alex</dc:creator>
		<pubDate>Sat, 18 Aug 2007 17:52:10 +0000</pubDate>
		<guid isPermaLink="false">http://www.bloghash.com/2006/11/conditional-display-of-adsense-in-wordpress/#comment-6835</guid>
		<description>Hi RAJ

About my question above (before post) I&#039;ve the last question...

Why you don&#039;t have currently in your blog&#039;s sidebar an AdSense block?

OK. that&#039;s all, have a good time and thanks a lot for your answer.</description>
		<content:encoded><![CDATA[<p>Hi RAJ</p>
<p>About my question above (before post) I&#8217;ve the last question&#8230;</p>
<p>Why you don&#8217;t have currently in your blog&#8217;s sidebar an AdSense block?</p>
<p>OK. that&#8217;s all, have a good time and thanks a lot for your answer.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alex</title>
		<link>http://www.bloghash.com/2006/11/conditional-display-of-adsense-in-wordpress/comment-page-1/#comment-6743</link>
		<dc:creator>Alex</dc:creator>
		<pubDate>Sun, 12 Aug 2007 03:16:40 +0000</pubDate>
		<guid isPermaLink="false">http://www.bloghash.com/2006/11/conditional-display-of-adsense-in-wordpress/#comment-6743</guid>
		<description>Hi RAJ

Thanks to you for your super fast answer!
Really great!

I did that question since that Google&#039;s terms are very strict and
any time could... Google says... You&#039;re fired!

I&#039;ll try to do your procedure to install the AdSense on my
sidebar of my Wordpress blog.

And again thanks for your answer, I hope that work fine.

RAJ congratulations you have a good blog</description>
		<content:encoded><![CDATA[<p>Hi RAJ</p>
<p>Thanks to you for your super fast answer!<br />
Really great!</p>
<p>I did that question since that Google&#8217;s terms are very strict and<br />
any time could&#8230; Google says&#8230; You&#8217;re fired!</p>
<p>I&#8217;ll try to do your procedure to install the AdSense on my<br />
sidebar of my WordPress blog.</p>
<p>And again thanks for your answer, I hope that work fine.</p>
<p>RAJ congratulations you have a good blog</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Raj</title>
		<link>http://www.bloghash.com/2006/11/conditional-display-of-adsense-in-wordpress/comment-page-1/#comment-6729</link>
		<dc:creator>Raj</dc:creator>
		<pubDate>Fri, 10 Aug 2007 11:38:57 +0000</pubDate>
		<guid isPermaLink="false">http://www.bloghash.com/2006/11/conditional-display-of-adsense-in-wordpress/#comment-6729</guid>
		<description>Hello Alex,
Appreciate your question on using those backslahes. We actually use the backslash as an escape sequence kind of thing to properly format the output. Since we do not modify the AdSense code when it&#039;s finally produced into the HTML page, we thereby do not violate their terms and conditions.
Thank you visiting my blog and asking this question :-)</description>
		<content:encoded><![CDATA[<p>Hello Alex,<br />
Appreciate your question on using those backslahes. We actually use the backslash as an escape sequence kind of thing to properly format the output. Since we do not modify the AdSense code when it&#8217;s finally produced into the HTML page, we thereby do not violate their terms and conditions.<br />
Thank you visiting my blog and asking this question <img src='http://www.bloghash.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alex</title>
		<link>http://www.bloghash.com/2006/11/conditional-display-of-adsense-in-wordpress/comment-page-1/#comment-6724</link>
		<dc:creator>Alex</dc:creator>
		<pubDate>Fri, 10 Aug 2007 05:45:09 +0000</pubDate>
		<guid isPermaLink="false">http://www.bloghash.com/2006/11/conditional-display-of-adsense-in-wordpress/#comment-6724</guid>
		<description>Hi Raj
Since you bloghash I liked it...
I read about your post called: Conditional Display of AdSense in Wordpress and
since Google&#039;s AdSense program is so strict and their terms.   

In your instructions to setup AdSense at the sidebar your instruction says that:
I will have to put a \ (backslash) in front of every quote (&quot;)...
My question is if this action: put a \ (backslash) doesn&#039;t violate the Google&#039;s terms?

Thanks a lot for any help to solve my doubt. and congratulations for your blog.</description>
		<content:encoded><![CDATA[<p>Hi Raj<br />
Since you bloghash I liked it&#8230;<br />
I read about your post called: Conditional Display of AdSense in WordPress and<br />
since Google&#8217;s AdSense program is so strict and their terms.   </p>
<p>In your instructions to setup AdSense at the sidebar your instruction says that:<br />
I will have to put a \ (backslash) in front of every quote (&#8220;)&#8230;<br />
My question is if this action: put a \ (backslash) doesn&#8217;t violate the Google&#8217;s terms?</p>
<p>Thanks a lot for any help to solve my doubt. and congratulations for your blog.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Raj</title>
		<link>http://www.bloghash.com/2006/11/conditional-display-of-adsense-in-wordpress/comment-page-1/#comment-1985</link>
		<dc:creator>Raj</dc:creator>
		<pubDate>Fri, 09 Feb 2007 20:56:45 +0000</pubDate>
		<guid isPermaLink="false">http://www.bloghash.com/2006/11/conditional-display-of-adsense-in-wordpress/#comment-1985</guid>
		<description>Hi Coyote/Rob,

I have sent you an email with updated code. Give it a try and lemme know!</description>
		<content:encoded><![CDATA[<p>Hi Coyote/Rob,</p>
<p>I have sent you an email with updated code. Give it a try and lemme know!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Coyote</title>
		<link>http://www.bloghash.com/2006/11/conditional-display-of-adsense-in-wordpress/comment-page-1/#comment-1982</link>
		<dc:creator>Coyote</dc:creator>
		<pubDate>Fri, 09 Feb 2007 20:15:04 +0000</pubDate>
		<guid isPermaLink="false">http://www.bloghash.com/2006/11/conditional-display-of-adsense-in-wordpress/#comment-1982</guid>
		<description>Hi there,

I&#039;ve download and edited your code but I need help with the logic please. Basically I don&#039;t want any ads to appear on my home page (e.g. /index.php) for each article, however when someone clicks into an article/post I do want the ad displayed.

What is the conditional code/logic I need to apply here in the functions.php file please? Thanks.

btw. The site where I&#039;m testing this new code is http://www.avalon5.com/wptest
I&#039;m trying to break in a new theme at the same time :)


c0y0te</description>
		<content:encoded><![CDATA[<p>Hi there,</p>
<p>I&#8217;ve download and edited your code but I need help with the logic please. Basically I don&#8217;t want any ads to appear on my home page (e.g. /index.php) for each article, however when someone clicks into an article/post I do want the ad displayed.</p>
<p>What is the conditional code/logic I need to apply here in the functions.php file please? Thanks.</p>
<p>btw. The site where I&#8217;m testing this new code is <a href="http://www.avalon5.com/wptest" rel="nofollow">http://www.avalon5.com/wptest</a><br />
I&#8217;m trying to break in a new theme at the same time <img src='http://www.bloghash.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>c0y0te</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Raj</title>
		<link>http://www.bloghash.com/2006/11/conditional-display-of-adsense-in-wordpress/comment-page-1/#comment-86</link>
		<dc:creator>Raj</dc:creator>
		<pubDate>Wed, 29 Nov 2006 05:57:09 +0000</pubDate>
		<guid isPermaLink="false">http://www.bloghash.com/2006/11/conditional-display-of-adsense-in-wordpress/#comment-86</guid>
		<description>Jaylon,
I have sent you an email with information you needed.</description>
		<content:encoded><![CDATA[<p>Jaylon,<br />
I have sent you an email with information you needed.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jaylon</title>
		<link>http://www.bloghash.com/2006/11/conditional-display-of-adsense-in-wordpress/comment-page-1/#comment-85</link>
		<dc:creator>Jaylon</dc:creator>
		<pubDate>Tue, 28 Nov 2006 20:45:38 +0000</pubDate>
		<guid isPermaLink="false">http://www.bloghash.com/2006/11/conditional-display-of-adsense-in-wordpress/#comment-85</guid>
		<description>Hi, I have found a few wordpress - made for adsense templates. I am looking for one that is more &quot;successful&quot;, even if its not made for wordpress (I can convert it).
Can someone point me into that direction. Trying to speed up my contextual sites.
here are what I found (if one you recommend is on this list, just tell me.).
http://www.sapiensbryan.com/index.ph...me-ads-minded/
http://pilkster.com/wordpress-themes-for-adsense/
Anything else?
I also can take a look at sights that have successful ctr adsense templates (But unless you want it public, please PM me it.)
OK I Just realized I mispelled Wordpress in the title, Man I am an Idiot.!
Ok now I am a bigger idiot for not realizing the &quot;go to advance&quot; edit. so i fixed my misspelling.</description>
		<content:encoded><![CDATA[<p>Hi, I have found a few wordpress &#8211; made for adsense templates. I am looking for one that is more &#8220;successful&#8221;, even if its not made for wordpress (I can convert it).<br />
Can someone point me into that direction. Trying to speed up my contextual sites.<br />
here are what I found (if one you recommend is on this list, just tell me.).<br />
<a href="http://www.sapiensbryan.com/index.ph...me-ads-minded/" rel="nofollow">http://www.sapiensbryan.com/index.ph&#8230;me-ads-minded/</a><br />
<a href="http://pilkster.com/wordpress-themes-for-adsense/" rel="nofollow">http://pilkster.com/wordpress-themes-for-adsense/</a><br />
Anything else?<br />
I also can take a look at sights that have successful ctr adsense templates (But unless you want it public, please PM me it.)<br />
OK I Just realized I mispelled WordPress in the title, Man I am an Idiot.!<br />
Ok now I am a bigger idiot for not realizing the &#8220;go to advance&#8221; edit. so i fixed my misspelling.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Raj</title>
		<link>http://www.bloghash.com/2006/11/conditional-display-of-adsense-in-wordpress/comment-page-1/#comment-5</link>
		<dc:creator>Raj</dc:creator>
		<pubDate>Wed, 08 Nov 2006 17:17:57 +0000</pubDate>
		<guid isPermaLink="false">http://www.bloghash.com/2006/11/conditional-display-of-adsense-in-wordpress/#comment-5</guid>
		<description>Hello aNieto2k,

Thank you for your feedback. I am fairly new to WordPress (9 days in WP as of today). I did not knew about is_single() tag of WP. I will certainly look forward to rewrite the code :-)

Thank you!</description>
		<content:encoded><![CDATA[<p>Hello aNieto2k,</p>
<p>Thank you for your feedback. I am fairly new to WordPress (9 days in WP as of today). I did not knew about is_single() tag of WP. I will certainly look forward to rewrite the code <img src='http://www.bloghash.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<p>Thank you!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: aNieto2k</title>
		<link>http://www.bloghash.com/2006/11/conditional-display-of-adsense-in-wordpress/comment-page-1/#comment-4</link>
		<dc:creator>aNieto2k</dc:creator>
		<pubDate>Wed, 08 Nov 2006 12:21:22 +0000</pubDate>
		<guid isPermaLink="false">http://www.bloghash.com/2006/11/conditional-display-of-adsense-in-wordpress/#comment-4</guid>
		<description>Is more easy than your code.

--- code  (php) ---
if (is_home()) {
 --- home ads code ---
} else {
 ---- single ads code ---
}
--- /code ---

Also you can use is_single() for do the same.

--- code  (php) ---
if (is_single()) {
 --- single ads code ---
} else if (is_home()){
 ---- home ads code ---
} else {
--- Other posibles pages ads ----
}
--- /code ---</description>
		<content:encoded><![CDATA[<p>Is more easy than your code.</p>
<p>&#8212; code  (php) &#8212;<br />
if (is_home()) {<br />
 &#8212; home ads code &#8212;<br />
} else {<br />
 &#8212;- single ads code &#8212;<br />
}<br />
&#8212; /code &#8212;</p>
<p>Also you can use is_single() for do the same.</p>
<p>&#8212; code  (php) &#8212;<br />
if (is_single()) {<br />
 &#8212; single ads code &#8212;<br />
} else if (is_home()){<br />
 &#8212;- home ads code &#8212;<br />
} else {<br />
&#8212; Other posibles pages ads &#8212;-<br />
}<br />
&#8212; /code &#8212;</p>
]]></content:encoded>
	</item>
</channel>
</rss>

