<?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: Stallion Theme Kontera In-Text Ads Tutorial</title>
	<atom:link href="http://www.stallion-theme.com/stallion-theme-kontera-in-text-ads-tutorial/feed" rel="self" type="application/rss+xml" />
	<link>http://www.stallion-theme.com/stallion-theme-kontera-in-text-ads-tutorial</link>
	<description>The Best WordPress SEO Theme</description>
	<lastBuildDate>Mon, 20 May 2013 23:18:01 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.5.1</generator>
	<item>
		<title>By: Stallion WordPress SEO Theme Author</title>
		<link>http://www.stallion-theme.com/stallion-theme-kontera-in-text-ads-tutorial/comment-page-1#comment-3509</link>
		<dc:creator>Stallion WordPress SEO Theme Author</dc:creator>
		<pubDate>Fri, 15 Jul 2011 15:32:27 +0000</pubDate>
		<guid isPermaLink="false">http://www.stallion-theme.com/?p=31#comment-3509</guid>
		<description><![CDATA[Custom ads is part of Stallion 6, but I&#039;ve not got around to documenting it yet :-))

Under your widgets menu

Appearance &gt;&gt; Widgets

You&#039;ll find multiple widget areas on the right hand side. Each Widget area represents a part of the page. Won&#039;t go through them all, couple of examples.

Header Ad Widget : that area is where you see the Search form in the header area. If you turn the Search Form box off (via the Stallion options) you can add any html code you like to that area via a text widget.

Drag and drop a Text Widget into that widget area and add some code, it will float to the right of the right hand side of the header area. That area is suitable for a ad banner around 468px by 60px comfortably fits.

Content Ad Widget : that area is directly above the main content of the first post on archive page and top of post on posts and static pages. You can use that area to put an add in the same location as a main AdSense ad that floats to the left or right.

The sort of code you can use in this location is what I use here &lt;a href=&quot;http://www.stallion-theme.com/stallion-seo-ad-theme-clickbank-affiliate-program&quot;&gt;Stallion Clickbank Affiliate Program&lt;/a&gt; the code below for example you use the large Stallion Clickbank Banner floating to the right where you&#039;d have your AdSense ad normally, this would give you a clickable banner ad.

&lt;code&gt;&lt;div style=&quot;float:right;padding:5px;&quot;&gt;
&lt;a href=&quot;http://CLICKBANKUSERNAME.stallionad.hop.clickbank.net/?tid=STALLION&amp;dpdid=Stallion_seo&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://www.domain.com/stallion-300-250.gif&quot; alt=&quot;Stallion SEO Ad Theme&quot; width=&quot;300&quot; /&gt;&lt;/a&gt;
&lt;/div&gt;&lt;/code&gt;

Basically you add your banner image link within a div that has the styling you want for that area, if you wanted the contents to be centered you&#039;d use something like:

&lt;code&gt;&lt;div style=&quot;text-align:center;&quot;&gt;
The banner code
&lt;/div&gt;&lt;/code&gt;

If you used that code on the Content Ad Widget area the banner would be above the main content centered above it.

Using the widget areas and text widgets you can place banner ads (any HTML code) in multiple locations of the page (in Stallion 6.1 adding another area below the main content, missed that area in 6.0).

Unfortunalty you can&#039;t use PHP code within text-widgets, so doing something more interesting like only having the ad on the home page or specific posts isn&#039;t possible without editing code: that&#039;s possible via the /widgets/custom-widgets.php file where you can add code like:

&lt;code&gt;&lt;?php if (is_front_page()) { ?&gt;
code you only want on front page
&lt;?php } ?&gt;&lt;/code&gt;

&lt;code&gt;&lt;?php if (is_single(26)) { ?&gt;
code you only want on the post with id 36
&lt;?php } ?&gt;&lt;/code&gt;

&lt;code&gt;&lt;?php if (is_page(13)) { ?&gt;
code you only want on the static page with id 13
&lt;?php } ?&gt;&lt;/code&gt;

You&#039;d use this sort of code within that file like this:

&lt;pre&gt;&lt;?php /* Widget start */
function st_banner01() { ?&gt;

&lt;?php if (is_single(26)) { ?&gt;
code you only want on the post with id 36
&lt;?php } ?&gt;

&lt;?php } register_sidebar_widget(__(&#039;Jims Banner Ad Post 26&#039;), &#039;st_banner01&#039;);
/* Widget end */ ?&gt;&lt;/pre&gt;

This would add a widget to your widgets called &quot;Jims Banner Ad Post 26&quot; which you could add to any of the widget areas and it would only show on post with ID 26. Because this is code based you can add HTML and PHP code to this widget. It&#039;s how I built the &quot;Stallion Affiliate Banner&quot; widget that comes with Stallion, I incorporated that widget with the &lt;a href=&quot;http://www.google-adsense-templates.co.uk/wp-expander-plugin.html&quot;&gt;WP Expander Plugin&lt;/a&gt; that delays the loading of the Stallion banner (you can see it in action on the above page).

Nofollow and selling banner ads.

Google recommends you use nofollow on sold links.

Two problems with this, firstly adding a nofollow link deletes the link benefit that would have flowed through the link, so it damages your sites SEO!

Secondly many people buying ad space are going to want the link to pass link benefit. If they are paying for impressions rather than SEO benefit you&#039;d need a script to track banner impressions ideally.

When I add a link I don&#039;t want Google to follow I use the link cloaking I&#039;ve added to Stallion, see &lt;a href=&quot;http://www.stallion-theme.com/stallion-theme-cloak-affiliate-links-tutorial&quot;&gt;Stallion Theme Cloak Affiliate Links Tutorial&lt;/a&gt;. This serves the link using javascript, so if you are selling banner ads be aware it&#039;s estimated 10% of visitors have JavaScript turned off, so they would see a non-clickable banner (or anchor text if a text link). This is fine for affiliate links and banners, you aren&#039;t selling the banner per se, not so good if you sell the space. That being said there are scripts that use javascript for banners, so it&#039;s not unprecedented.

If you sell ad space that does pass link benefit there is a potential risk of a Google penalty if you get caught. Problem is if you don&#039;t pass link benefit less advertisers :-)

David]]></description>
		<content:encoded><![CDATA[<p>Custom ads is part of Stallion 6, but I&#8217;ve not got around to documenting it yet <img src='http://www.stallion-theme.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> )</p>
<p>Under your widgets menu</p>
<p>Appearance >> Widgets</p>
<p>You&#8217;ll find multiple widget areas on the right hand side. Each Widget area represents a part of the page. Won&#8217;t go through them all, couple of examples.</p>
<p>Header Ad Widget : that area is where you see the Search form in the header area. If you turn the Search Form box off (via the Stallion options) you can add any html code you like to that area via a text widget.</p>
<p>Drag and drop a Text Widget into that widget area and add some code, it will float to the right of the right hand side of the header area. That area is suitable for a ad banner around 468px by 60px comfortably fits.</p>
<p>Content Ad Widget : that area is directly above the main content of the first post on archive page and top of post on posts and static pages. You can use that area to put an add in the same location as a main AdSense ad that floats to the left or right.</p>
<p>The sort of code you can use in this location is what I use here <a href="http://www.stallion-theme.com/stallion-seo-ad-theme-clickbank-affiliate-program">Stallion Clickbank Affiliate Program</a> the code below for example you use the large Stallion Clickbank Banner floating to the right where you&#8217;d have your AdSense ad normally, this would give you a clickable banner ad.</p>
<p><code>&lt;div style="float:right;padding:5px;"&gt;<br />
&lt;a href="http://CLICKBANKUSERNAME.stallionad.hop.clickbank.net/?tid=STALLION&amp;dpdid=Stallion_seo" target="_blank"&gt;&lt;img src="http://www.domain.com/stallion-300-250.gif" alt="Stallion SEO Ad Theme" width="300" /&gt;&lt;/a&gt;<br />
&lt;/div&gt;</code></p>
<p>Basically you add your banner image link within a div that has the styling you want for that area, if you wanted the contents to be centered you&#8217;d use something like:</p>
<p><code>&lt;div style="text-align:center;"&gt;<br />
The banner code<br />
&lt;/div&gt;</code></p>
<p>If you used that code on the Content Ad Widget area the banner would be above the main content centered above it.</p>
<p>Using the widget areas and text widgets you can place banner ads (any HTML code) in multiple locations of the page (in Stallion 6.1 adding another area below the main content, missed that area in 6.0).</p>
<p>Unfortunalty you can&#8217;t use PHP code within text-widgets, so doing something more interesting like only having the ad on the home page or specific posts isn&#8217;t possible without editing code: that&#8217;s possible via the /widgets/custom-widgets.php file where you can add code like:</p>
<p><code>&lt;?php if (is_front_page()) { ?><br />
code you only want on front page<br />
&lt;?php } ?></code></p>
<p><code>&lt;?php if (is_single(26)) { ?><br />
code you only want on the post with id 36<br />
&lt;?php } ?></code></p>
<p><code>&lt;?php if (is_page(13)) { ?><br />
code you only want on the static page with id 13<br />
&lt;?php } ?></code></p>
<p>You&#8217;d use this sort of code within that file like this:</p>
<pre>&lt;?php /* Widget start */
function st_banner01() { ?&gt;

&lt;?php if (is_single(26)) { ?&gt;
code you only want on the post with id 36
&lt;?php } ?&gt;

&lt;?php } register_sidebar_widget(__('Jims Banner Ad Post 26'), 'st_banner01');
/* Widget end */ ?&gt;</pre>
<p>This would add a widget to your widgets called &#8220;Jims Banner Ad Post 26&#8243; which you could add to any of the widget areas and it would only show on post with ID 26. Because this is code based you can add HTML and PHP code to this widget. It&#8217;s how I built the &#8220;Stallion Affiliate Banner&#8221; widget that comes with Stallion, I incorporated that widget with the <a href="http://www.google-adsense-templates.co.uk/wp-expander-plugin.html">WP Expander Plugin</a> that delays the loading of the Stallion banner (you can see it in action on the above page).</p>
<p>Nofollow and selling banner ads.</p>
<p>Google recommends you use nofollow on sold links.</p>
<p>Two problems with this, firstly adding a nofollow link deletes the link benefit that would have flowed through the link, so it damages your sites SEO!</p>
<p>Secondly many people buying ad space are going to want the link to pass link benefit. If they are paying for impressions rather than SEO benefit you&#8217;d need a script to track banner impressions ideally.</p>
<p>When I add a link I don&#8217;t want Google to follow I use the link cloaking I&#8217;ve added to Stallion, see <a href="http://www.stallion-theme.com/stallion-theme-cloak-affiliate-links-tutorial">Stallion Theme Cloak Affiliate Links Tutorial</a>. This serves the link using javascript, so if you are selling banner ads be aware it&#8217;s estimated 10% of visitors have JavaScript turned off, so they would see a non-clickable banner (or anchor text if a text link). This is fine for affiliate links and banners, you aren&#8217;t selling the banner per se, not so good if you sell the space. That being said there are scripts that use javascript for banners, so it&#8217;s not unprecedented.</p>
<p>If you sell ad space that does pass link benefit there is a potential risk of a Google penalty if you get caught. Problem is if you don&#8217;t pass link benefit less advertisers <img src='http://www.stallion-theme.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<p>David</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Erik</title>
		<link>http://www.stallion-theme.com/stallion-theme-kontera-in-text-ads-tutorial/comment-page-1#comment-3487</link>
		<dc:creator>Erik</dc:creator>
		<pubDate>Thu, 14 Jul 2011 14:00:33 +0000</pubDate>
		<guid isPermaLink="false">http://www.stallion-theme.com/?p=31#comment-3487</guid>
		<description><![CDATA[Hi David, I wasn&#039;t sure where to post this, but I had a question about hosting an ad directly from an advertiser.  I have begun to sell advertisements on my site which will consist of an image linked to the advertiser&#039;s site.

I had been told that if I sell an ad directly to an advertiser, I would need to use &quot;nofollow&quot;, as otherwise Google would look at it as selling links, which would be a big no-no?  

I&#039;m not sure if that is correct or not, but was wondering if you could advise the best way to go about doing this.  Do you use nofollow, or is there another method that would work?  Again, just trying to stay on the right side of the law here :)

Other than these planned ads from direct advertisers, I only run Google Adsense.  

If you&#039;ve already covered this elsewhere, sorry if I missed it.

Many thanks,

Erik]]></description>
		<content:encoded><![CDATA[<p>Hi David, I wasn&#8217;t sure where to post this, but I had a question about hosting an ad directly from an advertiser.  I have begun to sell advertisements on my site which will consist of an image linked to the advertiser&#8217;s site.</p>
<p>I had been told that if I sell an ad directly to an advertiser, I would need to use &#8220;nofollow&#8221;, as otherwise Google would look at it as selling links, which would be a big no-no?  </p>
<p>I&#8217;m not sure if that is correct or not, but was wondering if you could advise the best way to go about doing this.  Do you use nofollow, or is there another method that would work?  Again, just trying to stay on the right side of the law here <img src='http://www.stallion-theme.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Other than these planned ads from direct advertisers, I only run Google Adsense.  </p>
<p>If you&#8217;ve already covered this elsewhere, sorry if I missed it.</p>
<p>Many thanks,</p>
<p>Erik</p>
]]></content:encoded>
	</item>
</channel>
</rss>
