<?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: WordPress: inserting ads between two posts in post list</title>
	<atom:link href="http://codegrad.hub.ph/wordpress-inserting-ads-between-two-posts-in-post-list/feed/" rel="self" type="application/rss+xml" />
	<link>http://codegrad.hub.ph/wordpress-inserting-ads-between-two-posts-in-post-list/</link>
	<description></description>
	<lastBuildDate>Tue, 24 Jan 2012 11:45:10 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>By: Greten</title>
		<link>http://codegrad.hub.ph/wordpress-inserting-ads-between-two-posts-in-post-list/#comment-23762</link>
		<dc:creator>Greten</dc:creator>
		<pubDate>Sat, 21 Jan 2012 05:31:58 +0000</pubDate>
		<guid isPermaLink="false">http://codegrad.hub.ph/?p=1159#comment-23762</guid>
		<description>@Arpita and Inga -- you&#039;re welcome
@Steve - I could not answer your question unless I can see how the index.php of your theme is structured, however the $var = 1 part is essential because that would be the reference that will be used by the if arguments and the increment var++.</description>
		<content:encoded><![CDATA[<p>@Arpita and Inga &#8212; you&#8217;re welcome<br />
@Steve &#8211; I could not answer your question unless I can see how the index.php of your theme is structured, however the $var = 1 part is essential because that would be the reference that will be used by the if arguments and the increment var++.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Steve</title>
		<link>http://codegrad.hub.ph/wordpress-inserting-ads-between-two-posts-in-post-list/#comment-22811</link>
		<dc:creator>Steve</dc:creator>
		<pubDate>Tue, 06 Sep 2011 20:33:19 +0000</pubDate>
		<guid isPermaLink="false">http://codegrad.hub.ph/?p=1159#comment-22811</guid>
		<description>I hard the 2nd half of the code working, but after 3 posts I can&#039;t get ads to show any more. This isn&#039;t just Adsense, this can be regular text too. My question is...

Why is it necessary to insert that code
php $var = 1;

above the have_posts code? It seems to work for me when I don&#039;t insert it above the have_posts code and don&#039;t use it at all.</description>
		<content:encoded><![CDATA[<p>I hard the 2nd half of the code working, but after 3 posts I can&#8217;t get ads to show any more. This isn&#8217;t just Adsense, this can be regular text too. My question is&#8230;</p>
<p>Why is it necessary to insert that code<br />
php $var = 1;</p>
<p>above the have_posts code? It seems to work for me when I don&#8217;t insert it above the have_posts code and don&#8217;t use it at all.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Inga</title>
		<link>http://codegrad.hub.ph/wordpress-inserting-ads-between-two-posts-in-post-list/#comment-18226</link>
		<dc:creator>Inga</dc:creator>
		<pubDate>Tue, 14 Sep 2010 22:38:22 +0000</pubDate>
		<guid isPermaLink="false">http://codegrad.hub.ph/?p=1159#comment-18226</guid>
		<description>Thank u, at last i found the way to make this without stupid plugins, so simple and it works like a charm!!</description>
		<content:encoded><![CDATA[<p>Thank u, at last i found the way to make this without stupid plugins, so simple and it works like a charm!!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Arpita</title>
		<link>http://codegrad.hub.ph/wordpress-inserting-ads-between-two-posts-in-post-list/#comment-17210</link>
		<dc:creator>Arpita</dc:creator>
		<pubDate>Sun, 08 Aug 2010 05:20:21 +0000</pubDate>
		<guid isPermaLink="false">http://codegrad.hub.ph/?p=1159#comment-17210</guid>
		<description>Thanks for this Hack. It worked for me....</description>
		<content:encoded><![CDATA[<p>Thanks for this Hack. It worked for me&#8230;.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Greten</title>
		<link>http://codegrad.hub.ph/wordpress-inserting-ads-between-two-posts-in-post-list/#comment-16830</link>
		<dc:creator>Greten</dc:creator>
		<pubDate>Sat, 24 Jul 2010 22:02:08 +0000</pubDate>
		<guid isPermaLink="false">http://codegrad.hub.ph/?p=1159#comment-16830</guid>
		<description>Hi Ivan,

Thanks for the correction. I studied it and already modified this post to incorporate your correction plus a few minor details I found while reviewing this technique.</description>
		<content:encoded><![CDATA[<p>Hi Ivan,</p>
<p>Thanks for the correction. I studied it and already modified this post to incorporate your correction plus a few minor details I found while reviewing this technique.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ivan</title>
		<link>http://codegrad.hub.ph/wordpress-inserting-ads-between-two-posts-in-post-list/#comment-16773</link>
		<dc:creator>Ivan</dc:creator>
		<pubDate>Wed, 21 Jul 2010 17:39:43 +0000</pubDate>
		<guid isPermaLink="false">http://codegrad.hub.ph/?p=1159#comment-16773</guid>
		<description>Hi,

I think you made a mistake there. Setting the variable part should be placed ABOVE the first line of the loop, because it will set the variable to 1 every time it enters the loop.

Anyway thanks, this worked for me with this little modification.

Have a nice day.</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>I think you made a mistake there. Setting the variable part should be placed ABOVE the first line of the loop, because it will set the variable to 1 every time it enters the loop.</p>
<p>Anyway thanks, this worked for me with this little modification.</p>
<p>Have a nice day.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

