<?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>Sugarrae &#187; Blogging It</title>
	<atom:link href="http://www.sugarrae.com/category/blogging-it/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.sugarrae.com</link>
	<description>Never Mess With a Woman Who Can Pull Rank</description>
	<lastBuildDate>Thu, 25 Feb 2010 17:10:30 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.5</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
		<item>
		<title>Testing</title>
		<link>http://www.sugarrae.com/testing1/</link>
		<comments>http://www.sugarrae.com/testing1/#comments</comments>
		<pubDate>Wed, 22 Jul 2009 19:45:12 +0000</pubDate>
		<dc:creator>Rae Hoffman</dc:creator>
				<category><![CDATA[Blogging It]]></category>

		<guid isPermaLink="false">http://www.sugarrae.com/?p=2823</guid>
		<description><![CDATA[<p>Please ignore :)</p>
<p><a href="http://www.sugarrae.com/testing/">Testing something</a></p>
<p>Thanks.</p>
<p>This post originated at the <a href="http://www.sugarrae.com">Sugarrae online marketing blog</a>, home to <a href="http://www.sugarrae.com/about/">online marketing consultant</a> Rae Hoffman.<br/><br/><a href="http://www.sugarrae.com/testing1/">Testing</a></p>
<p>This post originated at the <a href="http://www.sugarrae.com">Sugarrae online marketing blog</a>, home to <a href="http://www.sugarrae.com/about/">online marketing consultant</a> Rae Hoffman.<br/><br/><a href="http://www.sugarrae.com/testing1/">Testing</a></p>
]]></description>
		<wfw:commentRss>http://www.sugarrae.com/testing1/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Thesis Tutorial &#8211; Creating Custom Categories</title>
		<link>http://www.sugarrae.com/thesis-tutorial-creating-custom-categories/</link>
		<comments>http://www.sugarrae.com/thesis-tutorial-creating-custom-categories/#comments</comments>
		<pubDate>Sat, 28 Mar 2009 23:57:57 +0000</pubDate>
		<dc:creator>Rae Hoffman</dc:creator>
				<category><![CDATA[Blogging It]]></category>
		<category><![CDATA[blogging]]></category>
		<category><![CDATA[Thesis]]></category>
		<category><![CDATA[tutorials]]></category>
		<category><![CDATA[wordpress themes]]></category>

		<guid isPermaLink="false">http://www.sugarrae.com/?p=2744</guid>
		<description><![CDATA[<p><img src="http://www.sugarrae.com/wp-content/uploads/2009/03/customcategories.jpg" alt="Creating Custom Categories" title="Creating Custom Categories" width="125" height="125" class="alignright size-full wp-image-2771" />I get asked at least once per week how I got the custom content on my category pages (you can check out the <a href="http://www.sugarrae.com/category/affiliate-marketing/">affiliate marketing category</a> here on Sugarrae or the <a href="http://outspokenmedia.com/more/internet-marketing-conferences/">SEO conference category</a> on Outspoken Media to see examples). The answer are custom category hooks and the instructions for creating them are below.<br />
<!--more--><br />
Now first, I&#8217;d like to say that having custom categories is possible in any Wordpress theme. So, if you&#8217;re not using Thesis, all you need to do is duplicate the basic category.php template of your theme and and then customize it for each category, name it category-#.php (with # being the actual number of the category you have customized that template for) and upload it to your theme file. Wordpress by default <a href="http://codex.wordpress.org/Category_Templates">will first check for</a> a category-#.php file before it renders the plain category.php if a custom one does not exist.</p>
<p>That said, if you plan to customize every category on your blog, I&#8217;d highly suggest switching to the <a href="http://www.sugarrae.com/hop/thesis.html">Thesis platform</a>. Why? Well, if you go to change blog layouts or designs in the future, you will have to re-create every single custom category template in the new theme. With Thesis, if you change the design, the hooks still remain. You do it once and don&#8217;t have to worry about it again.</p>
<p>For those of us already on the Thesis theme, adding the hooks to do the custom categories is fairly easy. However, please note that you need to be on Thesis 1.4 or higher for the instructions below to work. If you&#8217;re still using an older version of the theme, you need to <a href="http://www.sugarrae.com/hop/thesis.html">upgrade</a>. I&#8217;d also recommend reading <a href="http://www.sugarrae.com/thesis-hooks-dummies-tutorial/">hooks for dummies</a> before attempting the below so you get an idea of how hooks work so the code below makes more sense.</p>
<h3>Creating Custom Categories</h3>
<p>Let’s say you want to add some custom text to the top of your &#8220;apples&#8221; category page, above where the listing of your posts in that category appear and different custom text to the top of your &#8220;oranges&#8221; category page.</p>
<p>Step 1: Open your custom_functions.php file (thesis > custom > custom_functions.php) in your favorite editor</p>
<p>Step 2: Underneath the example code already in the file, place the following code (this code assumes your blog is in the root):</p>
<blockquote><p>
/* Custom Categories */<br />
function custom_archive_info() {<br />
if (is_category(&#39;apples&#39;)) {<br />
?&#62;<br />
&#60;div class=&#34;post_box top intro_block&#34;&#62;<br />
&#60;div class=&#34;headline_area&#34;&#62;<br />
&#60;h1&#62;&#60;?php single_cat_title(); ?&#62;&#60;/h1&#62;<br />
&#60;/div&#62;<br />
&#60;div class=&#34;format_text&#34;&#62;<br />
&#60;p&#62;YOUR CUSTOM APPLES TEXT HERE&#60;/p&#62;<br />
&#60;/div&#62;<br />
&#60;/div&#62;<br />
&#60;?php<br />
}<br />
elseif (is_category(&#39;oranges&#39;)) {<br />
?><br />
&#60;div class=&#34;post_box top intro_block&#34;&#62;<br />
&#60;div class=&#34;headline_area&#34;&#62;<br />
&#60;h1&#62;&#60;?php single_cat_title(); ?&#62;&#60;/h1&#62;<br />
&#60;/div&#62;<br />
&#60;div class=&#34;format_text&#34;&#62;<br />
&#60;p>YOUR CUSTOM ORANGES TEXT HERE&#60;/p&#62;<br />
&#60;/div&#62;<br />
&#60;/div&#62;<br />
&#60;?php<br />
}<br />
else<br />
thesis_default_archive_info();<br />
}<br />
remove_action(&#39;thesis_hook_archive_info&#39;, &#39;thesis_default_archive_info&#39;);<br />
add_action(&#39;thesis_hook_archive_info&#39;, &#39;custom_archive_info&#39;);
</p></blockquote>
<p>The /* Custom Categories */ is a label for the code below so you know what it is at a single glance. This is not part of the actual “code”. The word “function” tells Thesis you want it to do something. The custom_archive_info is what I decided to name that function.</p>
<p>The if (is_category(&#8217;apples&#8217;)) tells Thesis the category archive page you are looking to alter is the apples category. It goes by post slug of the category. So if the url of your category page is www.yourblog.com/category/learning-seo/ then you would use if (is_category(&#8217;learning-seo&#8217;)) in place of if (is_category(&#8217;apples&#8217;)). This line says IF the category is &#8220;apples&#8221; then insert the custom text below.</p>
<p>Now, the next portion of the code is an &#8220;else if&#8221; statement. If the category is apples, then it will insert the specified text outlined in (is_category(&#8217;apples&#8217;)) OR if (elseif) the category is oranges, it will insert the specified text outlined in (is_category(&#8217;oranges&#8217;)). The last portion of the code (else) basically says if it is anything else aside from the categories specified above, then use this default code (which happens to be the regular Thesis category page).</p>
<p>So you start with the initial &#8220;if&#8221; statement (the first category that you specify &#8211; choose any one you want) and then all subsequent categories would be &#8220;elseif&#8221; statements followed by the &#8220;default&#8221; &#8220;else&#8221; statement of what to use if you haven&#8217;t specified anything specific.</p>
<p>You can add more categories by simply adding more &#8220;elseif&#8221; statements:</p>
<blockquote><p>
elseif (is_category(&#39;yet-another-category&#39;)) {<br />
?><br />
&#60;div class=&#34;post_box top intro_block&#34;&#62;<br />
&#60;div class=&#34;headline_area&#34;&#62;<br />
&#60;h1&#62;&#60;?php single_cat_title(); ?&#62;&#60;/h1&#62;<br />
&#60;/div&#62;<br />
&#60;div class=&#34;format_text&#34;&#62;<br />
&#60;p>YOUR CUSTOM TEXT FOR THIS CATEGORY HERE&#60;/p&#62;<br />
&#60;/div&#62;<br />
&#60;/div&#62;<br />
&#60;?php<br />
}
</p></blockquote>
<p>Between the first &#8220;elseif&#8221; statement and the &#8220;else&#8221; statement in the example above:</p>
<blockquote><p>
elseif (is_category(&#39;oranges&#39;)) {<br />
?><br />
&#60;div class=&#34;post_box top intro_block&#34;&#62;<br />
&#60;div class=&#34;headline_area&#34;&#62;<br />
&#60;h1&#62;&#60;?php single_cat_title(); ?&#62;&#60;/h1&#62;<br />
&#60;/div&#62;<br />
&#60;div class=&#34;format_text&#34;&#62;<br />
&#60;p>YOUR CUSTOM ORANGES TEXT HERE&#60;/p&#62;<br />
&#60;/div&#62;<br />
&#60;/div&#62;<br />
&#60;?php<br />
}<br />
ADD MORE ELSEIF STATEMENTS (AKA CATEGORIES) HERE<br />
else<br />
thesis_default_archive_info();<br />
}
</p></blockquote>
<p>The last two lines of the initial code example above:</p>
<blockquote><p>
remove_action(&#39;thesis_hook_archive_info&#39;, &#39;thesis_default_archive_info&#39;);<br />
add_action(&#39;thesis_hook_archive_info&#39;, &#39;custom_archive_info&#39;);
</p></blockquote>
<p>Basically tell Thesis you want to remove the &#8220;thesis_default_archive_info&#8221; function (the default category instructions) from the &#8220;thesis_hook_archive_info&#8221; and replace it with the &#8220;custom_archive_info&#8221; function (which contains the new category instructions you just made).</p>
<h3>Creating Custom Tag Pages</h3>
<p>If you use tags instead of (or in addition to) categories and would like to create custom pages for those as well, just replace:</p>
<blockquote><p>
(is_category(&#39;yet-another-category&#39;))
</p></blockquote>
<p>with:</p>
<blockquote><p>
(is_tag(&#39;tag-slug&#39;))
</p></blockquote>
<p>If you&#8217;re using the Thesis theme already and have read my other <a href="http://www.sugarrae.com/tag/thesis/">Thesis tutorials</a> you&#8217;ll probably find this process pretty easy. If you haven&#8217;t made the switch to using <a href="http://www.sugarrae.com/hop/thesis.html">Thesis</a> yet, I&#8217;d highly recommend you read my review of the <a href="http://www.sugarrae.com/a-review-of-the-thesis-wordpress-theme/">Thesis theme</a>, as well as the tutorials to get a sense of why I am such a loud-mouthed and enthusiastic evangelist for this theme.</p>
<p>This post originated at the <a href="http://www.sugarrae.com">Sugarrae online marketing blog</a>, home to <a href="http://www.sugarrae.com/about/">online marketing consultant</a> Rae Hoffman.<br/><br/><a href="http://www.sugarrae.com/thesis-tutorial-creating-custom-categories/">Thesis Tutorial &#8211; Creating Custom Categories</a></p>
<p>This post originated at the <a href="http://www.sugarrae.com">Sugarrae online marketing blog</a>, home to <a href="http://www.sugarrae.com/about/">online marketing consultant</a> Rae Hoffman.<br/><br/><a href="http://www.sugarrae.com/thesis-tutorial-creating-custom-categories/">Thesis Tutorial &#8211; Creating Custom Categories</a></p>
]]></description>
		<wfw:commentRss>http://www.sugarrae.com/thesis-tutorial-creating-custom-categories/feed/</wfw:commentRss>
		<slash:comments>32</slash:comments>
		</item>
		<item>
		<title>Thesis Tutorial &#8211; Customizing the 404 Page</title>
		<link>http://www.sugarrae.com/thesis-tutorial-custom-404/</link>
		<comments>http://www.sugarrae.com/thesis-tutorial-custom-404/#comments</comments>
		<pubDate>Wed, 14 Jan 2009 12:32:32 +0000</pubDate>
		<dc:creator>Rae Hoffman</dc:creator>
				<category><![CDATA[Blogging It]]></category>
		<category><![CDATA[blogging]]></category>
		<category><![CDATA[Thesis]]></category>
		<category><![CDATA[tutorials]]></category>
		<category><![CDATA[wordpress themes]]></category>

		<guid isPermaLink="false">http://www.sugarrae.com/?p=2514</guid>
		<description><![CDATA[<p><img src="http://www.sugarrae.com/wp-content/uploads/2009/01/404.jpg" alt="404 Error" title="404 Error" width="150" height="150" class="alignleft size-full wp-image-2544" />A few weeks ago, I published a <a href="http://www.sugarrae.com/a-review-of-the-thesis-wordpress-theme/">Thesis theme</a> tutorial that showed you how to do <a href="http://www.sugarrae.com/thesis-tutorial-advanced-ad-targeting/">advanced ad targeting</a>. The tutorial showed you how to assign ads to be different based on the category the posts were filed in, as well as change them on a post by post basis.</p>
<p>While <a href="http://diythemes.com/thesis/pagethatdoesntexist">&#8220;You 404&#8242;d it. Gnarly, dude.&#8221;</a> is a semi-custom page since it does keep with your theme and design, you may want to give it a little bit of <a href="http://www.sugarrae.com/nothere">your own personality and wording</a> to make it truly &#8220;custom&#8221;. Below, I&#8217;ll show you how to do it.<br />
<!--more--><br />
Step 1: Open your custom_functions.php file (thesis > custom > custom_functions.php) in your favorite editor</p>
<p>Step 2: Underneath the example code already in the file, place the following code (this code assumes your blog is in the root):</p>
<blockquote><p>
 /* Custom 404 Hooks */<br />
function custom_thesis_404_title() {<br />
?&#62;<br />
YOUR 404 PAGE HEADING HERE<br />
&#60;?<br />
}</p>
<p>remove_action(&#8217;thesis_hook_404_title&#8217;, &#8217;thesis_404_title&#8217;);<br />
add_action(&#8217;thesis_hook_404_title&#8217;, &#8217;custom_thesis_404_title&#8217;);</p>
<p>function custom_thesis_404_content() {<br />
?&#62;<br />
&#60;p&#62;WHATEVER YOU WANT YOUR 404 PAGE TO SAY HERE&#60;/p&#62;<br />
&#60;?<br />
}</p>
<p>remove_action(&#8217;thesis_hook_404_content&#8217;, &#8217;thesis_404_content&#8217;);<br />
add_action(&#8217;thesis_hook_404_content&#8217;, &#8217;custom_thesis_404_content&#8217;);
</p></blockquote>
<p>The /* Custom 404 Hooks */ is a label for the code below so you know what it is at a single glance and is not part of the actual &#8220;code&#8221;. The word &#8220;function&#8221; tells Thesis you want it to do something. The custom_thesis_404_title is what I decided to name that function.</p>
<p>You&#8217;ll notice this code has two functions. One controls the 404 page heading (custom_thesis_404_title) and one controls the 404 page content (custom_thesis_404_content).</p>
<p>The code is pretty self-explanatory on how to edit. The two lines underneath each function tell Thesis to remove it&#8217;s default thesis_404_title and thesis_404_content and replace each with the custom versions. (See <a href="http://www.sugarrae.com/thesis-hooks-dummies-tutorial/">hooks for dummies</a> for a more detailed explanation of how this hook &#8220;works.&#8221;)</p>
<p>Custom 404 pages are your only chance to turn a lost visitor into a site user, so you want to make sure you serve up something that makes a good first impression. If you need some 404 inspiration, check out these <a href="http://blogof.francescomugnai.com/2008/08/the-100-most-funny-and-unusual-404-error-pages/">100 awesome and creative 404 error pages</a>.</p>
<p>This post originated at the <a href="http://www.sugarrae.com">Sugarrae online marketing blog</a>, home to <a href="http://www.sugarrae.com/about/">online marketing consultant</a> Rae Hoffman.<br/><br/><a href="http://www.sugarrae.com/thesis-tutorial-custom-404/">Thesis Tutorial &#8211; Customizing the 404 Page</a></p>
<p>This post originated at the <a href="http://www.sugarrae.com">Sugarrae online marketing blog</a>, home to <a href="http://www.sugarrae.com/about/">online marketing consultant</a> Rae Hoffman.<br/><br/><a href="http://www.sugarrae.com/thesis-tutorial-custom-404/">Thesis Tutorial &#8211; Customizing the 404 Page</a></p>
]]></description>
		<wfw:commentRss>http://www.sugarrae.com/thesis-tutorial-custom-404/feed/</wfw:commentRss>
		<slash:comments>27</slash:comments>
		</item>
		<item>
		<title>Thesis Tutorial &#8211; Advanced Ad Targeting</title>
		<link>http://www.sugarrae.com/thesis-tutorial-advanced-ad-targeting/</link>
		<comments>http://www.sugarrae.com/thesis-tutorial-advanced-ad-targeting/#comments</comments>
		<pubDate>Mon, 29 Dec 2008 16:08:23 +0000</pubDate>
		<dc:creator>Rae Hoffman</dc:creator>
				<category><![CDATA[Blogging It]]></category>
		<category><![CDATA[blogging]]></category>
		<category><![CDATA[Thesis]]></category>
		<category><![CDATA[tutorials]]></category>
		<category><![CDATA[Website Monetization]]></category>
		<category><![CDATA[wordpress themes]]></category>

		<guid isPermaLink="false">http://www.sugarrae.com/?p=2344</guid>
		<description><![CDATA[<p><img src="http://www.sugarrae.com/wp-content/uploads/2008/12/adtargeting.jpg" alt="" title="Ad Targeting" width="150" height="150" class="alignright size-full wp-image-2393" />Since my last tutorial explaining the basics of the newly unveiled <a href="http://www.sugarrae.com/thesis-hooks-dummies-tutorial/">Thesis hooks</a> was so well received, I thought I&#8217;d show you a bit more of how advanced the <a href="http://www.sugarrae.com/a-review-of-the-thesis-wordpress-theme/">Thesis theme</a> really is.</p>
<p>Not only will I &#8220;show&#8221; you, but I&#8217;ll also teach you how to take advantage of it on your own personal or professional blog.</p>
<p>If you look at my site, you&#8217;ll notice I run a large graphical ad above the fold on the Sugarrae website:<br />
<!--more--><br />
<img src="http://www.sugarrae.com/wp-content/uploads/2008/12/sugarraead.jpg" alt="" title="Example Ad" width="375" height="250" class="aligncenter size-full wp-image-2391" /><br />
Ok, big deal Rae&#8230; we already know Thesis can use more custom ad targeting than most themes and that you can specify specific ads on a page by page basis:</p>
<blockquote><p>Imagine you own an SEO blog but get a lot of traffic from people searching for routers due to a <a href="http://www.shandyking.com/2007/02/18/hijack-hacked-linksys-wireless-router/">one off post you did</a>&hellip; with Thesis, you can change your advertising on that single page to be router related without forcing you to rely on <a href="http://www.sugarrae.com/the-lazy-seo-vs-the-lazy-monetizer/">webmaster welfare</a> to do it for you. &#8211; <a href="http://www.sugarrae.com/a-review-of-the-thesis-wordpress-theme/">Source</a></p></blockquote>
<p>And it is one of my favorite features about Thesis. You didn&#8217;t need to pick one &#8220;sitewide ad&#8221;. But after implementing &#8220;post specific&#8221; ads heavily, I needed to change a &#8220;non converting&#8221; ad. The problem was that I had to change the ad on every individual post (and good luck on remembering exactly which pages have which ads if you have several hundred posts).</p>
<p>Additionally, there was no way to specify an ad on a specific category page. It always showed the &#8220;sitewide&#8221; ad by default. While my <a href="http://www.sugarrae.com/category/blogging-it/">blogging</a> category page would do well showing an ad for the Thesis theme, my <a href="http://www.sugarrae.com/category/affiliate-marketing/">affiliate marketing</a> category page would likely do better showing an ad for Linkshare or Pepperjam.</p>
<p>What I wanted was the ability to:</p>
<ul>
<li>Specify a specific ad for each individual category page on my blog</li>
<li>Have posts filed in each category show the &#8220;category ad&#8221; for its category by default</li>
<li>Still be able to override the default ad on a single post if I choose</li>
</ul>
<p>For example:</p>
<ul>
<li>I want to show an ad for Pepperjam on my <a href="http://www.sugarrae.com/category/affiliate-marketing/">affiliate marketing category page</a></li>
<li>I want all posts <a href="http://www.sugarrae.com/examples-affiliate-branding/">filed in</a> the affiliate marketing category to have that same Pepperjam ad by default</li>
<li>I want to still be able to override that default Pepperjam ad on a single post <a href="http://www.sugarrae.com/silver-bullet/">with an ad for Linkshare</a> if I choose</li>
</ul>
<p>And by using hooks, I&#8217;m able to do all of the above. And now you can too.</p>
<h3>Example: Specifying Custom Category Ads</h3>
<p>Let&#8217;s say you want to show an ad for Acme Lightbulbs on the main page of your lightbulbs category and have that ad be the default ad for all single posts in the lightbulbs category. You also want to show an ad for Granny Apples in your apples category and have that ad be the default ad for single posts in the apples category. On all other site pages, you want to show an ad for Thesis.</p>
<p>Step 1: Upload the graphics you want to add to show up in your multimedia box to the custom images folder (thesis > custom > images > put your image here)</p>
<p>Step 2: Open your custom_functions.php file (thesis > custom > custom_functions.php) in your favorite editor</p>
<p>Step 3: Underneath the example code already in the file, place the following code (this code assumes your blog is in the root):</p>
<blockquote><p>
/* Multimedia Box */<br />
function custom_ad_box() {<br />
	$categories = thesis_get_categories();</p>
<p>	if ($categories) {<br />
		if (is_category(&#39;lightbulbs&#39;) || in_category($categories[&#39;lightbulbs&#39;]))<br />
			lightbulb_ad();<br />
		elseif (is_category(&#39;apples&#39;) || in_category($categories[&#39;apples&#39;]))<br />
			apples_ad();<br />
		else<br />
			generic_ad();<br />
	}<br />
}</p>
<p>function thesis_get_categories() {<br />
	$raw_categories = &#038;get_categories(&#39;type=post&#39;);</p>
<p>	if ($raw_categories) {<br />
		$categories = array();</p>
<p>		foreach ($raw_categories as $category)<br />
			$categories[$category &#45; &#62;slug] = $category &#45; &#62;cat_ID;</p>
<p>		return $categories;<br />
	}<br />
}</p>
<p>add_action(&#39;thesis_hook_multimedia_box&#39;, &#39;custom_ad_box&#39;);
</p></blockquote>
<p>The /* Stuff Inside Here */ is a label for the code below so you know what it is at a single glance. This is not part of the actual &#8220;code&#8221;. The word &#8220;function&#8221; tells Thesis you want it to do something. The custom_ad_box is what I decided to name that function.</p>
<p>The code underneath it basically says if that category is lightbulbs (the name you enter here is based on the &#8220;slug&#8221; of your category. So if your category url is www.domain.com/category-here/ then you would enter &#8220;category-here&#8221; without the quotes in place of &#8220;lightbulbs&#8221;) then the category should show the ad named &#8220;ad_lightbulb&#8221; (we&#8217;ll define how to create your ad next). &#8211; &#8220;if is_category&#8221;</p>
<p>If the category is not lightbulbs, then it will check to see if the category is apples and if it is, it will show the ad named &#8220;ad_apples&#8221;. &#8211; &#8220;elseif is_category&#8221;</p>
<p>If the category is not any of those defined in the code (in this case, lightbulbs and apples) then it will show the ad named &#8220;generic_ad&#8221;. &#8211; &#8220;else&#8221;</p>
<p>The second function in the above code, which is function thesis_get_categories is generic and should not be changed. The only changes you need to make are to the category names and names of the ads to be shown or adding additional &#8220;elseif is_category&#8221; lines.</p>
<p>The add_action(&#39;thesis_hook_multimedia_box&#39;, &#39;custom_ad_box&#39;); line tells Thesis that you want it to add a function in the multimedia box and the function you want to add is the one we just created &#8211; the custom_ad_box function.</p>
<p>Now that Thesis knows what ad name to show on what categories, we need to define the ads themselves.</p>
<blockquote><p>
/* Custom Ads */<br />
function lightbulbs_ad() {<br />
?&#62;<br />
&#60;a href=&quot;http://www.LINKLIGHTBULBADISLINKEDTOHERE.com/&quot;&#62;&#60;img src=&quot;THE-URL-OF-YOUR-LIGHTBULB-AD-IMAGE-GOES-HERE&quot;&#62;&#60;/a&#62;<br />
&#60;?php<br />
}</p>
<p>function apples_ad() {<br />
?&#62;<br />
&#60;a href=&quot;http://www.LINKAPPLESADISLINKEDTOHERE.com/&quot;&#62;&#60;img src=&quot;THE-URL-OF-YOUR-APPLES-AD-IMAGE-GOES-HERE&quot;&#62;&#60;/a&#62;<br />
&#60;?php<br />
}</p>
<p>function generic_ad() {<br />
?&#62;<br />
&#60;a href=&quot;http://www.LINKGENERICADISLINKEDTOHERE.com/&quot;&#62;&#60;img src=&quot;THE-URL-OF-YOUR-GENERIC-AD-IMAGE-GOES-HERE&quot;&#62;&#60;/a&#62;<br />
&#60;?php<br />
}
</p></blockquote>
<p>As with before, the /* Stuff Inside Here */ is a label for the code below so you know what it is at a single glance. This is not part of the actual &#8220;code&#8221;. The word &#8220;function&#8221; tells Thesis you want it to do something. In this case, we&#8217;re defining three &#8220;functions&#8221; which are ads to be used in the custom_ad_box function we already defined above we decided to name lightbulbs_ad, apples_ad and generic_ad. Just put the HTML for whatever you want to appear in that ad slot there:</p>
<blockquote><p>
function name_of_ad() {<br />
?&#62;<br />
HTML HERE<br />
&#60;?php<br />
}
</p></blockquote>
<p>I first defined what ads should appear where and then defined the ads themselves underneath. However, if you find it easier, you can always define the ads first and then define where they should appear second. The order doesn&#8217;t matter as long as you both define the ads and in what categories they should appear.</p>
<p>That said, please note that if you were previously using the &#8220;custom code&#8221; option in the Thesis options panel, and there is code in there currently, you will need to remove the code and hit the big ass save button to see your new ad hooks display.</p>
<p>You can override the default ad shown for any category on a single post basis the same way as before:</p>
<blockquote><p>
I&rsquo;m able to override the base choice I&#8217;ve made of what to show in that area for the majority of my site pages/posts in the Thesis control panel, all without ever having to touch a drop of code in the Wordpress templates by utilizing the custom key option on the specific page or post.</p>
<p><a href="http://www.sugarrae.com/pictures/thesisim/thesis3.jpg"><img src="http://www.sugarrae.com/pictures/thesisim/thesis3mini.jpg"></a></p>
<p>If you view the photo above, you&rsquo;ll see I was able to select the &#8220;custom&#8221; key I defined in the Thesis control panel and &#8220;override it&#8221; and insert specific code to replace the normal &#8220;custom&#8221; key, only for this post.
</p></blockquote>
<p>If you&#8217;re still not using Thesis, <a href="http://www.sugarrae.com/hop/thesis.html">get on board</a>. This is the first of many cool tutorials I&#8217;ll have coming in the next few months that show why Thesis is quickly moving from being the &#8220;best theme choice&#8221; for a professional blog to being the &#8220;only choice&#8221;.</p>
<p>This post originated at the <a href="http://www.sugarrae.com">Sugarrae online marketing blog</a>, home to <a href="http://www.sugarrae.com/about/">online marketing consultant</a> Rae Hoffman.<br/><br/><a href="http://www.sugarrae.com/thesis-tutorial-advanced-ad-targeting/">Thesis Tutorial &#8211; Advanced Ad Targeting</a></p>
<p>This post originated at the <a href="http://www.sugarrae.com">Sugarrae online marketing blog</a>, home to <a href="http://www.sugarrae.com/about/">online marketing consultant</a> Rae Hoffman.<br/><br/><a href="http://www.sugarrae.com/thesis-tutorial-advanced-ad-targeting/">Thesis Tutorial &#8211; Advanced Ad Targeting</a></p>
]]></description>
		<wfw:commentRss>http://www.sugarrae.com/thesis-tutorial-advanced-ad-targeting/feed/</wfw:commentRss>
		<slash:comments>31</slash:comments>
		</item>
		<item>
		<title>Thesis Tutorial &#8211; Hooks for Dummies</title>
		<link>http://www.sugarrae.com/thesis-hooks-dummies-tutorial/</link>
		<comments>http://www.sugarrae.com/thesis-hooks-dummies-tutorial/#comments</comments>
		<pubDate>Fri, 28 Nov 2008 00:36:13 +0000</pubDate>
		<dc:creator>Rae Hoffman</dc:creator>
				<category><![CDATA[Blogging It]]></category>
		<category><![CDATA[blogging]]></category>
		<category><![CDATA[Thesis]]></category>
		<category><![CDATA[tutorials]]></category>
		<category><![CDATA[wordpress themes]]></category>

		<guid isPermaLink="false">http://www.sugarrae.com/?p=1790</guid>
		<description><![CDATA[<p><img src="http://www.sugarrae.com/wp-content/uploads/2008/11/tutorial.gif" alt="" title="Tutorial" width="150" height="150" class="alignright size-full wp-image-1865" />By now, most people know that I am an evangelist for the <a href="http://www.sugarrae.com/a-review-of-the-thesis-wordpress-theme/">Thesis theme</a> and that the Sugarrae site actually runs on the theme. </p>
<p>When <a href="http://twitter.com/pearsonified">Chris Pearson</a> announced the <a href="http://www.sugarrae.com/hop/thesis.html">newest release of Thesis</a>, it touted a bunch of great new features and fixed most of my previous gripes. Users who don&#8217;t know CSS or PHP have more control with the new thesis them than with any other theme I&#8217;ve ever seen. </p>
<p>It looked completely awesome until I downloaded it and saw that Thesis was now run completely on <a href="http://diythemes.com/thesis/rtfm/hooks/">&#8220;hooks&#8221;</a>. Not only did I not know what a hook was, the <a href="http://diythemes.com/thesis/rtfm/customizing-with-hooks/">tutorials</a> and discussions I saw about it scared the hell out of me.<br />
<!--more--><br />
My level of PHP knowledge (the code language <a href="http://wordpress.org/">WordPress</a> is run on) is slight at best, thus why I was so thrilled in my earlier review:</p>
<blockquote><p>You can do everything Thesis does without putting down any money buying the theme. Hell, you could also <a href="http://autoshows.ford.com/">do this</a> with wordpress if you knew how to (yes, <a href="http://www.webhelpermagazine.com/2008/04/wordpress-wow-seven-top-sites-using-wordpress-as-a-cms/">no shit</a>).</p>
<p>Now, <b>you</b> might be someone who can do all this without buying Thesis.</p>
<p>However, <b>I</b> am not. So I <a href="http://www.sugarrae.com/hop/thesis.html">bought Thesis</a>.</p></blockquote>
<p>Now I suddenly was in need of &#8220;hooks&#8221; to do any &#8220;out of the ordinary&#8221; customizations (such as adding social bookmarking plugins). I opened up my index template and saw this (and ONLY this):</p>
<blockquote><p>&#60;?php thesis_html_framework(); ?&#62;</p></blockquote>
<p>The single post template was missing. The tutorials were in Japanese as far as I was concerned. Thesis was now either for the very basic or the very advanced&#8230; those of us hacking plugins into core files were out of luck. What the hell was I supposed to do now? </p>
<p>So I <strike>whined to</strike> told Pearson that I didn&#8217;t understand this or like this one bit. He assured me hooks were easy. He assured me once I learned them, I&#8217;d love them. He sent me a link to one of the tutorials. I suddenly realized how people who don&#8217;t know SEO must feel reading a document about <a href="http://en.wikipedia.org/wiki/Latent_semantic_analysis">latent semantic indexing</a>. I also decided I was going to force Pearson to teach me how to do it so I could help non-programmers understand hooks the way Aaron helped the non technical <a href="http://www.seobook.com/archives/000657.shtml">understand LSI</a>. Luckily for me (and hopefully you), he obliged. </p>
<p>The below is the completely &#8220;not technical&#8221; explanation of hooks, why you need them and how to make them (with examples you can then hack away with). It is chock full of incorrect terminology (I&#8217;m pretty sure &#8220;put this stuff here&#8221; is not part of any PHP instruction manual) and if you&#8217;re a programmer, you can go read the <a href="http://diythemes.com/thesis/rtfm/customizing-with-hooks/">properly written tutorial here</a> and spare me on showing me the size of your programming penis by pointing out how small mine is in the comments. ;-)</p>
<p>If you&#8217;re scared of that tutorial, confused and can&#8217;t follow these instructions:</p>
<blockquote><p>
1. construct a simple function to house your custom HTML<br />
2. tell Thesis where to place your custom code by specifying the appropriate hook
</p></blockquote>
<p>Because you a. don&#8217;t know what a function is b. how to write one c. what a hook is or d. how to find &#8220;the appropriate&#8221; one, then you might want to check out the below.</p>
<h3>How to Use Hooks without Learning Japanese</h3>
<p>Hooks are basically each section of your theme separated into a single part as well as ways to define areas before and after those parts. Your header is controlled by one hook (thesis_hook_header) while you can use other hooks to put any code you choose before (thesis_hook_before_header) of after (thesis_hook_after_header). Every area <a href="http://diythemes.com/thesis/rtfm/hooks/">has a hook</a> and most areas also have hooks that will allow you to place things before or after them. Instead of the PHP code appearing on the actual page, only the call to the hook that says &#8220;put what&#8217;s in this hook here&#8221; does. </p>
<p>Hooks define where stuff appears and functions define what stuff appears. </p>
<p>A function is essentially code you can assign to a hook that should appear within a hook. For example:</p>
<blockquote><p>
function your_function_name() {<br />
?&#62;<br />
YOUR RAW HTML<br />
&#60;?php<br />
}
</p></blockquote>
<p>Hooks are basically the various parts of your blog, and functions are things that appear within them so to speak.</p>
<p>Now that you know what a hook is and what a function is, we&#8217;ll talk about how to add functions to your hooks to do things like add your own graphic into your header or add in social bookmarking buttons.</p>
<p>First things first, never change or edit existing hooks or functions. If you&#8217;re looking for the file that contains the core hooks or functions to change them, stop in your tracks. Unless you&#8217;re a programmer by trade, you will only risk messing something up by touching them. You never change existing hooks or functions in the core files &#8211; you simply add additional functions or replace existing functions with new ones.</p>
<p>Thesis will check your custom_functions.php for instructions and cross reference it so to speak with the core files. If you have removed a core hook or added an additional hook in the custom_functions.php file, then it will override the commands in its core files. (I&#8217;m no programmer folks and have already given you my disclaimer on using proper technical terminology to describe this above.)</p>
<p>The way I learned hooks was by example, so I am going to (attempt to) do the same here.</p>
<p>Thesis Hook Example 1: <a href="#change-header">Changing your Header</a><br />
Thesis Hook Example 2: <a href="#social-bookmarking">Adding Social Bookmarking Icons</a><br />
Thesis Hook Example 3: <a href="#change-footer">Changing the Thesis Footer</a><br />
Thesis Hook Example 4: <a href="#social-profiles">Adding the Social Profiles Plugin</a><br />
<a name="change-header" title="Header Example"></a><br />
<h3>Thesis Hook Example 1: Changing your Header</h3>
<p>Let&#8217;s say you want to change your header to include a graphic or logo like my site does above. </p>
<p>Step 1: Upload the graphic you want to add to your header (if applicable) to the custom images folder (thesis > custom > images > put your image here)</p>
<p>Step 2: Open your custom_functions.php file (thesis > custom > custom_functions.php) in your favorite editor</p>
<p>Step 3: Underneath the example code already in the file, place the following code (this code assumes your blog is in the root):</p>
<blockquote><p>
/* Custom Header Image */<br />
function add_header_image () {<br />
echo &quot;&#60;a href=&#92;&quot;http://www.yourblogurl.com/&#92;&quot; title=&#92;&quot;Your Blog Title&#92;&quot;&#62;<br />
&#60;img src=&#92;&quot;THE-URL-OF-YOUR-LOGO-GOES-HERE&#92;&quot; alt=&#92;&quot;Your Blog Title&#92;&quot; height=&#92;&quot;170&#92;&quot; width=&#92;&quot;528&#92;&quot; style=&#92;&quot;border:0px&#92;&quot; /&#62;<br />
&#60;/a&#62;&quot;;<br />
}<br />
add_action(&#39;thesis_hook_after_title&#39;, &#39;add_header_image&#39;);
</p></blockquote>
<p>The /* Stuff Inside Here */ is a label for the code below so you know what it is at a single glance. This is not part of the actual &#8220;code&#8221;. The word &#8220;function&#8221; tells Thesis you want it to do something. The add_header_image is what I decided to name that function. </p>
<p>The http://www.yourblogurl.com tells Thesis where to link the blog header image to (usually the homepage) and the &#8220;Your Blog Title&#8221; tells it what the name of that link (hidden in code) should be. The link after img src is the address of where your logo is located, the alt is &#8220;Your Blog Title&#8221; (which will show in case the image doesn&#8217;t for some reason), the height and width of the image as well as whether or not to give the image a border are all defined next.</p>
<p>The add_action(&#8217;thesis_hook_after_title&#8217;, &#8216;add_header_image&#8217;); line tells Thesis that you want it to add a function after the Title and the function you want to add is the one we just created &#8211; the add_header_image function. This function utilizes PHP within it, which I don&#8217;t fully understand, so that&#8217;s about all I can explain folks. </p>
<p>The good news is, this is the most common hook people need to add and to me, is also the most complicated hook. If you can <strike>fake</strike> make your way through this, you&#8217;ll be fine.<br />
<a name="social-bookmarking" title="Social Bookmarking Example"></a><br />
<h3>Thesis Hook Example 2: Adding Social Bookmarking Icons</h3>
<p>This hook will show you how to add some social bookmarking or social media buttons to the bottom of only your single post pages (the actual page your full, individual blog post lives on) like my site does.</p>
<p>Step 1: Upload the graphics you want to use to link to the social sites (if applicable) to the custom images folder (thesis > custom > images > put your images here)</p>
<p>Step 2: Open your custom_functions.php file (thesis > custom > custom_functions.php) in your favorite editor</p>
<p>Step 3: Underneath the example code already in the file, place the following code (this code assumes your blog is in the root and is to place Stumbleupon, Digg, Delicious and a link to your RSS at the bottom of each individual post on your blog):</p>
<blockquote><p>
/* Custom Social Media After Post Hook */<br />
function add_social_media () {<br />
   if (is_single()) {<br />
?&#62;<br />
&#60;p>&#60;a href=&quot;http://www.stumbleupon.com/submit?url=&#60;?php the_permalink() ?&#62;&quot;&#62;&#60;img src=&quot;THE_URL_OF_YOUR_STUMBLE_GRAPHIC&quot;>&#60;/a&#62;&#60;a href=&quot;http://digg.com/submit?phase=2&#038;URL=&#60;?php the_permalink() ?&#62;&quot;&#62;&#60;img src=&quot;THE_URL_OF_YOUR_DIGG_GRAPHIC&quot;&#62;&#60;/a&#62;&#60;a href=&quot;http://del.icio.us/post?url=&#60;?php the_permalink() ?&#62;&#038;title=&#60;?php the_title(); ?&#62;&quot;&#62;&#60;img src=&quot;THE_URL_OF_YOUR_DELICIOUS_GRAPHIC&quot;&#62;&#60;/a&#62;&#60;a href=&quot;http://www.linktoyourfeedhere.com&quot;&#62;&#60;img src=&quot;THE_URL_OF_YOUR_STUMBLE_GRAPHIC&quot;>&#60;/a&#62;&#60;/p&#62;<br />
&#60;?php<br />
&nbsp;&nbsp;&nbsp;}<br />
}<br />
add_action(&#39;thesis_hook_after_post&#39;, &#39;add_social_media&#39;);
</p></blockquote>
<p>Same as before, the /* Stuff Inside Here */ is a label for the code below so you know what it is at a single glance. This is not part of the actual &#8220;code&#8221;. The word &#8220;function&#8221; tells Thesis you want it to do something. The add_social_media is what I decided to name that function.</p>
<p>The if (is_single()) is a <a href="http://codex.wordpress.org/Conditional_Tags">conditional tag</a> that basically tells Thesis to only use that function if the page is the single post page. If I changed it to be is_category() it would only run this function on category pages. You can find a full list of conditional tags <a href="http://codex.wordpress.org/Conditional_Tags">here</a>. If you wanted to change this to show the social bookmarking buttons on every page of the site, you&#8217;d remove the (is_single()) and the following { and later } like so:</p>
<blockquote><p>
/* Custom Social Media After Post Hook */<br />
function add_social_media () {<br />
?&#62;<br />
&#60;p>&#60;a href=&quot;http://www.stumbleupon.com/submit?url=&#60;?php the_permalink() ?&#62;&quot;&#62;&#60;img src=&quot;THE_URL_OF_YOUR_STUMBLE_GRAPHIC&quot;>&#60;/a&#62;&#60;a href=&quot;http://digg.com/submit?phase=2&#038;URL=&#60;?php the_permalink() ?&#62;&quot;&#62;&#60;img src=&quot;THE_URL_OF_YOUR_DIGG_GRAPHIC&quot;&#62;&#60;/a&#62;&#60;a href=&quot;http://del.icio.us/post?url=&#60;?php the_permalink() ?&#62;&#038;title=&#60;?php the_title(); ?&#62;&quot;&#62;&#60;img src=&quot;THE_URL_OF_YOUR_DELICIOUS_GRAPHIC&quot;&#62;&#60;/a&#62;&#60;a href=&quot;http://www.linktoyourfeedhere.com&quot;&#62;&#60;img src=&quot;THE_URL_OF_YOUR_STUMBLE_GRAPHIC&quot;>&#60;/a&#62;&#60;/p&#62;<br />
&#60;?php<br />
}<br />
add_action(&#39;thesis_hook_after_post&#39;, &#39;add_social_media&#39;);
</p></blockquote>
<p>The rest of the code is the traditional HTML code you&#8217;d use to add those bookmarking buttons to your theme normally.</p>
<p>The add_action(&rsquo;thesis_hook_after_post&rsquo;, &lsquo;add_social_media&rsquo;); line tells Thesis that you want it to add a function after the post content and the function you want to add is the one we created &#8211; the add_social_media function.<br />
<a name="change-footer" title="Footer Example"></a><br />
<h3>Thesis Hook Example 3: Changing the Thesis Footer</h3>
<p>A lot of times people want to customize their footer to add copyright notices or other information. The example below will show you how to change your Thesis footer link.</p>
<p>Step 1: Open your custom_functions.php file (thesis > custom > custom_functions.php) in your favorite editor</p>
<p>Step 2: Underneath the example code already in the file, place the following code:</p>
<blockquote><p>
/* Custom Footer Hook */<br />
remove_action(&#39;thesis_hook_footer&#39;, &#39;thesis_attribution&#39;);<br />
function add_custom_footer () {<br />
?&#62;<br />
  	   &#60;p&#62;&copy; 2008 Ourblog.com &#8211; All rights reserved. &#8211; &#60;a href=&quot;http://www.ourblog.com/privacy-policy/&quot;&#62;Privacy Policy&#60;/a&#62;&#60;/p&#62;<br />
	   &#60;p>No content on this site may be reused in any fashion without written permission from Ourblog.com or whatever you want your footer to include&#60;/p&#62;<br />
&#60;?php<br />
}<br />
add_action(&#39;thesis_hook_footer&#39;, &#39;add_custom_footer&#39;);
</p></blockquote>
<p>Again, the /* Stuff Inside Here */ is a label for the code below so you know what it is at a single glance. This is not part of the actual &#8220;code&#8221;. The remove_action(&#8217;thesis_hook_footer&#8217;, &#8216;thesis_attribution&#8217;); tell Thesis that you wish to remove the regular Thesis footer function (thesis_attribution which we know is the <a href="http://diythemes.com/thesis/rtfm/default-hook-usage/">default function</a> the hook uses) from the thesis_hook_footer (the hook <a href="http://diythemes.com/thesis/rtfm/default-hook-usage/">we know</a> generates the footer). The word &#8220;function&#8221; tells Thesis you want it to do something. The add_custom_footer is what I decided to name that function.</p>
<p>The HTML for what I want to appear in the footer is added and then the add_action(&#8217;thesis_hook_footer&#8217;, &#8216;add_custom_footer&#8217;); line tells Thesis you want to add a function to the thesis_hook_footer (the hook that creates the footer) and the function you want to add is the one we created &#8211; add_custom_footer. </p>
<p>So, the code above essentially says &#8220;Hey Thesis, please remove the code (thesis_attribution) you put into the footer (thesis_hook_footer) by default and replace it with our code (add_custom_footer). You can do that with any hook function you&#8217;d like.<br />
<a name="social-profiles" title="Social Profiles Example"></a><br />
<h3>Thesis Hook Example 4: Adding the Social Profiles Plugin</h3>
<p>If you&#8217;re using the Social Profiles plugin we created here at Sugarrae, the following code will show you how to get the plugin output to appear in your comments area in the same way they appear in mine (after the author&#8217;s name, the date, etc but before the comment).</p>
<p>Step 1: upload and activate the <a href="http://www.sugarrae.com/wordpress/social-profiles/">Social Profiles</a> plugin</p>
<p>Step 2: Open your custom_functions.php file (thesis > custom > custom_functions.php) in your favorite editor</p>
<p>Step 3: Underneath the example code already in the file, place the following code:</p>
<blockquote><p>
/* Custom Social Profiles for Comments Addition */<br />
function add_social_profiles () {<br />
global $comment;<br />
?&#62<br />
&#60?php cyc2_show_profiles($comment-&#62;user_id); ?&#62<br />
&#60?php<br />
}<br />
add_action(&#39;thesis_hook_after_comment_meta&#39;, &#39;add_social_profiles&#39;);
</p></blockquote>
<p>Per usual, the /* Stuff Inside Here */ is a label for the code below so you know what it is at a single glance. This is not part of the actual &#8220;code&#8221;. The word &#8220;function&#8221; tells Thesis you want it to do something. The add_social_profiles is what I decided to name that function.</p>
<p>The PHP code for the plugin is added and then the add_action(&#8217;thesis_hook_after_comment_meta&#8217;, &#8216;add_social_profiles&#8217;); line tells Thesis you want to add a function to the thesis_hook_after_comment_meta (the hook that creates the name, date, number, etc of commenters) and the function you want to add is the one we created &#8211; add_social_profiles. </p>
<h3>Thesis Hooks are Easy</h3>
<p>Above, I&#8217;ve shown you an example for changing the header (the most common customization you&#8217;d need to understand the hooks to do), how to add something to only one specific template (to a single page, to a category page, etc), how to add something to every page, how to remove a function from a hook and add a new one (the footer example) and how to add plugin code (in this case, by adding Social Profiles to the comments area as an example).</p>
<p>You&#8217;ll also find the following documentation (linked above in the examples) to be of use to you when using functions and hooks as well:</p>
<ul>
<li><a href="http://diythemes.com/thesis/rtfm/customizing-with-hooks/">The official hooks tutorial</a></li>
<li><a href="http://diythemes.com/thesis/rtfm/hooks/">Thesis hook reference list</a></li>
<li><a href="http://diythemes.com/thesis/rtfm/default-hook-usage/">Default hook usage in Thesis</a></li>
<li><a href="http://codex.wordpress.org/Conditional_Tags">Listing of the conditional tags you can use with WordPress</a></li>
</ul>
<p>If you&#8217;re using the Thesis Theme already, I hope you find this tutorial to be a help in customizing the new version. If you&#8217;ve been on the fence about Thesis, I hope this has shown you hooks aren&#8217;t anything to be afraid of and that you can still customize Thesis without being a PHP guru. If you&#8217;re ready to make the leap to Thesis, you can <a href="http://www.sugarrae.com/hop/thesis.html">get your copy of Thesis here</a>.</p>
<p>This post originated at the <a href="http://www.sugarrae.com">Sugarrae online marketing blog</a>, home to <a href="http://www.sugarrae.com/about/">online marketing consultant</a> Rae Hoffman.<br/><br/><a href="http://www.sugarrae.com/thesis-hooks-dummies-tutorial/">Thesis Tutorial &#8211; Hooks for Dummies</a></p>
<p>This post originated at the <a href="http://www.sugarrae.com">Sugarrae online marketing blog</a>, home to <a href="http://www.sugarrae.com/about/">online marketing consultant</a> Rae Hoffman.<br/><br/><a href="http://www.sugarrae.com/thesis-hooks-dummies-tutorial/">Thesis Tutorial &#8211; Hooks for Dummies</a></p>
]]></description>
		<wfw:commentRss>http://www.sugarrae.com/thesis-hooks-dummies-tutorial/feed/</wfw:commentRss>
		<slash:comments>104</slash:comments>
		</item>
		<item>
		<title>How to Promote a Brand New Blog</title>
		<link>http://www.sugarrae.com/how-to-promote-brand-new-blog/</link>
		<comments>http://www.sugarrae.com/how-to-promote-brand-new-blog/#comments</comments>
		<pubDate>Wed, 19 Nov 2008 03:58:08 +0000</pubDate>
		<dc:creator>Rae Hoffman</dc:creator>
				<category><![CDATA[Blogging It]]></category>
		<category><![CDATA[blogging]]></category>
		<category><![CDATA[branding]]></category>
		<category><![CDATA[Internet Marketing]]></category>
		<category><![CDATA[marketing]]></category>

		<guid isPermaLink="false">http://www.sugarrae.com/?p=1765</guid>
		<description><![CDATA[<p><img src="http://www.sugarrae.com/wp-content/uploads/2008/11/promoteablog.jpg" alt="" title="Promoting a Blog" width="150" height="150" class="alignleft size-full wp-image-1776" />During <a href="http://www.pubcon.com">PubCon</a> last week, <a href="http://www.vanessafoxnude.com">Vanessa Fox</a> and I managed to sneak away to lunch alone to have some catch up time since both of our schedules are a bit insane. </p>
<p>After I calmed down from <a href="http://www.sugarrae.com/vegas-pubcon-2008-wrap/">being attacked by a random sparrow</a> (it was a really, REALLY big sparrow, ok?), the topic of conversation turned to Vanessa launching her new blog this week (uh, at least that&#8217;s the plan), <a href="http://www.ninebyblue.com/">Nine by Blue</a>. </p>
<p>We were discussing proper and effective tactics to use for promoting new blogs and I made the mention that bloggers could take a lesson from actors, writers and musicians when they launch a new blog as far as promotional tactics. We discussed the similarities and while most are in tune with launching a brand new blog, most of these tactics can be effective for any website.<br />
<!--more--></p>
<h3>Promos and Trailers</h3>
<p><img src="http://www.sugarrae.com/wp-content/uploads/2008/11/movietrailer.jpg" alt="" title="Promos and Trailers" width="150" height="150" class="alignright size-full wp-image-1779" />Long before their newest album is complete or the movie is even 1/8 of the way to completing shooting, Studios and record labels are releasing movie trailers or plastering bookstores with posters advertising their impending release. </p>
<p>Bloggers can use this too by starting to &#8220;promo&#8221; a website before it&#8217;s fully completed. Add a blurb about your new site to the bottom of your latest blog post. Brian Clark was hyping people up to his impending launch of <a href="http://lateralaction.com/">Lateral Action</a> at the end of his <a href="http://www.copyblogger.com">Copyblogger</a> posts (and possibly others) long before the website was launched.</p>
<p>Vanessa was using Nine by Blue branding on <a href="http://www.ninebyblue.com/web20presentation.html">presentations</a> with a link to her feed while the website was still in development. Lisa Barone let you know she <a href="http://www.webuildpages.com/blog/branding/avoid-paralyzing-perfection/">might be blogging on her own domain</a> before she ever even wrote a post.</p>
<p>Being in development certainly hasn&#8217;t stopped anyone from <a href="http://www.google.com/search?hl=en&#038;q=video+game+%22no+official+launch+date%22&#038;btnG=Search">developing links and buzz</a> in traditional media, and it shouldn&#8217;t stop webmasters either. Just be sure to remember that there is a <a href="http://blog.ogilvypr.com/?p=98">difference between hype and buzz</a>. You want to develop the latter and not the former. </p>
<h3>Guest Appearances</h3>
<p><img src="http://www.sugarrae.com/wp-content/uploads/2008/11/guestappearances1.jpg" alt="" title="Guest Appearances" width="150" height="150" class="alignleft size-full wp-image-1783" />Every time a starlet has a new movie at the box office or a band has a new album on the shelves, they start making the &#8220;guest appearances&#8221; <a href="http://www.theinsider.com/news/723925_Sean_Faris_And_Amanda_Heard_Visit_TRL_To_Promote_Their_New_Film">rounds</a>. And while they definitely aim for the highest exposure possible, like <a href="http://www.msnbc.msn.com/id/22425001/vp/26754384#26754384">daytime television shows</a> or <a href="http://entertainment.msn.com/photos/gallery.aspx?gallery=18233&#038;photo=944464">late night TV</a>, they don&#8217;t pass up <a href="http://www.brightcove.tv/title.jsp?title=1305063593">radio appearances</a>, <a href="http://www.exposay.com/naked-brothers-band-naked-brothers-band-autograph-signing-to-promote-their-new-album-i-dont-want-to-go-to-school-at-bloomingdales-in-new-york-on-september-6-2008/v/22895/">autograph appearances</a> and local newspaper or <a href="http://www.seventeen.com/dating/17-questions/david-archuleta-17q-0608">magazine interviews</a> either.</p>
<p>Bloggers can get &#8220;guest appearances&#8221; by doing guest posts, offering interviews if their name or company name is recognizable, doing podcast or internet radio appearances and any other opportunity to put their new blog in front of people. Aim high but don&#8217;t overlook low hanging fruit either. When you&#8217;re just starting out, even a blog with only 100 people reading it offers you access to 100 people you&#8217;re not currently reaching.</p>
<p>For more established blogs, a general rule of thumb might be that anyone with more subscribers than you or a different, but related, market you&#8217;re not currently reaching is worth <a href="http://www.blogherald.com/2007/08/06/the-art-of-blogging-how-does-guest-blogging-work/">working to obtain a &#8220;guest appearance&#8221; on</a>.</p>
<h3>Sponsorships and Buzz Events</h3>
<p><img src="http://www.sugarrae.com/wp-content/uploads/2008/11/buzz.jpg" alt="" title="Buzz" width="150" height="150" class="alignright size-full wp-image-1785" />I&#8217;ve seen plenty of instances where video games or movies will sponsor larger events or create specific buzz events (many might call them launch parties) aimed at gaining interest. For instance, the video game &#8220;Gears of War 2&#8243; <a href="http://www.bloodyelbow.com/2008/10/30/650181/ufc-91-couture-vs-lesnar-i">recently sponsored UFC 91</a>, whose fan base is heavily comprised of their target market. </p>
<p>Bloggers can do <a href="http://ittybiz.com/moral-of-the-story-problogger-edition/">the same thing</a> by stepping up to sponsor a contest in their target market &ndash; even if they&#8217;re completely new to the scene. Buzz events many times, to me anyway, can be correlated to &#8220;link bait&#8221;&hellip; if I&#8217;m going to launch a blog, I&#8217;m going to make sure I have a few really strong and very well done &#8220;buzz pieces&#8221; ready to go with the aim of getting <strike>social</strike> media attention and being put in front of potential readers.</p>
<p>The words &#8220;link bait&#8221; tend to have a negative connotation online, but I see no difference between a &#8220;buzz event&#8221; offline and a piece of &#8220;link bait&#8221; online. Both are lame when done wrong and can be amazingly effective <a href="http://searchengineland.com/dont-call-me-linkbait-14076.php">when done right</a>.</p>
<h3>Street Teams</h3>
<p>A &#8220;Street Team&#8221; is best defined by <a href="http://en.wikipedia.org/wiki/Street_team">Wikipedia</a>:</p>
<blockquote><p>&#8220;In many cases, an influential teen referred to as a neighborhood &#8220;tastemaker&#8221; was sought out or pinpointed by a record label to be used as a conduit to their respective neighborhood, due to their stronger influence over other teens that looked to them for &#8220;what&#8217;s hot&#8221; or &#8220;what&#8217;s the next hot thing&#8221;. The tastemaker was directed to create a team on the streets to make an unsigned music artist more popular through word-of-mouth and hype.&#8221;</p></blockquote>
<p>Replace &#8220;influential teen&#8221; with &#8220;popular or semi-popular bloggers&#8221; and you&#8217;ll quickly see that a Street Team is equivalent to an offline <a href="http://www.seomoz.org/blog/identifying-the-linkerati">Linkerati</a>. Instead of writing posts that are distributed to followers via an RSS reader, they create buzz about events by plastering the streets with posters and talking to everyone they come into contact with to promote the band.</p>
<blockquote><p>&#8220;Usually unpaid, street teams for bands and artists are still often comprised of teenagers who are rewarded with free band merchandise or show access in exchange for a variety of actions.&#8221;</p></blockquote>
<p>Street teams place stickers and posters in their communities while the Linkerati put up buttons and badges promoting your blog.  Street teams bring friends to the shows while the Linkerati sends links of your first few initial kick ass posts to friends or in <a href="http://www.vanseodesign.com/blog/category/this-month-in-seo/">round up posts</a>.</p>
<p>Street teams convince friends to buy band merchandise while the Linkerati convinces people to sign up for your blog RSS feed. Street teams phone your local radio station to request the band&#8217;s songs be played while the Linkerati submits your posts to social media websites and send around the link to friends they know have accounts.</p>
<p>Street teams bring vinyl and CDs to local DJs in the clubs where they work while the Linkerati link to your blog from larger websites they may do columns for. Street teams put up posters while the Linkerati showcases you and your blog via individual blog posts. Street teams post to band forums and bulletin boards online while the Linkerati do the same.</p>
<p>Street teams can make (or break) many bands and the Linkerati can do the same. Bloggers can rally the people they know love their content or their product offerings and <a href="http://searchengineland.com/public-relations-the-other-important-pr-in-link-development-13640.php">organize them</a> via personal emails to be their street team on the web. If you&#8217;re starting out with no contacts, then you might consider <a href="http://socialspark.com/">finding services</a> that connect you with a <a href="http://www.viralconversations.com">&#8220;street team&#8221;</a> (you&#8217;d just better be sure you have something worth promoting before you do).</p>
<p>If you have any other legit techniques for promoting a brand new blog, feel free to add to the list below. And if you liked this post, be a member of my street team and pass it on. ;-)</p>
<p>This post originated at the <a href="http://www.sugarrae.com">Sugarrae online marketing blog</a>, home to <a href="http://www.sugarrae.com/about/">online marketing consultant</a> Rae Hoffman.<br/><br/><a href="http://www.sugarrae.com/how-to-promote-brand-new-blog/">How to Promote a Brand New Blog</a></p>
<p>This post originated at the <a href="http://www.sugarrae.com">Sugarrae online marketing blog</a>, home to <a href="http://www.sugarrae.com/about/">online marketing consultant</a> Rae Hoffman.<br/><br/><a href="http://www.sugarrae.com/how-to-promote-brand-new-blog/">How to Promote a Brand New Blog</a></p>
]]></description>
		<wfw:commentRss>http://www.sugarrae.com/how-to-promote-brand-new-blog/feed/</wfw:commentRss>
		<slash:comments>18</slash:comments>
		</item>
		<item>
		<title>Introducing the Social Profiles Plugin</title>
		<link>http://www.sugarrae.com/introducing-social-profiles-plugin/</link>
		<comments>http://www.sugarrae.com/introducing-social-profiles-plugin/#comments</comments>
		<pubDate>Wed, 01 Oct 2008 08:30:19 +0000</pubDate>
		<dc:creator>Rae Hoffman</dc:creator>
				<category><![CDATA[Blogging It]]></category>
		<category><![CDATA[blogging]]></category>
		<category><![CDATA[Social Profiles]]></category>
		<category><![CDATA[wordpress]]></category>
		<category><![CDATA[wordpress plugins]]></category>

		<guid isPermaLink="false">http://www.sugarrae.com/?p=1311</guid>
		<description><![CDATA[<p><img src="http://www.sugarrae.com/wp-content/uploads/2008/09/socialprofiles.jpg" alt="" title="Social Profiles" width="150" height="150" class="alignleft size-full wp-image-1313" />Right on the heels of <a href="http://www.sugarrae.com/introducing-customize-community/">announcing</a> my first plugin, <a href="http://www.sugarrae.com/wordpress/cyc/">Customize Your Community</a>, I&#8217;m proud to announce that the ever talented <a href="http://www.yoast.com">Joost de Valk</a> and I joined forces again to bring you a second plugin we&#8217;ve named <a href="http://www.sugarrae.com/wordpress/social-profiles/">Social Profiles</a>.</p>
<p>I wanted a way to give my community members more exposure than just a link to their website. I figured the best way was to give you the ability to showcase your profiles in addition to your website link at the social sites most common in my community. And we&#8217;ve made it a free plugin (once again though, <a href="https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&#038;hosted_button_id=117063">donations</a> never hurt) so you can do the same for your users.<br />
<!--more--><br />
The default ten social networks and forums currently included are Delicious, Digg, Flickr, Furl, MySpace, Newsvine, Reddit, Stumbleupon, Technorati and Twitter. The plugin admin panel allows you to show the networks of your choosing via text links or graphical links (your choice) and even has an option to add a nofollow attribute to the links generated by Social Profiles. </p>
<p>The plugin also comes with an include file (step by step details and examples for adding networks can be found in the customization section of the <a href="http://www.sugarrae.com/wordpress/social-profiles/">Social Profiles plugin page</a>). the sky is the limit as long as the network/forum has a standard user profile link that only changes by username.</p>
<p>As an example, if you visit login to Sugarrae and visit your user profile page, you&#8217;ll see the option to fill out three new fields at the bottom underneath Social networking. On my site, the three networks I&#8217;ve chosen to showcase are Twitter, Sphinn and Webmasterworld &#8211; all commonly used sites by my readership. Twitter comes pre-configured in the Social Profiles plugin while Sphinn and Webmasterworld, because they were niche networks/forums, were added by myself via an include written specifically to allow you to add niche networks important to your site and your readership.</p>
<p>To see the plugin in action, check out the comments below. If a user hasn&#8217;t filled in the fields under the social networks heading, none will appear. If they only fill out some, but not all, only the ones they&#8217;ve added a username for will appear.</p>
<p>See the <a href="http://www.sugarrae.com/wordpress/social-profiles/">Social Profiles plugin page</a> for full details. I hope you guys enjoy this plugin as much as Joost and I already are. </p>
<p>Edited to add: </p>
<p><a href="http://www.themadhat.com">TheMadHat</a> suggested I add to this post that you can use both Social Profiles and CYC on your blog without *requiring* registration for all commenters.  </p>
<p>WordPress gives you two options under Settings > General. One is to allow anyone to register, the other is to only allow comments from registered users. If you check allow anyone to register but do NOT check off registration being required to comment, then you can offer registration to those who wish to register and take advantage of listing their Social Profiles without requiring that ALL commenters be registered. The best of both worlds.<br />
<script type="text/javascript">
digg_url = 'http://digg.com/software/New_Social_Profiles_Plugin_for_Wordpress';
</script><br />
<script src="http://digg.com/tools/diggthis.js" type="text/javascript"></script></p>
<p>This post originated at the <a href="http://www.sugarrae.com">Sugarrae online marketing blog</a>, home to <a href="http://www.sugarrae.com/about/">online marketing consultant</a> Rae Hoffman.<br/><br/><a href="http://www.sugarrae.com/introducing-social-profiles-plugin/">Introducing the Social Profiles Plugin</a></p>
<p>This post originated at the <a href="http://www.sugarrae.com">Sugarrae online marketing blog</a>, home to <a href="http://www.sugarrae.com/about/">online marketing consultant</a> Rae Hoffman.<br/><br/><a href="http://www.sugarrae.com/introducing-social-profiles-plugin/">Introducing the Social Profiles Plugin</a></p>
]]></description>
		<wfw:commentRss>http://www.sugarrae.com/introducing-social-profiles-plugin/feed/</wfw:commentRss>
		<slash:comments>20</slash:comments>
		</item>
		<item>
		<title>Introducing Customize Your Community</title>
		<link>http://www.sugarrae.com/introducing-customize-community/</link>
		<comments>http://www.sugarrae.com/introducing-customize-community/#comments</comments>
		<pubDate>Mon, 22 Sep 2008 08:16:11 +0000</pubDate>
		<dc:creator>Rae Hoffman</dc:creator>
				<category><![CDATA[Blogging It]]></category>
		<category><![CDATA[blogging]]></category>
		<category><![CDATA[CYC]]></category>
		<category><![CDATA[wordpress]]></category>
		<category><![CDATA[wordpress plugins]]></category>

		<guid isPermaLink="false">http://www.sugarrae.com/?p=1034</guid>
		<description><![CDATA[<p><img src="http://www.sugarrae.com/wp-content/uploads/2008/09/istock_000007155392xsmall2-150x150.jpg" alt="" title="Customize Your Community" width="150" height="150" class="alignright size-thumbnail wp-image-1043" />As some of you that <a href="http://www.twitter.com/sugarrae">follow my profile</a> on Twitter may know, I&#8217;ve got a few <a href="http://www.sugarrae.com/wordpress/">Wordpress plugins and other related items</a> in the works and today I am releasing my first ever Wordpress plugin (thanks to some help from and collaboration with the fabulous <a href="http://www.yoast.com">Joost</a>). </p>
<p>It&#8217;s called <a href="http://www.sugarrae.com/wordpress/cyc/">Customize Your Community</a> aka CYC. And, not only is this plugin kick ass, but it&#8217;s also free (though <a href="https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&#038;hosted_button_id=17698" rel="nofollow">donations</a> never hurt).<br />
<!--more--><br />
A while back, I moved this blog to allowing comments <a href="http://www.sugarrae.com/some-sugarraecom-updates/">from registered users only</a>. And because this meant users were now going to see the backend of my blog, I went around installing various plugins to limit what they could see in the dashboard as well as try and customize it as much as possible to match my site. </p>
<p>After a lot of searching, I finally found a plugin that themed the registration and login type pages and in combination with some other plugins, was able to limit what registered users could see in my dashboard. But I found absolutely nothing to customize the user profile page. Zip. Nada. </p>
<p>While I liked the fact that my login and registration pages were seamless with the rest of my site, that ugly non matching user profile page was driving me nuts. So I enlisted Joost&#8217;s programming skills to create something that will allow you to create a community on your blog that is branded you and not Wordpress (not that we don&#8217;t appreciate Wordpress).</p>
<p>See the <a href="http://www.sugarrae.com/wordpress/cyc/">CYC plugin page</a> for full details of what this awesome plugin can do. Also, if your goal is to create &#8220;community&#8221;, I&#8217;d also recommend using the <a href="http://www.epicalex.com/new-user-email-set-up/">new user email setup</a> plugin to create a <a href="http://www.sugarrae.com/8-ways-pimp-wordpress-theme/">personalized email</a> for your community as well complete the effect. </p>
<p>Hope you guys find CYC as awesome as I do. And make sure you subscribe to the feed or the newsletter (see the right sidebar) because it won&#8217;t be long before I release my next plugin.</p>
<p>This post originated at the <a href="http://www.sugarrae.com">Sugarrae online marketing blog</a>, home to <a href="http://www.sugarrae.com/about/">online marketing consultant</a> Rae Hoffman.<br/><br/><a href="http://www.sugarrae.com/introducing-customize-community/">Introducing Customize Your Community</a></p>
<p>This post originated at the <a href="http://www.sugarrae.com">Sugarrae online marketing blog</a>, home to <a href="http://www.sugarrae.com/about/">online marketing consultant</a> Rae Hoffman.<br/><br/><a href="http://www.sugarrae.com/introducing-customize-community/">Introducing Customize Your Community</a></p>
]]></description>
		<wfw:commentRss>http://www.sugarrae.com/introducing-customize-community/feed/</wfw:commentRss>
		<slash:comments>53</slash:comments>
		</item>
		<item>
		<title>Pimping Your Wordpress Theme for Humans</title>
		<link>http://www.sugarrae.com/8-ways-pimp-wordpress-theme/</link>
		<comments>http://www.sugarrae.com/8-ways-pimp-wordpress-theme/#comments</comments>
		<pubDate>Mon, 25 Aug 2008 16:42:26 +0000</pubDate>
		<dc:creator>Rae Hoffman</dc:creator>
				<category><![CDATA[Blogging It]]></category>
		<category><![CDATA[blogging]]></category>
		<category><![CDATA[Thesis]]></category>
		<category><![CDATA[wordpress]]></category>
		<category><![CDATA[wordpress plugins]]></category>
		<category><![CDATA[wordpress themes]]></category>

		<guid isPermaLink="false">http://www.sugarrae.com/?p=619</guid>
		<description><![CDATA[<p><img src="http://www.sugarrae.com/wp-content/uploads/2008/08/pimppic.jpg" alt="" title="Pimping Wordpress" width="150" height="150" class="alignleft size-full wp-image-622" />When we talk about &#8220;pimping&#8221; a Wordpress theme, at least in this industry, we&#8217;re often talking about making it more SEO friendly. </p>
<p>When I upgraded my site to the <a href="http://www.sugarrae.com/a-review-of-the-thesis-wordpress-theme/">Thesis theme</a>, I wasn&#8217;t simply looking for a &#8220;new design&#8221; (my old one was awesome). I was looking more to &#8220;step up&#8221; my blog a bit in many aspects (as well as update things a bit&#8230; as great as it was, the previous theme was over two years old). </p>
<p>I&#8217;ve spent some time over the last week pimping the already fantastic Thesis and thought I&#8217;d share some of the things that I&#8217;ve done to this blog (which can really be done on any theme) in the past week, as well as over the last two years. These are things with a user focus and not an &#8220;SEO one&#8221; (Yoast <a href="http://yoast.com/articles/wordpress-seo/">wrote the book</a> on that already).<br />
<!--more--><br />
<b>1. <a href="http://neosmart.net/dl.php?id=2">Complete RSS</a></b><br />
The full or partial feed debate is much like the chicken and egg debate. Everyone has their reasons&#8230; a lot of people are of the <a href="http://www.bloodhoundrealty.com/BloodhoundBlog/?p=2457">mindset</a> that partial feeds drive higher click thru rates, even though the VP of Publishing Services at Feedburner says there is <a href="http://www.pronetadvertising.com/articles/why-you-should-use-full-feeds20072.html">no evidence to support the theory</a>. I&#8217;m of the mindset that full feeds mean people actually read more of my posts and <a href="http://www.techdirt.com/articles/20070813/014338.shtml">the end result</a> for me, my readers and my blog, is better. Since I use the &#8220;more tag&#8221; for SEO purposes, Complete RSS lets me have the best of both worlds.</p>
<p><b>2. <a href="http://wordpress.org/extend/plugins/user-photo/">User photo</a></b><br />
This plugin allows you to display photos of post authors and users who comment. Now, there is also the <a href="http://en.gravatar.com/site/implement/wordpress">Gravatar plugin</a>, but the problem was, no matter what I did, I couldn&#8217;t get it to work the post author portion to work. </p>
<p>Because the avatars were being called from off site, they also slowed down loading time a tiny bit. So, I went the user photo plugin route, which allows me to host the user photos on my own site and works with the post author section. </p>
<p>Additionally, it also is needed to use tip #7 below. I personally feel the photos make it feel more personal around here and definitely makes me feel more connected to them then text alone does.</p>
<p><b>3. <a href="http://www.jameskelly.org/wordpress-plugins/custom-login-and-registration-forms-plugin/">Themed login and register</a></b><br />
There are <a href="http://www.binarymoon.co.uk/2007/07/wordpress-tips-and-tricks-custom-login-page/">other plugins</a> that allow you to customize the Wordpress registration/login box, but this one actually lets you put the required fields right into your own template. It <a href="http://www.sugarrae.com/wp-login.php">makes it seamless with my site</a>. </p>
<p>I think this helps users who may not recognize what Wordpress is&#8230; preventing them from getting confused by being taken to a completely different looking site to register (and since registration is required to comment on my blog now, everyone who comments sees the registration screen). Additionally, it simply looks cool.</p>
<p>This plugin also will help you change and customize your new user registration email, however, since I was already using another plugin for that (see tip #5) I haven&#8217;t tried that feature of this particular plugin and cannot attest to it&#8217;s performance.</p>
<p><b>4. <a href="http://www.richardkmiller.com/blog/wordpress-plugin-what-would-seth-godin-do/">What would Seth Godin do</a></b><br />
The first time you came to my site (or maybe this is your first time), you might have noticed a box at the top of the page that welcomed you to the site:</p>
<blockquote><p>
If you&#8217;re new here, you may want to subscribe to my <a href="http://feeds.sugarrae.com/sugarrae">feed</a> or subscribe to me on <a href="http://twitter.com/sugarrae">Twitter</a>, which is updated on a more frequent &#8211; and more meaningless &#8211; basis.
</p></blockquote>
<p>The point of this plugin, for me, is to try and convert a user from a casual drop by who might forget to come back again to a <a href="http://www.sugarrae.com/wp-content/themes/thesis/images/rssbutton.png">feed subscriber</a> or a <a href="http://www.twitter.com/sugarrae">Twitter follower</a>. You have the option to put the box before or after the post (I chose before, but have no testing behind that to say if it works better &#8211; play with it) as well as the option of how many times a visitor will be shown the box (I show it once, again, no testing behind it yet&#8230; see what works for you).</p>
<p><b>5. <a href="http://www.epicalex.com/new-user-email-set-up/">New user email setup</a></b><br />
One of the problems i experienced when I went to registered comments only was that users weren&#8217;t being directed to fill out their profile upon signing up. So, I went in search of a way to customize the bland email sent to a user when they register and found this. Works like a charm. Now when people register for my site, they get the following email:</p>
<blockquote><p>
Subject: Thanks for Registering at Sugarrae.com</p>
<p>Thank you for registering as a member of the Sugarrae.com community. Please note your username and password below for future reference:</p>
<p>Username: [their username here]<br />
Password: [their password here]</p>
<p>I&#8217;d also like to invite you to take the time to customize your profile at the Sugarrae.com website. To do so, simply log in here: [login url goes here] with the above username and password to add a link to your website, change the way your name shows on the site and add other contact information if you&#8217;d like. You can also upload a picture so it will display next to your name when you comment.</p>
<p>Please note that while we welcome you to link to your website, out of place keyword usage in the anchor/display name (think &#8220;designer shoes&#8221; as your &#8220;display name&#8221;) is not and we reserve the right to delete your user account in the event you abuse our comment policy which you can find here: http://www.sugarrae.com/commentpolicy/</p>
<p>Thanks for registering, and don&#8217;t forget to subscribe to the feed: http://feeds.sugarrae.com/sugarrae and follow me on Twitter: http://www.twitter.com/sugarrae</p>
<p>Thanks,<br />
Rae
</p></blockquote>
<p>It seems more personal, lets users get more out of commenting on my site (links, they are more noticeable in a long string of comments, etc) and also serves to serve the same goals as tip #4.</p>
<p><b>6. <a href="http://www.istockphoto.com">iStockPhoto</a></b><br />
Smart people have been touting the importance of and advantages to the <a href="http://sharingmatters.com/2007/07/14/use-images-make-your-visitors-happy-and-build-your-identity-with-retro-marketing/">use of images when blogging</a> for quite a while now. And I&#8217;ve never skimped on the pictures when it comes to <a href="http://www.10e20.com/blog/2007/10/24/the-importance-of-images-in-linkbait-articles/">professional linkbait</a> for my commercial sites. But, with Sugarrae and especially with &#8220;everyday posts&#8221;, I&#8217;ve been lazy. With the help of iStockPhoto, that stops here. Bottom line is, if the post isn&#8217;t worth spending a few bucks on a picture or two, I have no business writing it, publishing it or boring the shit out of you with it.</p>
<p><b>7. <a href="http://yoast.com/mailing-list/">Guest post author box</a></b><br />
Thanks to <a href="http://www.wolf-howl.com">graywolf</a> forwarding me his copy of the <a href="http://yoast.com/mailing-list/">Yoast mailing list</a> that I idiotically had not be subscribed to until then (severe mistake now corrected), I have a kick ass box that shows at the bottom of the posts on my blog done by guest posters (see the bottom of <a href="http://www.sugarrae.com/sarah-east-of-popcrunch-exposes-sugarrae/">this post</a> for an example) &#8211; and it shows up automatically. </p>
<p>I got one time permission from <a href="http://yoast.com">Joost</a> (who has created most of the <a href="http://yoast.com/wordpress/">wordpress plugins</a> i use for SEO reasons on this site) to post a hack he put in his newsletter, which you need to <a href="http://yoast.com/mailing-list/">sign up for</a>, right <a href="http://yoast.com/mailing-list/">now</a>, so you <a href="http://yoast.com/mailing-list/">don&rsquo;t miss</a> further newsletter exclusive pimpage:</p>
<blockquote><p>
Template hack for guest posts<br />
==<br />
Sometimes you&#8217;ll want to allow guest posts on your blog, and one of<br />
the reasons why people would want to guest post is because they can<br />
gain some extra exposure. A cool way of doing this is using the<br />
built-in author functions with some extra&#8217;s to add a &#8220;Guest post<br />
by&#8221; block to your template. I&#8217;ve done this on yoast.com, and you<br />
can find an example <a href="http://yoast.com/b2b-seo-link-building/#erikjan">here</a>.</p>
<p>How I did this? Well first, I installed the <a href="http://wordpress.org/extend/plugins/user-photo/">UserPhoto plugin</a>.</p>
<p>This plugin allows users to upload a photo which is added to their<br />
profile, and then adds template tags you can use. I then added the<br />
following code to my theme, I&#8217;ve annotated all lines, you should be<br />
able to copy paste and modify:</p>
<p>&#47;&#47; If it&#8217;s not written by me, it&#8217;s a guest post, hence check for<br />
that:<br />
&lt;?php<br />
       if (get_the_author_login() != &#8220;admin&#8221;) {<br />
?&gt;</p>
<p>&#47;&#47; It&#8217;s a guest post, show the appropriate block<br />
&lt;div class=&#8221;guestauthor&#8221; id=&#8221;&lt;?php the_author_login(); ?&gt;&#8221;&gt;</p>
<p>&#47;&#47; If there&#8217;s a user photo that&#8217;s uploaded and has been approved,<br />
show it:<br />
 &lt;?php if ( function_exists(&#8217;userphoto_the_author_photo&#8217;) ) {<br />
   userphoto_the_author_photo(&#8221;, &#8221;,<br />
     array(&#8217;style&#8217; =&gt; &#8216;float:right; margin: 5px;&#8217;,<br />
     &#8216;class&#8217; =&gt; &#8216;guestauthorphoto&#8217;) );<br />
 } ?&gt;</p>
<p>&#47;&#47; Show the author&#8217;s information<br />
 &lt;h3&gt;Guest post by: &lt;?php the_author(); ?&gt;&lt;&#47;h3&gt;<br />
 &lt;p&gt;&lt;?php the_author_description(); ?&gt;&lt;&#47;p&gt;<br />
&lt;&#47;div&gt;<br />
&lt;?php<br />
       }<br />
?&gt;</p>
<p>The last thing is that, in order for HTML to be allowed in user<br />
profiles, you need to add the following line to your theme&#8217;s<br />
functions.php:</p>
<p>&#47;&#47; Allow HTML in user profiles<br />
remove_filter(&#8217;pre_user_description&#8217;, &#8216;wp_filter_kses&#8217;);</p>
<p>That&#8217;s it! You now have cool &#8220;Guest post by&#8221; blocks on your site!</p>
</blockquote>
<p>See what you almost missed? Now, if you don&#8217;t want to miss any more FREE tips like this, I highly suggest you <a href="http://yoast.com/mailing-list/">subscribe to his list</a>. Thanks to this plugin, users can clearly see the post was written by a guest poster without them having to do an awkward intro in the actual post itself or constantly add (and format) their own bio line if they guest post often.</p>
<p><b>8. <a href="http://www.samsarin.com/blog/2007/03/10/samsarin-php-widget/">Samsarin PHP widget plugin</a></b><br />
If you&#8217;re using a theme that doesn&#8217;t support PHP in its sidebar widgets (which would be most of them in my experience), you might find yourself in the situation that I did when I switched to the Thesis theme. I use the <a href="http://andersdrengen.dk/projects">randomize plugin</a> to rotate between certain pictures in my flickr account on my sidebar so that people can &#8220;caption&#8221; the photos for fun. The Thesis widgets didn&#8217;t support PHP, so it looked like I might have to go without that feature until someone <a href="http://www.sugarrae.com/a-review-of-the-thesis-wordpress-theme/#comment-78301">commented on my blog</a> (they didn&#8217;t leave a site link, or I would have linked to them) about the Samsarin plugin, which I added and made PHP work in my widgets like a charm. Now I get my sexy theme and my  PHP, which I use to make the blog a little bit more interactive.</p>
<p>So there ya go&#8230; eight quick ways you can make your blog a bit more appealing, strictly from a human standpoint. And since I&#8217;ve now helped you make your blog hotter, head on over and <a href="http://polls.zoho.com/dawniemom/hottest-female-bloggers">vote for me</a> in the hot blogger competition (long list, control +F Sugarrae). ;-)</p>
<p>This post originated at the <a href="http://www.sugarrae.com">Sugarrae online marketing blog</a>, home to <a href="http://www.sugarrae.com/about/">online marketing consultant</a> Rae Hoffman.<br/><br/><a href="http://www.sugarrae.com/8-ways-pimp-wordpress-theme/">Pimping Your Wordpress Theme for Humans</a></p>
<p>This post originated at the <a href="http://www.sugarrae.com">Sugarrae online marketing blog</a>, home to <a href="http://www.sugarrae.com/about/">online marketing consultant</a> Rae Hoffman.<br/><br/><a href="http://www.sugarrae.com/8-ways-pimp-wordpress-theme/">Pimping Your Wordpress Theme for Humans</a></p>
]]></description>
		<wfw:commentRss>http://www.sugarrae.com/8-ways-pimp-wordpress-theme/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
		<item>
		<title>A Review of the Thesis Wordpress Theme</title>
		<link>http://www.sugarrae.com/a-review-of-the-thesis-wordpress-theme/</link>
		<comments>http://www.sugarrae.com/a-review-of-the-thesis-wordpress-theme/#comments</comments>
		<pubDate>Wed, 20 Aug 2008 21:33:26 +0000</pubDate>
		<dc:creator>Rae Hoffman</dc:creator>
				<category><![CDATA[Blogging It]]></category>
		<category><![CDATA[Reviews]]></category>
		<category><![CDATA[Thesis]]></category>
		<category><![CDATA[wordpress themes]]></category>

		<guid isPermaLink="false">http://www.sugarrae.com/?p=515</guid>
		<description><![CDATA[<p><img src="http://www.sugarrae.com/wp-content/uploads/2008/08/istock_000006321121xsmall1-150x150.jpg" alt="" title="Through a Magnifying Glass" width="150" height="150" class="alignright size-thumbnail wp-image-586" />Before I go any further in this post, I&#8217;d like to make a few things crystal clear. I was not <a href="http://www.problogger.net/archives/2008/07/18/thesis-a-wordpress-theme-design-worth-considering/">given</a> a &#8220;review copy&#8221; of <a href="http://www.sugarrae.com/hop/thesis.html">Thesis</a>. I bought the theme. I forget where I&#8217;d first heard about it, but I believe it was a tweet by <a href="http://www.twitter.com/copyblogger">copyblogger</a>. </p>
<p>I saw it, liked it, bought it, tweaked it and played with it. I like the theme&#8230; thus why I am using it, went back and bought a developers license so I can use it on other sites and you&#8217;re damn right I am linking to it with affiliate links.<br />
<!--more--><br />
Ok, with that out of the way, I really think thesis is the best &#8220;in the box&#8221; Wordpress theme I&#8217;ve ever come across, though I still have a few wants on my wish list for future upgrades.</p>
<p>For someone who doesn&#8217;t get a lot of php and hacks their way through Wordpress themes, Thesis will give them a lot of functionality they wouldn&#8217;t be able to obtain for themselves otherwise by being able to make changes via a simple control panel instead of having to alter any actual Wordpress code (click the images below to see larger versions).</p>
<p><a href="http://www.sugarrae.com/pictures/thesisim/thesis1.jpg"><img src="http://www.sugarrae.com/pictures/thesisim/thesis1mini.jpg"></a></p>
<p><a href="http://www.sugarrae.com/pictures/thesisim/thesis2.jpg"><img src="http://www.sugarrae.com/pictures/thesisim/thesis2mini.jpg"></a></p>
<p>You can tick a box that allows you to use either the default css theme or your own custom css file and you can also &#8220;tell Thesis&#8221; to replace all of the generic links to your rss feed in Wordpress with your <a href="http://www.feedburner.com">Feedburner</a> one (though I totally admit to hacking this in by hand myself because I am weird like that).</p>
<p>Thesis also allows you to pick and choose which &#8220;pages&#8221; you display instead of utilizing a code that simply displays anything you designate as a page. It also allows you to mix and match pages and blog categories in the top navigation header and even allows you to add links to outside sites. If you want to remove the author name or dates of your postings from the template, add tags to your template or anything else along those lines, you can simply un-tick the box. you can even insert your <a href="http://www.google.com/analytics/">Google Analytics</a> or <a href="http://haveamint.com/">Mint</a> tracking code&#8230; all right from the control panel, complete with a &#8220;big ass save button&#8221; &#8211; no, really.</p>
<p>My favorite part of the Thesis theme is the Multimedia Box (see the top of this page where the 300X250 Thesis ad is), which you can change to rotate between pictures, embed video or even include custom code for all those folks that want to show advertising in that area. </p>
<p>Big deal&#8230; most themes have spots for advertisements. Yeah, but what made Thesis stand out to me is that I can change what appears in that area on a page by page basis if I want to. For example, you&#8217;ll notice my homepage has an ad for SEOBook.com, while this page has an ad for Thesis. Since my <a href="http://www.sugarrae.com/blog/before-you-launch-that-local-small-business-website/">guide to small business SEO</a> gets a lot of traffic from small business owners, that page shows an ad for Yahoo Search Marketing.</p>
<p>I&#8217;m able to override the base choice I&#8217;ve made of what to show in that area for the majority of my site pages/posts in the Thesis control panel, all without ever having to touch a drop of code in the Wordpress templates by utilizing the custom key option on the specific page or post. </p>
<p><a href="http://www.sugarrae.com/pictures/thesisim/thesis3.jpg"><img src="http://www.sugarrae.com/pictures/thesisim/thesis3mini.jpg"></a></p>
<p>If you view the photo above, you&#8217;ll see I was able to select the &#8220;custom&#8221; key I defined in the Thesis control panel and &#8220;override it&#8221;and insert specific code to replace the normal &#8220;custom&#8221; key, only for this post. This allows me to target my advertising on specific pages, especially higher traffic ones.</p>
<p>Imagine you own an SEO blog but get a lot of traffic from people searching for routers due to a <a href="http://www.shandyking.com/2007/02/18/hijack-hacked-linksys-wireless-router/">one off post you did</a>&#8230; with Thesis, you can change your advertising on that single page to be router related without forcing you to rely on <a href="http://www.sugarrae.com/the-lazy-seo-vs-the-lazy-monetizer/">webmaster welfare</a> to do it for you. </p>
<p>Can you use custom fields without Thesis? <a href="http://codex.wordpress.org/Using_Custom_Fields">But of course</a>. You can do everything Thesis does without putting down any money buying the theme. Hell, you could also <a href="http://autoshows.ford.com/">do this</a> with wordpress if you knew how to (yes, <a href="http://www.webhelpermagazine.com/2008/04/wordpress-wow-seven-top-sites-using-wordpress-as-a-cms/">no shit</a>). </p>
<p>Now, <b>you</b> might be someone who can do all this without buying Thesis. </p>
<p>However, <b>I</b> am not. So I <a href="http://www.sugarrae.com/hop/thesis.html">bought Thesis</a>.</p>
<p>Now, is Thesis all unicorns and rainbows? No. </p>
<p>I have a few gripes and a wish list for future upgrades I&#8217;d like to see added to the theme, including:</p>
<p>1. The default template doesn&#8217;t include the category that the post was made in and doesn&#8217;t have a simple control panel check box to enable on. If a user lands on one of my Facebook posts from Google, I&#8217;d like them to be able to see the post is in a Facebook category so they can see all my Facebook posts should they choose (yes, I get that it is still in the sidebar, don&#8217;t care).</p>
<p>2. You can&#8217;t access the custom style sheet through the Wordpress theme editor. So, if you use the custom css (rather than the default one), which I&#8217;d imagine most professional bloggers would, you actually have to edit it offline and then ftp it back to the server to make any changes to it. I&#8217;d much rather edit it the same way I do everything else relating to the theme.</p>
<p>3. While the design and theme are very SEO friendly, and I might even go as far to say it is the most SEO friendly theme I&#8217;ve ever seen &#8220;in a box&#8221;, it is not perfect and it does lean a little heavy in implying it is doesn&#8217;t need anything &#8220;extra&#8221; in regards to plugins or the like for SEO reasons. So, if you do buy and use Thesis, I&#8217;d recommend the following &#8220;enhancements&#8221; (at minimum) to Thesis&#8217;s <b>great base</b> for SEO friendliness to turn it into SEO excellence:</p>
<ul>
<li><a href="http://www.netconcepts.com/seo-title-tag-plugin/">SEO title tag</a> (Thesis lets you change post/page title tags without this plugin, but it doesn&#8217;t let you change titles of category pages)</li>
<li><a href="http://yoast.com/wordpress/rss-footer/">RSS footer</a></li>
<li><a href="http://yoast.com/wordpress/permalink-redirect/">Permalink redirect</a></li>
<li><a href="http://www.dailyblogtips.com/best-wordpress-plugins-custom-query-string/">Custom query string</a></li>
<li><a href="http://yoast.com/wordpress-breadcrumbs/">Wordpress breadcrumbs</a></li>
<li><a href="http://wordpress.org/extend/plugins/seo-slugs/">SEO slugs</a></li>
<li><a href="http://yoast.com/wordpress/robots-meta/">Robots meta</a></li>
</ul>
<p>4. I&#8217;d like to see an option to enable/show social media buttons in the Thesis control panel. I&#8217;d love to tick off Digg, Delicious and Stumbleupon boxes and have the graphics (or text links) show up nicely and properly coded to work. An option to check off a box to enable a div to make the <a href="http://www.aviransplace.com/index.php/digg-this-wordpress-plugin/">Digg plugin</a> (or something like it) nicely align with your text (like it does <a href="http://www.sugarrae.com/an-actual-non-big-brand-twitter-case-study/">here</a>) without having to actually touch the design template (installing a plugin and checking a box is so much easier).</p>
<p>5. The ability to create a nice contact form for yourself without actually having to know any code would also be awesome.</p>
<p>6. Adding things to the sidebar is a breeze since the theme is widget enabled. However, the widgets do not accept any php. So if you have something utilizing php in your sidebar, you&#8217;ll either have to hack the template in the code or go without it. I&#8217;d like to see this become a non-issue in the next release.</p>
<p>7. I&#8217;d like the ability to specify a specific advertisement to a category or archive page, not just individual posts and pages.</p>
<p>However, even with my gripes and wish list, I still think Thesis is the best out of the box solution I&#8217;ve seen in regards to a blog theme. Easy to use, pretty damn customizable and when you see them say over and over on the <a href="http://www.sugarrae.com/hop/thesis.html">Thesis sales page</a> that the support is awesome, they ain&#8217;t lyin&#8217;. And all future upgrades/releases of the theme are free.</p>
<p>So if you kick ass at php and can do all this customization yourself by utilizing your mad coding skillz, rock on. If you&#8217;re like me and well, can&#8217;t, then <a href="http://www.sugarrae.com/hop/thesis.html">Thesis might be a solution</a>. The ad targeting features alone for the professional (or semi-professional) blogger should easily make up the cost of buying the theme to begin with if you&#8217;re getting any decent traffic.</p>
<p>Edited to add: Let me know if you guys like the product reviews. I sometimes find good stuff (like Thesis) among all the flat out crap I try (and buy, sigh). I&#8217;ll share more of the good stuff if you&#8217;d like.</p>
<p>This post originated at the <a href="http://www.sugarrae.com">Sugarrae online marketing blog</a>, home to <a href="http://www.sugarrae.com/about/">online marketing consultant</a> Rae Hoffman.<br/><br/><a href="http://www.sugarrae.com/a-review-of-the-thesis-wordpress-theme/">A Review of the Thesis Wordpress Theme</a></p>
<p>This post originated at the <a href="http://www.sugarrae.com">Sugarrae online marketing blog</a>, home to <a href="http://www.sugarrae.com/about/">online marketing consultant</a> Rae Hoffman.<br/><br/><a href="http://www.sugarrae.com/a-review-of-the-thesis-wordpress-theme/">A Review of the Thesis Wordpress Theme</a></p>
]]></description>
		<wfw:commentRss>http://www.sugarrae.com/a-review-of-the-thesis-wordpress-theme/feed/</wfw:commentRss>
		<slash:comments>37</slash:comments>
		</item>
	</channel>
</rss>
