<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>WordPress Magazine Themes &#187; 125&#215;125</title>
	<atom:link href="http://www.wp-magazine.com/tag/125x125/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.wp-magazine.com</link>
	<description>Premium WordPress Magazine Themes from Solostream</description>
	<lastBuildDate>Thu, 01 Jul 2010 15:14:34 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>How to Add 125&#215;125 Banner Ads to Your Sidebar</title>
		<link>http://www.wp-magazine.com/2008/05/how-to-add-125x125-banner-ads-to-your-sidebar/</link>
		<comments>http://www.wp-magazine.com/2008/05/how-to-add-125x125-banner-ads-to-your-sidebar/#comments</comments>
		<pubDate>Tue, 13 May 2008 17:56:16 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[125x125]]></category>
		<category><![CDATA[ads]]></category>
		<category><![CDATA[banners]]></category>
		<category><![CDATA[tutorial]]></category>

		<guid isPermaLink="false">http://www.wp-magazine.com/2008/05/how-to-add-125x125-banner-ads-to-your-sidebar/</guid>
		<description><![CDATA[Many people like to display 125x125 banner ads in their sidebar. In this tutorial, I'll show you how to add them to your own site.]]></description>
			<content:encoded><![CDATA[<p>Many people like to display 125&#215;125 banner ads in their sidebar. In this tutorial, I&#8217;ll show you how to add them to your own site.</p>
<p><span id="more-123"></span></p>
<h3>Step 1 &#8211; Upload a Generic 125&#215;125 Banner</h3>
<p><img src='http://www.wp-magazine.com/wp-content/uploads/2008/05/banner125.gif' class="alignright" alt='banner125.gif' />Right-click the image to the right and save it to your desktop as banner125.gif. Then upload it to the <strong>/images</strong> folder within your WP-Mag theme folder. Alternatively, you can use your own generic 125&#215;125 banner; just be sure to name it banner125.gif.</p>
<h3>Step 2 &#8211; Upload the Banner Ads 125&#215;125 Template</h3>
<p>Right-click <strong><a href="http://www.wp-magazine.com/banner125.txt">this link</a></strong>, and save the file to your desktop as banner125.php. Then upload the file to your theme folder with the rest of your theme files.</p>
<h3>Step 3 &#8211; Place the Generic Banner Ads in Your Sidebar</h3>
<p>In your WordPress control panel, go to the Theme Editor. On the right side of the page, click the link named &#8220;Sidebar.&#8221; Once the Sidebar template is open in your Theme Editor, look for these lines of code:</p>
<p><code>&lt;li&gt;&lt;?php include (TEMPLATEPATH . &#039;/banner300.php&#039;); ?&gt;&lt;/li&gt;</code></p>
<p>If you want to remove the 300&#215;250 banner ad and replace it with the 125&#215;125 banner ads, simply change those lines to read:</p>
<p><code>&lt;li&gt;&lt;?php include (TEMPLATEPATH . &#039;/banner125.php&#039;); ?&gt;&lt;/li&gt;</code></p>
<p>If you want to keep the 300&#215;250 ad, leave the code as it is and place these lines above or below it:</p>
<p><code>&lt;li&gt;&lt;?php include (TEMPLATEPATH . &#039;/banner125.php&#039;); ?&gt;&lt;/li&gt;</code></p>
<p><a href='http://www.wp-magazine.com/wp-content/uploads/2008/05/125screen.gif' title='125screen.gif'><img src='http://www.wp-magazine.com/wp-content/uploads/2008/05/125screen.thumbnail.gif' class="alignright" alt='125screen.gif' /></a>After you click the Update File button, you should have something that looks about like the image to the right (click image to enlarge).</p>
<h3>Step 4 &#8211; Replace Your Generic Banners and Links With Real Ads</h3>
<p>While still on the Theme Editor page, click the link for &#8220;Banner Ads 125&#215;125.&#8221; The code looks like this:</p>
<p><code>&lt;ul class=&quot;banner125 clearfix&quot;&gt;<br />
&nbsp;&nbsp;&lt;li class=&quot;ad1&quot;&gt;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&lt;a href=&quot;&lt;?php bloginfo(&#039;url&#039;); ?&gt;&quot;&gt;&lt;img src=&quot;&lt;?php bloginfo(&#039;stylesheet_directory&#039;); ?&gt;/images/banner125.gif&quot; style=&quot;display:block;margin:0;padding:0;&quot; alt=&quot;125x125 banner ad&quot; /&gt;&lt;/a&gt;<br />
&nbsp;&nbsp;&lt;/li&gt;<br />
&nbsp;&nbsp;&lt;li class=&quot;ad2&quot;&gt;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&lt;a href=&quot;&lt;?php bloginfo(&#039;url&#039;); ?&gt;&quot;&gt;&lt;img src=&quot;&lt;?php bloginfo(&#039;stylesheet_directory&#039;); ?&gt;/images/banner125.gif&quot; style=&quot;display:block;margin:0;padding:0;&quot; alt=&quot;125x125 banner ad&quot; /&gt;&lt;/a&gt;<br />
&nbsp;&nbsp;&lt;/li&gt;<br />
&nbsp;&nbsp;&lt;li class=&quot;ad3&quot;&gt;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&lt;a href=&quot;&lt;?php bloginfo(&#039;url&#039;); ?&gt;&quot;&gt;&lt;img src=&quot;&lt;?php bloginfo(&#039;stylesheet_directory&#039;); ?&gt;/images/banner125.gif&quot; style=&quot;display:block;margin:0;padding:0;&quot; alt=&quot;125x125 banner ad&quot; /&gt;&lt;/a&gt;<br />
&nbsp;&nbsp;&lt;/li&gt;<br />
&nbsp;&nbsp;&lt;li class=&quot;ad4&quot;&gt;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&lt;a href=&quot;&lt;?php bloginfo(&#039;url&#039;); ?&gt;&quot;&gt;&lt;img src=&quot;&lt;?php bloginfo(&#039;stylesheet_directory&#039;); ?&gt;/images/banner125.gif&quot; style=&quot;display:block;margin:0;padding:0;&quot; alt=&quot;125x125 banner ad&quot; /&gt;&lt;/a&gt;<br />
&nbsp;&nbsp;&lt;/li&gt;<br />
&lt;/ul&gt;</code></p>
<p>All you need to do is upload your 125&#215;125 banner image(s) to the /images folder, and change the code above to reflect that.</p>
<p>For example, if you upload a new banner called <strong>solostream-banner-125.gif</strong>, and you want to link that banner to <strong>www.solostream.com</strong>, you would simply change the code to this:</p>
<p><code>&lt;li class=&quot;ad1&quot;&gt;<br />
&nbsp;&nbsp;&lt;a href=&quot;http://www.solostream.com&quot;&gt;&lt;img src=&quot;&lt;?php bloginfo(&#039;stylesheet_directory&#039;); ?&gt;/images/solostream-banner-125.gif&quot; style=&quot;display:block;margin:0;padding:0;&quot; alt=&quot;125x125 banner ad&quot; /&gt;&lt;/a&gt;<br />
&lt;/li&gt;</code></p>
<h3>Step 5 &#8211; Add a Bit of Style</h3>
<p>Add the following code to the bottom of your Stylesheet template:<br />
<code><br />
/* -------------------[ 125x125 Banner Ads ]------------------- */<br />
<br />
#sidebar li li.ad1 {<br />
&nbsp;&nbsp;float:left;<br />
&nbsp;&nbsp;margin: 0 5px 5px 0;<br />
&nbsp;&nbsp;width:125px;<br />
&nbsp;&nbsp;}<br />
<br />
#sidebar li li.ad2 {<br />
&nbsp;&nbsp;float:left;<br />
&nbsp;&nbsp;margin: 0 0 5px 0;<br />
&nbsp;&nbsp;width:125px;<br />
&nbsp;&nbsp;}<br />
<br />
#sidebar li li.ad3 {<br />
&nbsp;&nbsp;float:left;<br />
&nbsp;&nbsp;margin: 0 5px 0 0;<br />
&nbsp;&nbsp;width:125px;<br />
&nbsp;&nbsp;}<br />
<br />
#sidebar li li.ad4 {<br />
&nbsp;&nbsp;float:left;<br />
&nbsp;&nbsp;margin: 0 0 0 0;<br />
&nbsp;&nbsp;width:125px;<br />
&nbsp;&nbsp;}<br />
</code></p>
<p>If you have any questions on this tutorial, just leave a comment, and I&#8217;ll respond as quickly as possible.</p>
<img src="http://www.wp-magazine.com/?ak_action=api_record_view&id=123&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://www.wp-magazine.com/2008/05/how-to-add-125x125-banner-ads-to-your-sidebar/feed/</wfw:commentRss>
		<slash:comments>35</slash:comments>
		</item>
	</channel>
</rss>
