<?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>Thesis Hacker &#187; ads</title>
	<atom:link href="http://www.thesishacker.com/category/ads/feed" rel="self" type="application/rss+xml" />
	<link>http://www.thesishacker.com</link>
	<description>Customize Thesis</description>
	<lastBuildDate>Thu, 21 May 2009 16:22:45 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.6</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Place a row of ads on your page</title>
		<link>http://www.thesishacker.com/place-a-row-of-ads-on-your-page</link>
		<comments>http://www.thesishacker.com/place-a-row-of-ads-on-your-page#comments</comments>
		<pubDate>Thu, 07 May 2009 19:17:11 +0000</pubDate>
		<dc:creator>Nasty</dc:creator>
				<category><![CDATA[ads]]></category>
		<category><![CDATA[images]]></category>
		<category><![CDATA[layout]]></category>
		<category><![CDATA[pages]]></category>
		<category><![CDATA[posts]]></category>
		<category><![CDATA[Add new tag]]></category>
		<category><![CDATA[ads in a post]]></category>
		<category><![CDATA[ads on a page]]></category>
		<category><![CDATA[place ads]]></category>
		<category><![CDATA[row of ads]]></category>

		<guid isPermaLink="false">http://www.thesishacker.com/?p=1792</guid>
		<description><![CDATA[
This is cool and simple way of placing as many ads as you want on your site&#8230;
First thing is to upload your ads into the custom/images folder on your server
The ads in this example are 125 x 125 which is pretty typical
Next, create a simple function in your custom_functions.php to add the ads, put div [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignnone size-full wp-image-1793" title="162" src="http://www.thesishacker.com/wp-content/uploads/2009/05/162.png" alt="162" width="570" height="354" /></p>
<p>This is cool and simple way of placing as many ads as you want on your site&#8230;</p>
<p>First thing is to upload your ads into the custom/images folder on your server</p>
<p>The ads in this example are 125 x 125 which is pretty typical</p>
<p>Next, create a simple function in your custom_functions.php to add the ads, put div tags for the ads, and give it a class name&#8230;</p>
<p class="alert">
function ad(){?&gt;<br />
&lt;div class=&quot;ads&quot;&gt;<br />
&lt;/div&gt;<br />
&lt;?<br />
}</p>
<p>Next, add an unordered list of the ads your going to use between the two div tags and include the path to the image. Your path may be different than the example below&#8230;</p>
<p class="alert">
function ad(){?&gt;<br />
&lt;div class=&quot;ads&quot;&gt;<br />
	&lt;ul &gt;<br />
		     &lt;li&gt;&lt;img src=&quot;http://www.mysite.com/wp-content/themes/thesis/custom/images/ad1.png&quot;&gt;&lt;/li&gt;<br />
		     &lt;li&gt;&lt;img src=&quot;http://www.mysite.com/wp-content/themes/thesis/custom/images/ad2.png&quot;&gt;&lt;/li&gt;<br />
		     &lt;li&gt;&lt;img src=&quot;http://www.mysite.com/wp-content/themes/thesis/custom/images/ad3.png&quot;&gt;&lt;/li&gt;<br />
		     &lt;li&gt;&lt;img src=&quot;http://www.mysite.com/wp-content/themes/thesis/custom/images/ad4.png&quot;&gt;&lt;/li&gt;<br />
	&lt;/ul&gt;<br />
&lt;/div&gt;<br />
&lt;?<br />
}</p>
<p>I decided to put them right under the header so I placed them with the appropriate hook. Here&#8217;s how the entire function looks&#8230;</p>
<p class="alert">
function ad(){?&gt;<br />
&lt;div class=&quot;ads&quot;&gt;<br />
	&lt;ul &gt;<br />
		     &lt;li&gt;&lt;img src=&quot;http://www.mysite.com/wp-content/themes/thesis/custom/images/ad1.png&quot;&gt;&lt;/li&gt;<br />
		     &lt;li&gt;&lt;img src=&quot;http://www.mysite.com/wp-content/themes/thesis/custom/images/ad2.png&quot;&gt;&lt;/li&gt;<br />
		     &lt;li&gt;&lt;img src=&quot;http://www.mysite.com/wp-content/themes/thesis/custom/images/ad3.png&quot;&gt;&lt;/li&gt;<br />
		     &lt;li&gt;&lt;img src=&quot;http://www.mysite.com/wp-content/themes/thesis/custom/images/ad4.png&quot;&gt;&lt;/li&gt;<br />
	&lt;/ul&gt;<br />
&lt;/div&gt;<br />
&lt;?<br />
}<br />
add_action(&#8217;thesis_hook_after_header&#8217;,'ads&#8217;);</p>
<p>Next, add the class to your custom.css and include one for the unordered list of images&#8230;</p>
<p class="alert"> .custom .ads{}<br />
.custom .ads ul li{}</p>
<p>These are the properties and values I used, yours may be different&#8230;</p>
<p class="alert">
.custom .ads{padding: 1em; width: 94em; height: 10em;}<br />
.custom .ads ul li{display: inline; margin-right: 1em;}</p>
<p>This is a really simple, fast, and effective way of placing ads on your site. Remember you can add as many ads as you want. you can also place them vertically, or in the sidebar, in the footer, in the header, etc. The possibilities are endless. </p>
]]></content:encoded>
			<wfw:commentRss>http://www.thesishacker.com/place-a-row-of-ads-on-your-page/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Put an ad in your post</title>
		<link>http://www.thesishacker.com/put-an-ad-in-your-post</link>
		<comments>http://www.thesishacker.com/put-an-ad-in-your-post#comments</comments>
		<pubDate>Thu, 22 Jan 2009 23:36:30 +0000</pubDate>
		<dc:creator>Nasty</dc:creator>
				<category><![CDATA[ads]]></category>
		<category><![CDATA[pages]]></category>
		<category><![CDATA[posts]]></category>
		<category><![CDATA[ad]]></category>
		<category><![CDATA[html editor]]></category>
		<category><![CDATA[post]]></category>
		<category><![CDATA[thesis]]></category>

		<guid isPermaLink="false">http://www.thesishacker.com/?p=708</guid>
		<description><![CDATA[Put an ad in your post]]></description>
			<content:encoded><![CDATA[<p>If you look on the homepage of this site you&#8217;ll see the yellow thesis box in the middle and on the left side of the main text. It was put there with an ad placement class that is already built into thesis. This is how you can place your own ads in your posts.</p>
<p>When you&#8217;re writing your posts go to the html editor&#8230;</p>
<p><img class="alignnone size-full wp-image-709" style="border: 1px solid black;" title="472" src="http://www.thesishacker.com/wp-content/uploads/2009/01/472.png" alt="472" width="502" height="78" /></p>
<p>Within the text you are writing, insert the following code (in red) where you want your ad to go.</p>
<p><span style="color: #ff0000;">&lt;div class=&#8221;ad&#8221;&gt;</span>insert your ad stuff here<span style="color: #ff0000;">&lt;/div&gt;</span></p>
<p>If you want the ad on the left simply make this alteration&#8230;</p>
<p><span style="color: #ff0000;">&lt;div class=&#8221;ad_left&#8221;&gt;</span>insert your ad stuff here<span style="color: #ff0000;">&lt;/div&gt;</span></p>
<p><span style="color: #ff0000;"><span style="color: #000000;">It&#8217;s not recommended to have an image more than 300px wide for this to work correctly</span><br />
</span></p>
]]></content:encoded>
			<wfw:commentRss>http://www.thesishacker.com/put-an-ad-in-your-post/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

