<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Thesis Theme Tutorial &#187; Thesis Tutorials</title>
	<atom:link href="http://thesisthemetutorial.com/category/thesis-tutorials/feed" rel="self" type="application/rss+xml" />
	<link>http://thesisthemetutorial.com</link>
	<description></description>
	<lastBuildDate>Sun, 12 Jun 2011 17:36:53 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
<atom:link rel="hub" href="http://pubsubhubbub.appspot.com"/><atom:link rel="hub" href="http://superfeedr.com/hubbub"/>		<item>
		<title>Customizing the Thesis Number of Comments Display</title>
		<link>http://thesisthemetutorial.com/customizing-the-thesis-number-of-comments-display</link>
		<comments>http://thesisthemetutorial.com/customizing-the-thesis-number-of-comments-display#comments</comments>
		<pubDate>Mon, 05 Apr 2010 22:49:15 +0000</pubDate>
		<dc:creator>Chris</dc:creator>
				<category><![CDATA[Thesis Tutorials]]></category>
		<category><![CDATA[comments]]></category>
		<category><![CDATA[custom functions]]></category>
		<category><![CDATA[thesis theme]]></category>

		<guid isPermaLink="false">http://thesisthemetutorial.com/?p=75</guid>
		<description><![CDATA[One question I always get asked is how to change the way Thesis displays the number of comments for a post. By default, Thesis displays the number in curly brackets like this: { 0 } comments. I am personally not a fan of how this looks, but fortunately Thesis makes this extremely easy to customize. [...]


No related posts.]]></description>
			<content:encoded><![CDATA[<p></p><p>One question I always get asked is how to change the way Thesis displays the number of comments for a post.  By default, Thesis displays the number in curly brackets like this: </p>
<p><strong>{ 0 } comments</strong>. </p>
<p>I am personally not a fan of how this looks, but fortunately Thesis makes this extremely easy to customize.</p>
<p>First open <strong>custom_functions.php</strong> and add this line to the bottom</p>

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

<p>This will remove the default Thesis number of comments display.  Now to add your own custom look, add the following to the same file.</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">function</span> custom_comments_link<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
  <span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span><span style="color: #339933;">!</span>is_single<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">&amp;&amp;</span> <span style="color: #339933;">!</span>is_page<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
    <span style="color: #b1b100;">echo</span> <span style="color: #0000ff;">'&lt;p class=&quot;to_comments&quot;&gt;&lt;a href=&quot;'</span><span style="color: #339933;">;</span>
    the_permalink<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
    <span style="color: #b1b100;">echo</span> <span style="color: #0000ff;">'#comments&quot; rel=&quot;nofollow&quot;&gt;'</span><span style="color: #339933;">;</span>
    comments_number<span style="color: #009900;">&#40;</span>__<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'&lt;span&gt;0&lt;/span&gt; comments'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'thesis'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">,</span> __<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'&lt;span&gt;1&lt;/span&gt; comment'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'thesis'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">,</span> __<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'&lt;span&gt;%&lt;/span&gt; comments'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'thesis'</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
    <span style="color: #b1b100;">echo</span> <span style="color: #0000ff;">'&lt;/a&gt; &lt;/p&gt;'</span><span style="color: #339933;">;</span>
  <span style="color: #009900;">&#125;</span>
<span style="color: #009900;">&#125;</span>
&nbsp;
add_action<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'thesis_hook_after_post'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'custom_comments_link'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></div></div>

<p>Basically, this is the same code as before, but without the curly brackets.  You can then use the <strong>to_comments</strong> css class to customize the number of comments look to your liking.</p>


<p>No related posts.</p>]]></content:encoded>
			<wfw:commentRss>http://thesisthemetutorial.com/customizing-the-thesis-number-of-comments-display/feed</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Thesis Hooks Explained</title>
		<link>http://thesisthemetutorial.com/thesis-hooks-explained</link>
		<comments>http://thesisthemetutorial.com/thesis-hooks-explained#comments</comments>
		<pubDate>Sat, 20 Feb 2010 00:07:01 +0000</pubDate>
		<dc:creator>Chris</dc:creator>
				<category><![CDATA[Thesis Tutorials]]></category>
		<category><![CDATA[actions]]></category>
		<category><![CDATA[customizing thesis]]></category>
		<category><![CDATA[filters]]></category>
		<category><![CDATA[thesis hooks]]></category>

		<guid isPermaLink="false">http://thesisthemetutorial.com/?p=45</guid>
		<description><![CDATA[To really customize Thesis the way you want to, you need to understand Thesis hooks. At first glance, hooks seem like a daunting concept to learn, but they really are quite simple. In this article, let me explain to you what Thesis hooks are, and how to take advantage of them on your site. Hooks [...]


No related posts.]]></description>
			<content:encoded><![CDATA[<p></p><p>To really customize Thesis the way you want to, you need to understand <strong>Thesis hooks</strong>.  At first glance, hooks seem like a daunting concept to learn, but they really are quite simple.  In this article, let me explain to you what Thesis hooks are, and how to take advantage of them on your site.</p>
<p>Hooks themselves are a WordPress concept.  They were added into WP to provide plugin developers a way to call their own custom functions at specific times.  There are actually two different types of hooks, Actions and Filters.  Actions occur are hooks that are called at specific points in time or when a specific event happens.  So there&#8217;s a WordPress hook called <strong>publish_post</strong>, and if you add your action to that hook, it will be called whenever someone publishes a post on the site. Filters are slightly different.  They are called when WordPress is doing something with data (ie. text) like displaying it on the screen or saving it to the database.  This allows you to add your own filters to modify the data in your own specific way.  For example, you could add your own filter which would link to the Thesis homepage whenever it sees the word &#8220;Thesis&#8221; in a post.</p>
<p>There are hundreds of built in WordPress hooks, but they&#8217;re not particularly helpful for customizing Thesis itself.  That&#8217;s why, Thesis has added it&#8217;s own set of Thesis hooks that makes modifying the theme very simple. </p>
<p>Lets solidify this with an example.  Take the Thesis banner I&#8217;ve added to the top of the site.  To do this, I first browsed through the <a target="_blank" href="http://diythemes.com/thesis/rtfm/hooks/">Thesis hooks list</a> and decided that <strong>thesis_hook_before_content</strong> would be the appropriate hook to use.  You can also use the visual hooks reference at <a target="_blank" href="http://thesishooks.com">thesishooks.com</a> which is a handy resource as well.  Once we know which hook to use, open up your custom_functions.php file and add the following code.</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;">function top_banner() { ?&gt;
	&lt;img src=&quot;http://thesisthemetutorial.com/images/thesis468x60.png&quot;/&gt;
<span style="color: #000000; font-weight: bold;">&lt;?php</span>
<span style="color: #009900;">&#125;</span>
&nbsp;
add_action<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'thesis_hook_before_content'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'top_banner'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></div></div>

<p><strong>Add_action</strong> is a php function that takes 2 arguments, the hook name and a function.  You can see I&#8217;m calling a function called <strong>top_banner</strong> and inside the function, all I&#8217;m doing is displaying my banner image.  While this is really a trivial example, it really is this simple.  By finding the appropriate Thesis hooks to use, you can pretty much customize the theme however you want.</p>


<p>No related posts.</p>]]></content:encoded>
			<wfw:commentRss>http://thesisthemetutorial.com/thesis-hooks-explained/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Installing Thesis Theme</title>
		<link>http://thesisthemetutorial.com/installing-thesis-theme</link>
		<comments>http://thesisthemetutorial.com/installing-thesis-theme#comments</comments>
		<pubDate>Thu, 18 Feb 2010 20:14:25 +0000</pubDate>
		<dc:creator>Chris</dc:creator>
				<category><![CDATA[Thesis Tutorials]]></category>

		<guid isPermaLink="false">http://thesisthemetutorial.com/?p=16</guid>
		<description><![CDATA[Installing Thesis is quite simple. In this Thesis Theme tutorial, I&#8217;m going to show you how to install Thesis onto your blog. This assumes you&#8217;ve already installed WordPress already, but if you haven&#8217;t, check out this WordPress installation tutorial. Downloading Thesis Theme The first thing you will need to do is download is download the [...]


No related posts.]]></description>
			<content:encoded><![CDATA[<p></p><p>Installing Thesis is quite simple.  In this <strong>Thesis Theme tutorial</strong>, I&#8217;m going to show you how to install Thesis onto your blog.  This assumes you&#8217;ve already installed WordPress already, but if you haven&#8217;t, check out this <a href="http://www.optiniche.com/blog/187/wordpress-tutorial-one-click-installation-with-fantastico/">WordPress installation tutorial</a>.</p>
<h3>Downloading Thesis Theme</h3>
<p>The first thing you will need to do is download is download the latest version of the Thesis Theme.  After your purchase, you should have received an email detailing your username and password and a link to your personal membership page.  Login to your account and you can find a download link on the right.  Alternatively, and you can download Thesis using this <a href="http://diythemes.com/thesis/downloads/">download link</a>.</p>
<h3>Installing Thesis Theme</h3>
<ol>
<li>
The thesis download will be in zip format, so you will first need to extract it.  Mac users can just double-click to extract.  Windows users can extract the file using a free utility like <a href="http://www.7-zip.org/">7zip</a>.  Once it&#8217;s extracted, you should have a folder called <strong>thesis_16</strong> on your local computer.
</li>
<li>
Next, you&#8217;ll need to upload this thesis folder to the server.  For that you&#8217;ll need a free FTP program like <a href="http://cyberduck.ch/">Cyberduck</a> (Mac) or <a href="http://winscp.net/eng/index.php">WinSCP</a> (Windows).
</li>
<p><img src="http://thesisthemetutorial.com/wp-content/uploads/2010/02/installing-thesis.png" alt="Thesis Install Location" title="installing-thesis" width="223" height="177" class="alignright size-full wp-image-23" /></p>
<li>
Login to your server using the credentials from your webhost, and navigate to your wordpress install.  You&#8217;ll want to upload your extracted thesis folder to the <strong>wp-content/themes</strong> subdirectory.
</li>
<li>
Once all the files have been uploaded, it&#8217;s time to Activate your copy of Thesis.  Login to your WordPress admin panel, and go to <strong>Appearance > Themes</strong> on the left hand menu.  Look for Thesis under <strong>Available Themes</strong> and select the activate link.  Voila! You&#8217;re now using Thesis.
</li>
<li>
One last thing.  Go back into your ftp program and navigate over to <strong>wp-content/themes/thesis_16</strong> and rename the custom-sample folder to custom.  Now you can use the Thesis custom stylesheet and custom functions to tweak Thesis to your hearts content.
</li>
</ol>


<p>No related posts.</p>]]></content:encoded>
			<wfw:commentRss>http://thesisthemetutorial.com/installing-thesis-theme/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Upgrading To Thesis 1.6</title>
		<link>http://thesisthemetutorial.com/upgrading-to-thesis16</link>
		<comments>http://thesisthemetutorial.com/upgrading-to-thesis16#comments</comments>
		<pubDate>Sun, 28 Mar 2010 21:05:14 +0000</pubDate>
		<dc:creator>Chris</dc:creator>
				<category><![CDATA[Thesis Tutorials]]></category>
		<category><![CDATA[thesis theme]]></category>
		<category><![CDATA[thesis upgrade]]></category>

		<guid isPermaLink="false">http://thesisthemetutorial.com/?p=61</guid>
		<description><![CDATA[I recently had to upgrade one of my older Thesis 1.5 installs to Thesis 1.6. Here are the steps to do it. In your existing Thesis install, make a backup of your custom folder and any images you may have added to your rotator folder Upload the new thesis_16 folder to your wp-content/themes directory. Rename [...]


No related posts.]]></description>
			<content:encoded><![CDATA[<p></p><p>I recently had to upgrade one of my older Thesis 1.5 installs to Thesis 1.6.  Here are the steps to do it.</p>
<ol>
<li>In your existing Thesis install, make a backup of your <strong>custom</strong> folder and any images you may have added to your <strong>rotator</strong> folder</li>
<li>Upload the new <strong>thesis_16</strong> folder to your <strong>wp-content/themes</strong> directory.</li>
<li>Rename the <strong>custom-sample</strong> folder to <strong>custom</strong></li>
<li>Copy the contents of your backed up <strong>custom</strong> folder to the new custom folder.  Don&#8217;t overwrite the folder!  Just copy the contents only.</li>
<li>If necessary, copy the images from your backed up rotator folder to the new <strong>custom/rotator</strong> folder</li>
<li>Log in to your WordPress Dashboard, and select the new Thesis 1.6 theme to activate</li>
</ol>
<p>One thing to note is that the navigation menu has been significantly reworked in Thesis 1.6.  If you have done any nav menu customizations to your previous Thesis install, you will probably be affected by these changes.  If you need any help with this after you upgrade, visit the <a href="http://diythemes.com/forums/index.php">Thesis forums</a> and someone will help you out.</p>
<p>As you can see, it is relatively simple to perform a Thesis 1.6 upgrade.  Don&#8217;t delay if you are still using an older Thesis install.</p>


<p>No related posts.</p>]]></content:encoded>
			<wfw:commentRss>http://thesisthemetutorial.com/upgrading-to-thesis16/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Served from: www.thesisthemetutorial.com @ 2012-02-03 18:55:34 -->
