<?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>Adam Barber</title>
	<atom:link href="http://adambarber.tv/feed/" rel="self" type="application/rss+xml" />
	<link>http://adambarber.tv</link>
	<description>Adam Barber&#039;s personal blog.</description>
	<lastBuildDate>Fri, 16 Oct 2009 21:35:14 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>ThesisReady.com Just Relaunched!</title>
		<link>http://adambarber.tv/2009/thesisready-com-just-relaunched/</link>
		<comments>http://adambarber.tv/2009/thesisready-com-just-relaunched/#comments</comments>
		<pubDate>Mon, 12 Oct 2009 17:33:53 +0000</pubDate>
		<dc:creator>adam</dc:creator>
				<category><![CDATA[Thesis Stuff]]></category>

		<guid isPermaLink="false">http://adambarber.tv/?p=134</guid>
		<description><![CDATA[Long time no post! I&#8217;m sorry about that. I&#8217;ll hopefully be able to turn the silent-streak around in the coming days and weeks.
I just quickly wanted to let everyone know that ThesisReady.com relaunched today! I&#8217;ve totally overhauled the payment system to allow more flexibility and cleaned up the skin information pages. In addition to the [...]]]></description>
			<content:encoded><![CDATA[<p></p><p>Long time no post! I&#8217;m sorry about that. I&#8217;ll hopefully be able to turn the silent-streak around in the coming days and weeks.</p>
<p>I just quickly wanted to let everyone know that <a href="http://thesisready.com">ThesisReady.com </a>relaunched today! I&#8217;ve totally overhauled the payment system to allow more flexibility and cleaned up the skin information pages. In addition to the infastructure changes, there will be a lot more content, a lot more often.</p>
<p>Please got check it out and let me know what you think about it. If you have any questions about signing up or buying a skin, don&#8217;t hesitate to email with questions!</p>
<p>Thanks!</p>
<p>-Adam</p>
<img src="http://adambarber.tv/?ak_action=api_record_view&id=134&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://adambarber.tv/2009/thesisready-com-just-relaunched/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Print is Dead Thesis Skin</title>
		<link>http://adambarber.tv/2009/print-is-dead-thesis-skin/</link>
		<comments>http://adambarber.tv/2009/print-is-dead-thesis-skin/#comments</comments>
		<pubDate>Wed, 15 Jul 2009 13:52:44 +0000</pubDate>
		<dc:creator>adam</dc:creator>
				<category><![CDATA[Thesis Stuff]]></category>
		<category><![CDATA[magazine]]></category>
		<category><![CDATA[print is dead]]></category>
		<category><![CDATA[skin]]></category>
		<category><![CDATA[theme]]></category>

		<guid isPermaLink="false">http://adambarber.tv/?p=116</guid>
		<description><![CDATA[After a long time spent searching for a great magazine-style skin for Thesis, I finally gave up and built my own. I&#8217;ve decided to keep the styling pretty basic for now, though making changes is easy (and upgrade-proof) by means of a skin-specific external stylesheet. In addition, it&#8217;s got a ton of great features, perfect [...]]]></description>
			<content:encoded><![CDATA[<p></p><p><em><strong></strong></em>After a long time spent searching for a great magazine-style skin for Thesis, I finally gave up and built my own. I&#8217;ve decided to keep the styling pretty basic for now, though making changes is easy (and upgrade-proof) by means of a skin-specific external stylesheet. In addition, it&#8217;s got a ton of great features, perfect for any magazine site.</p>
<p>And did  I mention configuration is super easy? Set a few variables and you&#8217;re good to go! No need to dig through the code.</p>

<a href='http://adambarber.tv/2009/print-is-dead-thesis-skin/picture-1/' title='Print is Dead - Home Page'><img width="150" height="150" src="http://adambarber.tv/wp-content/uploads/2009/07/Picture-1-150x150.png" class="attachment-thumbnail" alt="Print is Dead - Home Page" title="Print is Dead - Home Page" /></a>
<a href='http://adambarber.tv/2009/print-is-dead-thesis-skin/picture-2/' title='Print is Dead - Author Page'><img width="150" height="150" src="http://adambarber.tv/wp-content/uploads/2009/07/Picture-2-150x150.png" class="attachment-thumbnail" alt="Print is Dead - Author Page" title="Print is Dead - Author Page" /></a>

<p><strong>Features</strong></p>
<ul>
<li><strong>Free Product Support</strong></li>
<li>Easily configurable front page</li>
<li>Built in social media links</li>
<li>Author pages</li>
<li>Full width custom-template</li>
<li>Fully widget-ready footer</li>
<li>Breadcrumb Navigation</li>
<li>Super SEO friendly &#8211; no extra plugins required</li>
<li>Upgrade-proof design &#8211; don&#8217;t worry about losing customization for version 2!</li>
</ul>
<p>You can see the skin in action at <a href="http://printisdead.adambarber.tv/">http://printisdead.adambarber.tv/</a> and buy it at <a href="http://thesisready.com/skins/print-is-dead">http://thesisready.com/skins/print-is-dead</a></p>
<img src="http://adambarber.tv/?ak_action=api_record_view&id=116&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://adambarber.tv/2009/print-is-dead-thesis-skin/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Free Thesis Skin!</title>
		<link>http://adambarber.tv/2009/free-thesis-skin/</link>
		<comments>http://adambarber.tv/2009/free-thesis-skin/#comments</comments>
		<pubDate>Wed, 08 Jul 2009 21:11:57 +0000</pubDate>
		<dc:creator>adam</dc:creator>
				<category><![CDATA[Thesis Stuff]]></category>
		<category><![CDATA[simpleorange]]></category>
		<category><![CDATA[skin]]></category>

		<guid isPermaLink="false">http://adambarber.tv/?p=106</guid>
		<description><![CDATA[UPDATE &#8211; I&#8217;ve just released a new skin called &#8220;ThesisReady Pro&#8221; which can be found at http://thesisready.com/skins/thesisready-pro/. If you&#8217;re looking for a great, stylish skin with an awesome options panel, check it out.

I spent the afternoon working out a few ideas I wanted to use in my next Thesis build. As a result, I came [...]]]></description>
			<content:encoded><![CDATA[<p></p><p><strong>UPDATE &#8211; I&#8217;ve just released a new skin called &#8220;ThesisReady Pro&#8221; which can be found at <a href="http://thesisready.com/skins/thesisready-pro/">http://thesisready.com/skins/thesisready-pro/</a>. If you&#8217;re looking for a great, stylish skin with an awesome options panel, check it out.<br />
</strong></p>
<p>I spent the afternoon working out a few ideas I wanted to use in my next Thesis build. As a result, I came up with a super-simple skin free for you to use, called SimpleOrange! I did include my Thesis affiliate link in the footer though, so I do ask that if you do use my work, you keep that in there.</p>
<div id="attachment_109" class="wp-caption aligncenter" style="width: 300px">
	<a href="http://adambarber.tv/wp-content/uploads/2009/07/simpleorange.png"><img class="size-medium wp-image-109" title="SimpleOrange Thesis Skin" src="http://adambarber.tv/wp-content/uploads/2009/07/simpleorange-300x153.png" alt="SimpleOrange Thesis Skin by Adam Barber" width="300" height="153" /></a>
	<p class="wp-caption-text">SimpleOrange Thesis Skin by Adam Barber</p>
</div>
<p><strong>Skin Features</strong></p>
<ul>
<li>Widgetized media box.</li>
<li>Widgetized footer (4 seperate areas)</li>
<li>Bright orange color scheme</li>
<li>Simple organized layout</li>
</ul>
<p><strong>Installation Guide</strong></p>
<ul>
<li>Download the <a href="http://thesisready.com/member/signup.php?price_group=2">SimpleOrange</a> (You&#8217;ll be redirected to the signup form on ThesisReady.com &#8211; don&#8217;t worry it&#8217;s free and only takes a second)</li>
<li>Download <a href="http://diythemes.com/?a_aid=adambarber">Thesis 1.5.1</a></li>
<li>Copy the orangeskin custom folder into your Thesis directory</li>
<li>Enable &#8220;custom code&#8221; for the media box on the options page</li>
<li>Set column widths to 580/180/180</li>
<li>Set &#8220;full width&#8221; framework</li>
</ul>
<p>If you have questions, or suggestions, leave them in the comments below!</p>
<p style="text-align: center;"><strong>FOR EVEN MORE STYLE AND FEATURES, CHECK OUT&#8230;</strong></p>
<p style="text-align: center;"><a href="http://thesisready.com/skins/print-is-dead"><strong>PRINT IS DEAD</strong></a></p>
<p style="text-align: center;"><strong><a href="http://thesisready.com/skins/classy-operation">CLASSY OPERATION</a></strong></p>
<p style="text-align: center;"><strong><a href="http://thesisready.com/skins/deep-blue"> DEEP BLUE</a></strong></p>
<img src="http://adambarber.tv/?ak_action=api_record_view&id=106&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://adambarber.tv/2009/free-thesis-skin/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Inserting Adsense on Category Pages</title>
		<link>http://adambarber.tv/2009/inserting-adsense-on-category-pages/</link>
		<comments>http://adambarber.tv/2009/inserting-adsense-on-category-pages/#comments</comments>
		<pubDate>Wed, 01 Jul 2009 20:21:17 +0000</pubDate>
		<dc:creator>adam</dc:creator>
				<category><![CDATA[Thesis Stuff]]></category>

		<guid isPermaLink="false">http://adambarber.tv/?p=93</guid>
		<description><![CDATA[As you can see on this site, I am using Thesis hooks to insert adsense boxes both above, and below the content on single post and category pages.
In addition to being able to quickly inject the boxes, I wanted to make sure I could exclude the adsense from particular categories, like anything Thesis related, for [...]]]></description>
			<content:encoded><![CDATA[<p></p><p>As you can see on this site, I am using Thesis hooks to insert adsense boxes both above, and below the content on single post and category pages.</p>
<div id="attachment_96" class="wp-caption aligncenter" style="width: 300px">
	<a href="http://adambarber.tv/wp-content/uploads/2009/07/category_adsense.png"><img class="size-medium wp-image-96" title="Adsense above select category headers." src="http://adambarber.tv/wp-content/uploads/2009/07/category_adsense-300x80.png" alt="Adsense above select category headers." width="300" height="80" /></a>
	<p class="wp-caption-text">Adsense above select category headers.</p>
</div>
<p>In addition to being able to quickly inject the boxes, I wanted to make sure I could exclude the adsense from particular categories, like anything Thesis related, for example. There are a couple steps to do this.</p>
<p><strong>Step 1</strong> &#8211; Add the following to custom_functions.php</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;">/* Custom Adsense Insertion */
function custom_adsense_insetion(){
 if (is_single() &amp;&amp; in_category('thesis')|| is_category('thesis') || is_front_page() )
{ }
else { ?&gt;
&lt;div class=&quot;adsense&quot;&gt;
#### YOUR ADSENSE CODE HERE ####
&lt;/div&gt;
<span style="color: #000000; font-weight: bold;">&lt;?php</span>
<span style="color: #009900;">&#125;</span><span style="color: #009900;">&#125;</span></pre></div></div>

<p>So we have a couple of things to look at. In order to select which categories we want ads on, I&#8217;ve used an if statement. In my particular case, I knew I had only a few instances where I <em>didn&#8217;t</em> want the ads automatically inserted, so I decided to go with a negative-case setup. Within the &#8220;if&#8221; brackets, I define which pages I want the function to display nothing on. The fist is single post pages for anything in the Thesis category. The second is the Thesis category listing its self. The Last is the home page. Each case is separated by &#8220;||&#8221; which denotes &#8220;or.&#8221;</p>
<p>Any case in the else area will automatically get the adsense. Depending on how many pages you are applying the code to, you may want to reverse this.</p>
<p><strong>Step 2</strong> &#8211; Add actions! I decided to simply use the before and after content hooks. It isn&#8217;t 100% what I was going for, but it gets the job done for right now. You can experiment with which particular thesis hooks work best for your setup.</p>
<p>Copy and paste the following into custom_functions.php</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;">add_action<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'thesis_hook_before_content'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'custom_adsense_insetion'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
add_action<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'thesis_hook_after_content'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'custom_adsense_insetion'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></div></div>

<p><strong>Step 3 </strong>- The last thing we need to do is style the div to ensure the positioning is correct. I just added a margin to the top and bottom, and an &#8220;auto margin&#8221; to the sides to ensure it stays centered. The style code goes in the custom style sheet.</p>

<div class="wp_syntax"><div class="code"><pre class="css" style="font-family:monospace;"><span style="color: #6666ff;">.custom</span> <span style="color: #6666ff;">.adsense</span> <span style="color: #00AA00;">&#123;</span> <span style="color: #000000; font-weight: bold;">margin</span><span style="color: #00AA00;">:</span> <span style="color: #933;">.3em</span> <span style="color: #993333;">auto</span><span style="color: #00AA00;">;</span> <span style="color: #000000; font-weight: bold;">text-align</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">center</span><span style="color: #00AA00;">&#125;</span></pre></div></div>

<p>That&#8217;s it! If you have any problems getting anything to work, leave a comment, or follow me on twitter at <a href="http://twitter.com/adambarber">http://twitter.com/adambarber</a>. And please let me know if you would like to see any particular tutorials!</p>
<img src="http://adambarber.tv/?ak_action=api_record_view&id=93&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://adambarber.tv/2009/inserting-adsense-on-category-pages/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Adding Social Media Links to Thesis</title>
		<link>http://adambarber.tv/2009/adding-social-media-links-to-thesis/</link>
		<comments>http://adambarber.tv/2009/adding-social-media-links-to-thesis/#comments</comments>
		<pubDate>Tue, 30 Jun 2009 13:35:07 +0000</pubDate>
		<dc:creator>adam</dc:creator>
				<category><![CDATA[Thesis Stuff]]></category>

		<guid isPermaLink="false">http://adambarber.tv/?p=88</guid>
		<description><![CDATA[This post is a comprehensive guide to quickly and easily adding an awesome looking box containing links to all of your social media profiles in your Thesis side bar.]]></description>
			<content:encoded><![CDATA[<p></p><p>The tutorial below is a quick and easy guide to adding a fancy box containing links to all of your social media profiles.</p>
<p><strong>Step 1 &#8211; </strong>Open your custom_functions.php file and add the following. Make sure to adjust the links to the correct social media profiles, and don&#8217;t forget to change the name!</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;">// Social Media Links Function
&nbsp;
function social_media_links(){
 ?&gt;
 &lt;div&gt;
 &lt;ul&gt;
 &lt;li&gt;&lt;a id=&quot;twitter&quot; href=&quot;http://twitter.com/##YOURUSERNAME##&quot;&gt;
 &lt;span&gt;adam barber&lt;/span&gt;
 &lt;span&gt;on twitter&lt;/span&gt;
 &lt;/a&gt;
 &lt;/li&gt; 
&nbsp;
 &lt;li&gt;&lt;a id=&quot;facebook&quot; href=&quot;http://facebook.com/##YOURUSERNAME##&quot;&gt;
 &lt;span&gt;adam barber&lt;/span&gt;
 &lt;span&gt;on facebook&lt;/span&gt;
 &lt;/a&gt;
 &lt;/li&gt;
&nbsp;
 &lt;li&gt;&lt;a id=&quot;linkedin&quot; href=&quot;http://linkedin.com/##YOURUSERNAME##&quot;&gt;
 &lt;span&gt;adam barber&lt;/span&gt;
 &lt;span&gt;on linkedin&lt;/span&gt;
 &lt;/a&gt;
 &lt;/li&gt;
&nbsp;
 &lt;li&gt;&lt;a id=&quot;rss&quot; href=&quot;##YOURRSSFEED##&quot;&gt;
 &lt;span&gt;adam barber&lt;/span&gt;
 &lt;span&gt;rss feed&lt;/span&gt;
 &lt;/a&gt;
 &lt;/li&gt;
 &lt;/ul&gt;
&nbsp;
 &lt;div&gt;&lt;/div&gt;  
&nbsp;
 &lt;/div&gt;  
&nbsp;
 <span style="color: #000000; font-weight: bold;">&lt;?php</span>
<span style="color: #009900;">&#125;</span> 
&nbsp;
<span style="color: #666666; font-style: italic;">// Add the function to the proper hook</span>
add_action<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'thesis_hook_after_multimedia_box'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'social_media_links'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></div></div>

<p><strong>Step 2 &#8211; </strong>Open your custom.css stylesheet and add the following. Look over the comments and make adjustments to fit your style, including regular and hover background colors, and the links to your icon images.</p>

<div class="wp_syntax"><div class="code"><pre class="css" style="font-family:monospace;"><span style="color: #808080; font-style: italic;">/* Define the clear div to offset the link floats */</span>
div.<span style="color: #000000; font-weight: bold;">clear</span><span style="color: #00AA00;">&#123;</span>
<span style="color: #000000; font-weight: bold;">clear</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">both</span><span style="color: #00AA00;">;</span>
<span style="color: #000000; font-weight: bold;">height</span><span style="color: #00AA00;">:</span> <span style="color: #933;">1px</span><span style="color: #00AA00;">;</span>
<span style="color: #000000; font-weight: bold;">width</span><span style="color: #00AA00;">:</span> <span style="color: #933;">1px</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span>
&nbsp;
<span style="color: #808080; font-style: italic;">/* This is the style for the container */</span>
div<span style="color: #6666ff;">.socialmedia_sidebar</span>
<span style="color: #00AA00;">&#123;</span>
<span style="color: #000000; font-weight: bold;">background</span><span style="color: #00AA00;">:</span> <span style="color: #cc00cc;">#eee</span><span style="color: #00AA00;">;</span>
<span style="color: #000000; font-weight: bold;">margin</span><span style="color: #00AA00;">:</span> <span style="color: #933;">-18px</span> <span style="color: #cc66cc;">0</span> <span style="color: #933;">5px</span> <span style="color: #cc66cc;">0</span><span style="color: #00AA00;">;</span>
<span style="color: #808080; font-style: italic;">/* If you are using this below the media box,
use a negative top margin to raise it up. If not, adjust accordingly */</span>
<span style="color: #000000; font-weight: bold;">padding</span><span style="color: #00AA00;">:</span> <span style="color: #933;">5px</span> <span style="color: #cc66cc;">0</span> <span style="color: #933;">5px</span> <span style="color: #933;">10px</span><span style="color: #00AA00;">;</span>
<span style="color: #000000; font-weight: bold;">border-top</span><span style="color: #00AA00;">:</span> <span style="color: #933;">1px</span> <span style="color: #993333;">dashed</span> <span style="color: #000000; font-weight: bold;">black</span><span style="color: #00AA00;">;</span>
<span style="color: #000000; font-weight: bold;">border-bottom</span><span style="color: #00AA00;">:</span> <span style="color: #933;">1px</span> <span style="color: #993333;">dashed</span> <span style="color: #000000; font-weight: bold;">black</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span>
&nbsp;
div<span style="color: #6666ff;">.socialmedia_sidebar</span> ul li<span style="color: #00AA00;">&#123;</span>
<span style="color: #000000; font-weight: bold;">float</span><span style="color: #00AA00;">:</span> <span style="color: #000000; font-weight: bold;">left</span><span style="color: #00AA00;">;</span>
<span style="color: #000000; font-weight: bold;">list-style</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">none</span><span style="color: #00AA00;">;</span>
<span style="color: #000000; font-weight: bold;">text-align</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">center</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span>
&nbsp;
div<span style="color: #6666ff;">.socialmedia_sidebar</span> span.name<span style="color: #00AA00;">&#123;</span>
<span style="color: #000000; font-weight: bold;">font-size</span><span style="color: #00AA00;">:</span> <span style="color: #933;">2em</span><span style="color: #00AA00;">;</span>
<span style="color: #000000; font-weight: bold;">display</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">block</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span>
&nbsp;
div<span style="color: #6666ff;">.socialmedia_sidebar</span> span.service<span style="color: #00AA00;">&#123;</span>
<span style="color: #000000; font-weight: bold;">font-style</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">italic</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span>
&nbsp;
div<span style="color: #6666ff;">.socialmedia_sidebar</span> ul li a<span style="color: #00AA00;">&#123;</span>
<span style="color: #000000; font-weight: bold;">width</span><span style="color: #00AA00;">:</span> <span style="color: #933;">200px</span><span style="color: #00AA00;">;</span>
<span style="color: #000000; font-weight: bold;">padding</span><span style="color: #00AA00;">:</span> <span style="color: #933;">5px</span><span style="color: #00AA00;">;</span>
<span style="color: #000000; font-weight: bold;">display</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">block</span><span style="color: #00AA00;">;</span>
<span style="color: #000000; font-weight: bold;">border</span><span style="color: #00AA00;">:</span> <span style="color: #933;">1px</span> <span style="color: #993333;">solid</span> <span style="color: #cc00cc;">#fff</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span>
&nbsp;
<span style="color: #808080; font-style: italic;">/* Non-hover profile links */</span>
<span style="color: #cc00cc;">#twitter</span><span style="color: #00AA00;">&#123;</span> <span style="color: #000000; font-weight: bold;">background</span><span style="color: #00AA00;">:</span> <span style="color: #cc00cc;">#FEF9BF</span> <span style="color: #993333;">url</span><span style="color: #00AA00;">&#40;</span><span style="color: #ff0000;">'##PATHTOTWITTERICON##'</span><span style="color: #00AA00;">&#41;</span> <span style="color: #933;">5px</span> <span style="color: #933;">5px</span> <span style="color: #993333;">no-repeat</span><span style="color: #00AA00;">;</span> <span style="color: #000000; font-weight: bold;">height</span><span style="color: #00AA00;">:</span> <span style="color: #933;">35px</span><span style="color: #00AA00;">;</span> <span style="color: #000000; font-weight: bold;">text-indent</span><span style="color: #00AA00;">:</span> <span style="color: #933;">35px</span><span style="color: #00AA00;">;</span><span style="color: #00AA00;">&#125;</span>
<span style="color: #cc00cc;">#facebook</span><span style="color: #00AA00;">&#123;</span> <span style="color: #000000; font-weight: bold;">background</span><span style="color: #00AA00;">:</span> <span style="color: #cc00cc;">#FEF9BF</span> <span style="color: #993333;">url</span><span style="color: #00AA00;">&#40;</span><span style="color: #ff0000;">'##PATHTOFACEBOOKICON##'</span><span style="color: #00AA00;">&#41;</span> <span style="color: #933;">5px</span> <span style="color: #933;">5px</span> <span style="color: #993333;">no-repeat</span><span style="color: #00AA00;">;</span> <span style="color: #000000; font-weight: bold;">height</span><span style="color: #00AA00;">:</span> <span style="color: #933;">35px</span><span style="color: #00AA00;">;</span> <span style="color: #000000; font-weight: bold;">text-indent</span><span style="color: #00AA00;">:</span> <span style="color: #933;">45px</span><span style="color: #00AA00;">;</span><span style="color: #00AA00;">&#125;</span>
<span style="color: #cc00cc;">#linkedin</span><span style="color: #00AA00;">&#123;</span> <span style="color: #000000; font-weight: bold;">background</span><span style="color: #00AA00;">:</span> <span style="color: #cc00cc;">#FEF9BF</span> <span style="color: #993333;">url</span><span style="color: #00AA00;">&#40;</span><span style="color: #ff0000;">'##PATHTOLINKEDINICON##'</span><span style="color: #00AA00;">&#41;</span> <span style="color: #933;">5px</span> <span style="color: #933;">5px</span> <span style="color: #993333;">no-repeat</span><span style="color: #00AA00;">;</span> <span style="color: #000000; font-weight: bold;">height</span><span style="color: #00AA00;">:</span> <span style="color: #933;">35px</span><span style="color: #00AA00;">;</span> <span style="color: #000000; font-weight: bold;">text-indent</span><span style="color: #00AA00;">:</span> <span style="color: #933;">40px</span><span style="color: #00AA00;">;</span><span style="color: #00AA00;">&#125;</span>
<span style="color: #cc00cc;">#rss</span><span style="color: #00AA00;">&#123;</span> <span style="color: #000000; font-weight: bold;">background</span><span style="color: #00AA00;">:</span> <span style="color: #cc00cc;">#FEF9BF</span> <span style="color: #993333;">url</span><span style="color: #00AA00;">&#40;</span><span style="color: #ff0000;">'##PATHTORSSICON##'</span><span style="color: #00AA00;">&#41;</span> <span style="color: #933;">5px</span> <span style="color: #933;">5px</span> <span style="color: #993333;">no-repeat</span><span style="color: #00AA00;">;</span> <span style="color: #000000; font-weight: bold;">height</span><span style="color: #00AA00;">:</span> <span style="color: #933;">35px</span><span style="color: #00AA00;">;</span> <span style="color: #000000; font-weight: bold;">text-indent</span><span style="color: #00AA00;">:</span> <span style="color: #933;">45px</span><span style="color: #00AA00;">;</span><span style="color: #00AA00;">&#125;</span>
&nbsp;
<span style="color: #808080; font-style: italic;">/* Hover profile links */</span>
<span style="color: #cc00cc;">#twitter</span><span style="color: #3333ff;">:hover</span><span style="color: #00AA00;">&#123;</span> <span style="color: #000000; font-weight: bold;">background</span><span style="color: #00AA00;">:</span> <span style="color: #cc00cc;">#999</span> <span style="color: #993333;">url</span><span style="color: #00AA00;">&#40;</span><span style="color: #ff0000;">'##PATHTOTWITTERICON##'</span><span style="color: #00AA00;">&#41;</span> <span style="color: #933;">5px</span> <span style="color: #933;">5px</span> <span style="color: #993333;">no-repeat</span><span style="color: #00AA00;">&#125;</span>
<span style="color: #cc00cc;">#facebook</span><span style="color: #3333ff;">:hover</span><span style="color: #00AA00;">&#123;</span> <span style="color: #000000; font-weight: bold;">background</span><span style="color: #00AA00;">:</span> <span style="color: #cc00cc;">#999</span> <span style="color: #993333;">url</span><span style="color: #00AA00;">&#40;</span><span style="color: #ff0000;">'##PATHTOFACEBOOKICON##'</span><span style="color: #00AA00;">&#41;</span> <span style="color: #933;">5px</span> <span style="color: #933;">5px</span> <span style="color: #993333;">no-repeat</span><span style="color: #00AA00;">&#125;</span>
<span style="color: #cc00cc;">#linkedin</span><span style="color: #3333ff;">:hover</span><span style="color: #00AA00;">&#123;</span> <span style="color: #000000; font-weight: bold;">background</span><span style="color: #00AA00;">:</span> <span style="color: #cc00cc;">#999</span> <span style="color: #993333;">url</span><span style="color: #00AA00;">&#40;</span><span style="color: #ff0000;">'##PATHTOLINKEDINICON##'</span><span style="color: #00AA00;">&#41;</span> <span style="color: #933;">5px</span> <span style="color: #933;">5px</span> <span style="color: #993333;">no-repeat</span><span style="color: #00AA00;">&#125;</span>
<span style="color: #cc00cc;">#rss</span><span style="color: #3333ff;">:hover</span><span style="color: #00AA00;">&#123;</span> <span style="color: #000000; font-weight: bold;">background</span><span style="color: #00AA00;">:</span> <span style="color: #cc00cc;">#999</span> <span style="color: #993333;">url</span><span style="color: #00AA00;">&#40;</span><span style="color: #ff0000;">'##PATHTORSSICON##'</span><span style="color: #00AA00;">&#41;</span> <span style="color: #933;">5px</span> <span style="color: #933;">5px</span> <span style="color: #993333;">no-repeat</span><span style="color: #00AA00;">&#125;</span></pre></div></div>

<p><strong>Step 3 &#8211; </strong>This is how it will looks when done.</p>
<div id="attachment_89" class="wp-caption alignleft" style="width: 150px">
	<a href="http://adambarber.tv/wp-content/uploads/2009/06/final1.png"><img class="size-thumbnail wp-image-89" title="Thesis Social Media Links" src="http://adambarber.tv/wp-content/uploads/2009/06/final1-150x150.png" alt="Thesis Social Media Links" width="150" height="150" /></a>
	<p class="wp-caption-text">Thesis Social Media Links</p>
</div>
<img src="http://adambarber.tv/?ak_action=api_record_view&id=88&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://adambarber.tv/2009/adding-social-media-links-to-thesis/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
		<item>
		<title>Widgetize the Thesis Media Box!</title>
		<link>http://adambarber.tv/2009/widgetize-the-thesis-media-box/</link>
		<comments>http://adambarber.tv/2009/widgetize-the-thesis-media-box/#comments</comments>
		<pubDate>Sat, 27 Jun 2009 01:13:54 +0000</pubDate>
		<dc:creator>adam</dc:creator>
				<category><![CDATA[Thesis Stuff]]></category>

		<guid isPermaLink="false">http://adambarber.tv/?p=51</guid>
		<description><![CDATA[Have you ever wanted to be able to quickly modify the Thesis media box, and turn it into a widget-ready area? The tutorial below outlines the steps you need to take to make that happen. This is especially useful if you use NextGen Gallery and want to be able to display random image from the [...]]]></description>
			<content:encoded><![CDATA[<p></p><p>Have you ever wanted to be able to quickly modify the Thesis media box, and turn it into a widget-ready area? The tutorial below outlines the steps you need to take to make that happen. This is especially useful if you use NextGen Gallery and want to be able to display random image from the gallery, directly in the media box.</p>
<p><strong>Step 1 </strong>- <em>Open your custom_functions.php file and add the following.</em></p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
</pre></td><td class="code"><pre class="php" style="font-family:monospace;"><span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span> <span style="color: #990000;">function_exists</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'register_sidebar'</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#41;</span>
register_sidebar<span style="color: #009900;">&#40;</span><span style="color: #990000;">array</span><span style="color: #009900;">&#40;</span>
<span style="color: #0000ff;">'name'</span><span style="color: #339933;">=&gt;</span><span style="color: #0000ff;">'Media Box'</span><span style="color: #339933;">,</span>
<span style="color: #0000ff;">'before_widget'</span> <span style="color: #339933;">=&gt;</span> <span style="color: #0000ff;">'&lt;li class=&quot;widget %2$s&quot;&gt;'</span><span style="color: #339933;">,</span>
<span style="color: #0000ff;">'after_widget'</span> <span style="color: #339933;">=&gt;</span> <span style="color: #0000ff;">'&lt;/li&gt;'</span><span style="color: #339933;">,</span>
<span style="color: #0000ff;">'before_title'</span> <span style="color: #339933;">=&gt;</span> <span style="color: #0000ff;">'&lt;h3&gt;'</span><span style="color: #339933;">,</span>
<span style="color: #0000ff;">'after_title'</span> <span style="color: #339933;">=&gt;</span> <span style="color: #0000ff;">'&lt;/h3&gt;'</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></td></tr></table></div>

<p><strong>Step 2</strong> &#8211; <em>While still in custom_functions.php add this.</em></p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
</pre></td><td class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">function</span> mediabox_widget<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
<span style="color: #b1b100;">echo</span> <span style="color: #0000ff;">'&lt;ul class=&quot;sidebar_list&quot;&gt;'</span><span style="color: #339933;">;</span>
<span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span> <span style="color: #339933;">!</span><span style="color: #990000;">function_exists</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'dynamic_sidebar'</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">||</span> <span style="color: #339933;">!</span>dynamic_sidebar<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'Media Box'</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#41;</span> <span style="color: #339933;">:</span>
<span style="color: #b1b100;">echo</span> <span style="color: #0000ff;">'&lt;/ul&gt;'</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #b1b100;">endif</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span>
add_action<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'thesis_hook_multimedia_box'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'mediabox_widget'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></td></tr></table></div>

<p><strong>Step 3 </strong>- E<em>nable &#8220;custom code&#8221; for the media box, under the Thesis Options admin panel.</em></p>
<p><strong>Step 4 </strong>-<em> Go to the widgets admin area, select &#8220;Media Box&#8221; and add your widgets.</em></p>
<p>That&#8217;s it! Easy, right?</p>
<img src="http://adambarber.tv/?ak_action=api_record_view&id=51&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://adambarber.tv/2009/widgetize-the-thesis-media-box/feed/</wfw:commentRss>
		<slash:comments>19</slash:comments>
		</item>
	</channel>
</rss>
