<?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>Art of Blog</title>
	<atom:link href="http://www.artofblog.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.artofblog.com</link>
	<description>The Art of How to Start and Run a Blog</description>
	<lastBuildDate>Fri, 26 Feb 2010 04:08:55 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.6</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Top 25 Tutorials for Thesis Newbies</title>
		<link>http://www.artofblog.com/top-thesis-tutorials/</link>
		<comments>http://www.artofblog.com/top-thesis-tutorials/#comments</comments>
		<pubDate>Thu, 25 Feb 2010 17:18:57 +0000</pubDate>
		<dc:creator>Adam Baird</dc:creator>
				<category><![CDATA[Thesis]]></category>
		<category><![CDATA[custom css]]></category>
		<category><![CDATA[Hooks]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://www.artofblog.com/?p=1585</guid>
		<description><![CDATA[The Thesis Theme from DIY Themes is hands down the most versatile Wordpress theme on the market.  There&#8217;s really no arguing that point.  However, it can be a bit of a daunting task for newbies to get started.  There&#8217;s a ton of information out there.  Let me point you in the [...]]]></description>
			<content:encoded><![CDATA[<p></p><p>The Thesis Theme from DIY Themes is hands down the most versatile Wordpress theme on the market.  There&#8217;s really no arguing that point.  However, it can be a bit of a daunting task for newbies to get started.  There&#8217;s a ton of information out there.  Let me point you in the right direction!</p>
<p>I have a list of the top 25 tutorials for all of you Thesis newbies.  They cover topics ranging from the basics to specific, commonly used blog design elements in Thesis.  Let&#8217;s get started!</p>
<h3>Installation and Optimization</h3>
<p><strong><a href="http://www.artofblog.com/installing-thesis/">Installing and Optimizing the Thesis Theme for Wordpress</a></strong> &#8211; The first thing you need to do is install Thesis.  This guide will help you install and opimize Thesis for the best possible performance in terms of your blog&#8217;s speed and search engine optimization.</p>
<p><strong><a href="http://www.doublemule.com/thesis-tutorial-seo-for-everyone/">Thesis SEO for Everyone</a></strong> &#8211; This is another guide to optimizing your blog for search engines.  It speaks in-depth on both homepage and general blog optimization as well as optimization for individual posts.</p>
<p><strong><a href="http://www.artofblog.com/restore-thesis-to-default-settings/">Restoring Thesis to Default Settings</a></strong> &#8211; If you ever need to reset your Thesis options, we got ya covered!</p>
<p><strong><a href="http://www.kristarella.com/2009/05/thesis-full-width-framework/">What is the Thesis Full Width framework?</a></strong> &#8211; What&#8217;s the difference between the page framework and the full width framework?  Which one should you use?  This video tutorial has the answers.</p>
<h3>Thesis Hooks</h3>
<p><strong><a href="http://www.artofblog.com/thesis-introduction-to-hooks/">Thesis Hooks 101: An Introduction to Thesis Hooks</a></strong> &#8211; This is the Art of Blog guide to Thesis Hooks.  If you&#8217;re a complete beginner with hooks, this is the place to start.</p>
<p><strong><a href="http://www.sugarrae.com/thesis-hooks-dummies-tutorial/">Hooks for Dummies</a></strong> &#8211; Another great beginner tutorial for Thesis Hooks.</p>
<p><strong><a href="http://diythemes.com/thesis/rtfm/hooks/">Thesis Hook Reference List</a></strong> &#8211; This is a complete list of available hooks for Thesis with descriptions from the DIY Themes website.  This is absolutely crucial for finding the right hook to place content where you want.</p>
<p><strong><a href="http://thesispress.com/a-quick-introduction-to-the-thesis-openhook-plugin">A Quick Introduction to the Thesis OpenHook Plugin</a></strong> &#8211; If hooks are a bit overwhelming for you, check out this tutorial.  OpenHook lets place content just like you would with hooks, but without having to know any PHP.  For the long term health of your blog, I don&#8217;t recommend using this, but in a pinch its a great solution.</p>
<h3>Thesis Custom CSS</h3>
<p><strong><a href="http://diythemes.com/thesis/rtfm/customizing-thesis-with-customcss/">Customizing Thesis With Custom.css</a></strong> &#8211; This is a simple guide from the DIY Themes website to help you get started with Custom CSS in Thesis.</p>
<p><strong><a href="http://www.artofblog.com/introduction-to-custom-css/">Introduction to Custom CSS in Thesis</a></strong> &#8211; This is another Tutorial you can find here on Art of Blog.  It takes you through the basics of CSS, using custom CSS in Thesis, and offers a couple of very simple example tutorials.</p>
<h3>Thesis Design Tutorials</h3>
<p><strong><a href="http://www.billerickson.net/thesis-wordpress-click-logo-header/">Clickable Logo in Header</a></strong> &#8211; Want to replace that boring title and tagline with your flashy logo?  Its as simple as a few lines of CSS.</p>
<p><strong><a href="http://www.doublemule.com/how-to-add-banner-image-thesis-theme-header-css-custom/">Adding a Banner Ad to Your Thesis Header</a></strong> &#8211; You&#8217;ve got the logo, now ad the 468&#215;60 ad to monetize your blog!</p>
<p><strong><a href="http://thesistutor.com/how-to-exclude-posts-of-a-certain-category-in-thesis/"></a></strong> &#8211; Need to keep a certain category off of your homepage?  Here is the solution!</p>
<p><strong><a href="http://www.artofblog.com/answers-to-common-thesis-questions/">10 Useful Answers to Common Thesis Questions</a></strong> &#8211; A collection of simple solutions to mostly simple Thesis problems.  This one is also from Art of Blog.</p>
<p><strong><a href="http://www.fergusweb.net/coding/thesis-tutorial-creating-new-widget-areas/">Creating New Widgetized Areas</a></strong> &#8211; This tutorial will show you how to widgetize areas of your Thesis installation.  You can apply the principles learned here to widgetize virtually any area of your blog.</p>
<p><strong><a href="http://thesisthemehq.com/tutorial-customizing-thesis-standard-unique-5-easy-steps/">Take Thesis from Standard to Unique in 6 Easy Steps</a></strong> &#8211; Need to make your blog unique?  This tutorial offers 6 very easy ways to do so.  You won&#8217;t need much coding knowledge to get these done.</p>
<p><strong><a href="http://thesistutor.com/how-to-make-a-jquery-image-slideshow-in-thesis/">How to Make a JQuery Image Slideshow in Thesis</a></strong> &#8211; This tutorial will show you how to create a slideshow in Thesis using JQuery.  If you&#8217;re intimidated by javascript code, don&#8217;t worry.  This is easy!</p>
<p><strong><a href="http://www.wolf-howl.com/blogs/how-to-carousel/">How To Add a Carousel To Your Thesis Blog</a></strong> &#8211; Have you seen those blogs with the post images and captions accross the top before the content?  Pretty sweet for bumping your page views up a bit.  See how!</p>
<p><strong><a href="http://gregrickaby.com/2009/12/how-to-add-breadcrumbs-without-a-plugin.html">How to Add Breadcrumbs Without a Plugin</a></strong> &#8211; Add simple breadcrumbs to Thesis.  This is great for your blog&#8217;s SEO performance, and it cuts down on the plug-ins you&#8217;ll use.</p>
<p><strong><a href="http://mattflies.com/tech/wordpress-tech/using-the-thesis-feature-box/">Using the Thesis Feature Box</a></strong> &#8211; There&#8217;s not as much out there about the Thesis feature box as there should be.  Its an extremely useful tool, and this will get you started.</p>
<p><strong><a href="http://www.artofblog.com/customize-thesis-creating-useful-404-pages/">Creating Useful 404 Error Pages in Thesis</a></strong> &#8211; You need to have a solid 404 page to direct visitors who find broken links on your site.  Another Art of Blog tutorial has you covered!</p>
<p><strong><a href="http://mattflies.com/tech/how-to-make-a-cool-social-media-box-for-thesis/">How to Make a Cool Social Media Box for Thesis</a></strong> &#8211; Want to add links to your social media profiles to your the bottom of your posts?  Its usually a good idea, and this tutorial will show you how to do it.</p>
<p><strong><a href="http://www.artofblog.com/thesis-page-navigation/">How to Set Up Numbered Page Navigation in Thesis</a></strong> &#8211; Adding numbered page navigation will increase your page views which is always a good thing!  This tutorial makes it as simple as copy and pasting!</p>
<p><strong><a href="http://www.berchman.com/thesis-tutorial-custom-after-the-post-box/">Custom &#8220;After the Post&#8221; Box</a></strong> &#8211; Another tutorial for adding elements below your posts on single post pages.</p>
<p><strong><a href="http://gregrickaby.com/2009/06/use-conditional-tags-in-thesis.html">How to Use Wordpress Conditional Tags in Thesis</a></strong> &#8211; Conditional tags allow you to specify that certain elements of your design only appear on certain posts/pages of your blog.  This tutorial will show you how its done.</p>
<p><strong><a href="http://www.berchman.com/thesis-tutorial-multiple-custom-page-templates/">Multiple Custom Page Templates in Thesis</a></strong> &#8211; Thesis allows you to create custom page templates to do just about anything you want.  This takes a bit of imagination and a bit of coding knowledge, but this tutorial will get you started.</p>
<p>So that&#8217;s it!  Thesis will let you do just about anything.  The only thing holding you back is a lack of knowledge.  Now you don&#8217;t have that excuse, so get after it!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.artofblog.com/top-thesis-tutorials/feed/</wfw:commentRss>
		<slash:comments>18</slash:comments>
		</item>
		<item>
		<title>Introduction to Custom CSS in Thesis</title>
		<link>http://www.artofblog.com/introduction-to-custom-css/</link>
		<comments>http://www.artofblog.com/introduction-to-custom-css/#comments</comments>
		<pubDate>Fri, 05 Feb 2010 02:24:38 +0000</pubDate>
		<dc:creator>Adam Baird</dc:creator>
				<category><![CDATA[Thesis]]></category>
		<category><![CDATA[custom css]]></category>
		<category><![CDATA[header image]]></category>

		<guid isPermaLink="false">http://www.artofblog.com/?p=1349</guid>
		<description><![CDATA[
So, we&#8217;ve installed Thesis, and we&#8217;ve figured out how to add custom elements to our layout.  Now, its time to kick the customization into high gear.  Let&#8217;s take a look at some custom styling.
Obviously, Thesis ships with some pretty amazing customization tools.  You can change colors, add and remove borders, change sidebar [...]]]></description>
			<content:encoded><![CDATA[<p><a class="post_image_link" href="http://www.artofblog.com/introduction-to-custom-css/" title="Permanent link to Introduction to Custom CSS in Thesis"><img class="post_image aligncenter remove_bottom_margin frame" src="http://www.artofblog.com/wp-content/uploads/2010/02/customcss.gif" width="610" height="299" alt="Post image for Introduction to Custom CSS in Thesis" /></a>
</p><p>So, we&#8217;ve installed Thesis, and we&#8217;ve figured out how to add custom elements to our layout.  Now, its time to kick the customization into high gear.  Let&#8217;s take a look at some custom styling.</p>
<p>Obviously, Thesis ships with some pretty amazing customization tools.  You can change colors, add and remove borders, change sidebar layouts, and more.  Before you ever get your hands dirty with any CSS/HTML/PHP code, check this video for help with basic <a href="http://www.artofblog.com/thesis-review-thesis-wordpress-theme-video-review/">customizations using Thesis options</a>.</p>
<p><a href="http://www.artofblog.com/introduction-to-custom-css/"><em>Click here to view the embedded video.</em></a></p>
<h3>Understanding CSS</h3>
<p>To help give you a clear idea of what HTML and CSS are we&#8217;ve broken it down.</p>
<ul>
<li>HTML is what web browsers (like Firefox or Internet Explorer) read to find out what is on each page. This is purely the text and images shown on a page.</li>
<li>CSS is the design aspect of a web page. Browsers use CSS to determine how the text/images in the HTML should be displayed.</li>
</ul>
<p>In a nutshell HTML is &#8220;what you see&#8221;, and CSS is &#8220;how you see it.&#8221; </p>
<p>You can use the standard Thesis design options to create a professional looking blog in perhaps 15 minutes if you&#8217;ve got the design sense to do so.  However, to make your design really stand out, you&#8217;ll need to go above and beyond the scope of the default Thesis controls and dive into some of this <em>&#8220;scary code stuff.&#8221;</em>  Luckily, Thesis makes it easy (notice a developing trend?) to manage all of this stuff.</p>
<p>Thesis comes with a built in editor for your custom.css file and your custom_functions.php file. You can access this via the Thesis Options tab in your Wordpress admin.  Your custom.css file is where you will make all of your style edits to your Thesis design.  </p>
<h3>The Basics of CSS</h3>
<p>If you&#8217;re new to this whole CSS thing, you need to understand a couple things.  Elements of your website are given classes and/or id&#8217;s.  You set styles for specific classes and id&#8217;s in your Wordpress theme&#8217;s style.css file (every wordpress theme has one).  We use &#8220;.&#8221; for classes and &#8220;#&#8221; for id&#8217;s.  So if an object is classified as &#8220;red_button&#8221;, we would refer to it in style.css as &#8220;.red_button {}&#8221;.  If an object was given the id &#8220;white_box&#8221;, we would refer to it as &#8220;#white_box {}&#8221;.</p>
<p>CSS is based on specificity.  If an element is contained by another element, we can specify styles for the child element that will only affect it when it is contained by the parent element.  For example, if our red button is contained by our white box, we could refer to it as &#8220;#white_box .red_button {}&#8221;.  If we had another element with the same red_button class that was outside of the white box, it would not be affected by this since we specified that it would only refer to the red_button inside the white_box.  Make sense?</p>
<p><img src="http://www.artofblog.com/wp-content/uploads/2010/02/cssdemo.gif" alt="cssdemo" title="cssdemo" width="610" height="351" class="aligncenter size-full wp-image-1413" /></p>
<p>Keep in mind that CSS will always display your most specific code.  So, if you have code for &#8220;.red_button&#8221; and &#8220;#white_box .red_button&#8221;, the latter is the code that will control the display of the red button within the white box.</p>
<p>For more info on CSS basics, check the <a href="http://www.w3schools.com/css/css_intro.asp">w3schools website</a>.</p>
<h3>Custom.CSS</h3>
<p>So, how in the world does this whole custom.css file work?  All of the default styles for Thesis are contained in style.css and layout.css.  The <code>< body ></code> tag controls all of the HTML content of your blog from the top of the header down through the bottom of the footer.  Thesis adds a &#8220;custom&#8221; class to the body tag making it <code>body.custom</code>.  Therefore, if you add &#8220;.custom&#8221; before any CSS code in the custom.CSS file in the custom folder, it will be more specific than the CSS code in the default style sheets and will override anything written in style.css or layout.css that would refer to the same object.  </p>
<p>For example, if we add the following code to custom.CSS:</p>

<div class="wp_syntax"><div class="code"><pre class="css" style="font-family:monospace;"><span style="color: #6666ff;">.custom</span> a <span style="color: #00AA00;">&#123;</span> <span style="color: #000000; font-weight: bold;">color</span><span style="color: #00AA00;">:</span> <span style="color: #cc00cc;">#cc0000</span><span style="color: #00AA00;">;</span> <span style="color: #00AA00;">&#125;</span></pre></div></div>

<p>All of the links will turn red.  We&#8217;re going to use this to demonstrate a couple of css customizations that can be accomplished with the Thesis theme.  You&#8217;ll need some basic CSS knowledge, the rest should be straight forward.  This really is an amazing way of doing this.  Its not unique to Thesis, but it certainly is a great feature.</p>
<p><em>Note: Make sure you&#8217;ve enabled your custom.CSS stylesheet in the Thesis Design Options panel or none of this will work.</em></p>
<h3>Clickable Custom Logo</h3>
<p>In order to add a custom logo to the header, we&#8217;re going to cast the blog name and tagline out to the far left.  Unless someone has an absolutely enormous resolution computer monitor, they will never know its there.  Next, remember the FTP skills we learned in the first part of this guide?  We need to upload our logo image (logo.jpg) to the images folder in our Thesis custom folder.  Typically this is found at &#8220;home/wp-content/thesis(version#)/custom/images&#8221;.</p>
<p>We also need to set height and width properties for both the logo area and the hyperlink itself.  This will ensure that that full logo is shown in the proper location.  Here is the CSS code:</p>

<div class="wp_syntax"><div class="code"><pre class="css" style="font-family:monospace;"><span style="color: #6666ff;">.custom</span> <span style="color: #cc00cc;">#logo</span> <span style="color: #00AA00;">&#123;</span><span style="color: #000000; font-weight: bold;">background-image</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">url</span><span style="color: #00AA00;">&#40;</span><span style="color: #ff0000;">'images/logo.jpg'</span><span style="color: #00AA00;">&#41;</span> <span style="color: #993333;">no-repeat</span><span style="color: #00AA00;">;</span> <span style="color: #000000; font-weight: bold;">width</span><span style="color: #00AA00;">:</span> <span style="color: #933;">300px</span><span style="color: #00AA00;">;</span> <span style="color: #000000; font-weight: bold;">height</span><span style="color: #00AA00;">:</span> <span style="color: #933;">150px</span><span style="color: #00AA00;">;</span> <span style="color: #000000; font-weight: bold;">text-indent</span><span style="color: #00AA00;">:</span> <span style="color: #933;">-9999px</span><span style="color: #00AA00;">;</span> <span style="color: #00AA00;">&#125;</span>
<span style="color: #6666ff;">.custom</span> <span style="color: #cc00cc;">#logo</span> a <span style="color: #00AA00;">&#123;</span><span style="color: #000000; font-weight: bold;">width</span><span style="color: #00AA00;">:</span> <span style="color: #933;">300px</span><span style="color: #00AA00;">;</span> <span style="color: #000000; font-weight: bold;">height</span><span style="color: #00AA00;">:</span> <span style="color: #933;">150px</span><span style="color: #00AA00;">;</span> <span style="color: #000000; font-weight: bold;">display</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">block</span><span style="color: #00AA00;">;</span> <span style="color: #00AA00;">&#125;</span></pre></div></div>

<p>Height and width obviously just set the size of the logo.  &#8220;Text-indent&#8221; is the property that casts the title and tagline out to the far left.</p>
<h3>Adding a Background Image to the Body</h3>
<p>This one is easy!  First, we upload our background image to the images folder in our Thesis custom folder.  Then, we need to specify that we are referring to the body, so we use &#8220;body.custom&#8221; and it really is just one line of CSS code to get this done:</p>

<div class="wp_syntax"><div class="code"><pre class="css" style="font-family:monospace;">body<span style="color: #6666ff;">.custom</span> <span style="color: #00AA00;">&#123;</span> <span style="color: #000000; font-weight: bold;">background</span><span style="color: #00AA00;">:</span> <span style="color: #cc00cc;">#fff</span> <span style="color: #993333;">url</span><span style="color: #00AA00;">&#40;</span><span style="color: #ff0000; font-style: italic;">images/body_bg.gif</span><span style="color: #00AA00;">&#41;</span> <span style="color: #993333;">repeat-x</span><span style="color: #00AA00;">;</span> <span style="color: #00AA00;">&#125;</span></pre></div></div>

<p>That should get you off to a good start!  I really hope this tutorial has helped to get you started.  If you have any questions just fire away in the comments and I&#8217;ll be glad to answer.  Also, if any of this seems intimidating, don&#8217;t worry!  Thesis has one of the best support forums in the business.  The community there is amazing and if you have problems, just ask questions and you&#8217;ll get great answers.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.artofblog.com/introduction-to-custom-css/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Thesis Hooks 101: An Introduction to Thesis Hooks</title>
		<link>http://www.artofblog.com/thesis-introduction-to-hooks/</link>
		<comments>http://www.artofblog.com/thesis-introduction-to-hooks/#comments</comments>
		<pubDate>Fri, 05 Feb 2010 02:22:24 +0000</pubDate>
		<dc:creator>Adam Baird</dc:creator>
				<category><![CDATA[Thesis]]></category>
		<category><![CDATA[thesis hooks]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://www.artofblog.com/?p=1351</guid>
		<description><![CDATA[
So, you&#8217;ve got the installation done, and you&#8217;re ready to start with the customization process.  The first thing you need to do is familiarize yourself with Thesis hooks.
Thesis uses a vast array of hooks to allow you to place content just about anywhere you want on your blog.  You can also remove a [...]]]></description>
			<content:encoded><![CDATA[<p><a class="post_image_link" href="http://www.artofblog.com/thesis-introduction-to-hooks/" title="Permanent link to Thesis Hooks 101: An Introduction to Thesis Hooks"><img class="post_image alignnone remove_bottom_margin frame" src="http://www.artofblog.com/wp-content/uploads/2010/02/hooks.gif" width="610" height="299" alt="Post image for Thesis Hooks 101: An Introduction to Thesis Hooks" /></a>
</p><p>So, you&#8217;ve got the installation done, and you&#8217;re ready to start with the customization process.  The first thing you need to do is familiarize yourself with Thesis hooks.</p>
<p>Thesis uses a vast array of hooks to allow you to place content just about anywhere you want on your blog.  You can also remove a lot of the default thesis elements if you want to.</p>
<p>Adding an element to your Thesis design is very simple.  It is basically a two step process:</p>
<ol>
<li>Write a Wordpress function in custom_functions.php</li>
<li>Attach that function to a hook</li>
</ol>
<p>Before, you scream and run for the hills, let me take you through this.  Its actually very simple.  There is a bit of a learning curve, but once you figure it out, you&#8217;ll never want to do things any other way.</p>
<p><a href="http://www.artofblog.com/thesis-introduction-to-hooks/"><em>Click here to view the embedded video.</em></a></p>
<h3>Creating a Simple Wordpress Function</h3>
<p>Wordpress functions are extraordinarily simple to write.  Here is what an empty one looks like:</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;">function NAME() { ?&gt; 
<span style="color: #000000; font-weight: bold;">&lt;?</span> <span style="color: #009900;">&#125;</span></pre></div></div>

<p>The word “function” allows wordpress to identify this as a function. “NAME” is just the name of this particular function. We can name it whatever we want.  Finally, “{ ?> <? }” is what houses the actual code of the function (its empty right now).</p>
<p>Now, let&#8217;s go ahead and add a bit of code to the function we just created and we&#8217;ll actually give the function a name other than &#8220;NAME&#8221;:</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;">function affiliate_link() { ?&gt;
	&lt;p&gt;Get Smart with the &lt;a href=&quot;http://www.diythemes.com/your-affiliate-link&quot;&gt;Thesis Theme&lt;/a&gt; from DIY Themes!&lt;/p&gt;
<span style="color: #000000; font-weight: bold;">&lt;?</span> <span style="color: #009900;">&#125;</span></pre></div></div>

<p>And that&#8217;s it!  You&#8217;re done creating the function.  That wasn&#8217;t too painful was it?  We named the function and added the content we wanted (in this case, an affiliate link).  Obviously, you can get quite a bit more creative, but for the purposes of this guide, we&#8217;ll keep it simple.</p>
<h3>Hooking Our Function</h3>
<p>This is where you need to learn a bit about hooks.  Its not that complicated, but it can be confusing.  Basically, if you add a function to a hook, the content contained in that function will appear at the location of that hook.  If you add more than one function to a given hook, the content from the function added first will appear first.  Make sense?  Here is a <a href="http://diythemes.com/thesis/rtfm/hooks/">list of hooks</a> that are available to you.  If you are more of a visual person, you can see the hooks mapped out <a href="http://thesishooks.com">here</a>.</p>
<p>In order to remove a function from a hook you use this:</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_we_are_using'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'name_of_function_we_are_removing'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></div></div>

<p>In order to add a function to a hook you use this:</p>

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

<p>So, let&#8217;s add our affiliate link in place of the standard thesis footer attribution link.  The text is virtually the same, but we want to make some $ for all of customers we are sending <a href="http://www.pearsonified.com">Mr. Pearson&#8217;s</a> way!  Our function we just wrote includes our affiliate link.  The standard Thesis attribution does not.  Let&#8217;s replace it.</p>
<p>In order to replace it, we first need to remove the default attribution.  That looks like this:</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_footer'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'thesis_attribution'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></div></div>

<p>Thesis_hook_footer is the name of the hook we are using, and thesis_attribution is the function we are removing.  Now, let&#8217;s replace it with our affiliate link!</p>

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

<p>Any of this code we use is placed in custom_functions.php in our Thesis custom folder.  In the end this is what we&#8217;ve accomplished:</p>
<p><img src="http://www.artofblog.com/wp-content/uploads/2010/02/hookexample.gif" alt="hookexample" title="hookexample" width="610" height="167" class="aligncenter size-full wp-image-1399" /></p>
<p>You can apply this concept to virtually any idea you have.  You can add anything almost anywhere to your blog design.  That really is the freedom that Thesis grants you.</p>
<p>Also, keep in mind, you can add your own functions without removing the default Thesis functions.  Rather than removing the default Thesis attribution, we could have just added another paragraph below it.  All we would have done differently is leave out the remove_action code.</p>
<p>On the same token, you can remove anything you like, and you don&#8217;t have to replace it.  The choice is yours.  For a list of removable Thesis objects, click <a href="http://gregrickaby.com/2009/11/add-and-remove-thesis-elements.html">here</a>.  That is by no means an exhaustive list, but it should get you started nicely.</p>
<p>I understand this is somewhat complicated stuff, and I&#8217;m more than willing to answer questions and/or clarify in the comments!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.artofblog.com/thesis-introduction-to-hooks/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Installing and Optimizing Thesis Theme for Wordpress</title>
		<link>http://www.artofblog.com/installing-thesis/</link>
		<comments>http://www.artofblog.com/installing-thesis/#comments</comments>
		<pubDate>Thu, 04 Feb 2010 22:59:34 +0000</pubDate>
		<dc:creator>Adam Baird</dc:creator>
				<category><![CDATA[Thesis]]></category>
		<category><![CDATA[seo]]></category>
		<category><![CDATA[thesis installation]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://www.artofblog.com/?p=1353</guid>
		<description><![CDATA[
Thesis is absolutely, positively, hands down the best Wordpress theme on the market.  If you can dream it up, its very likely that you&#8217;ll be able to create it with Thesis.  Let me help you get started!
Installation
Once you&#8217;ve obtained your copy of Thesis from DIY Themes, the first thing you&#8217;ll need to do [...]]]></description>
			<content:encoded><![CDATA[<p><a class="post_image_link" href="http://www.artofblog.com/installing-thesis/" title="Permanent link to Installing and Optimizing Thesis Theme for Wordpress"><img class="post_image alignnone remove_bottom_margin frame" src="http://www.artofblog.com/wp-content/uploads/2010/02/install.gif" width="610" height="299" alt="Post image for Installing and Optimizing Thesis Theme for Wordpress" /></a>
</p><p>Thesis is absolutely, positively, hands down the best Wordpress theme on the market.  If you can dream it up, its very likely that you&#8217;ll be able to create it with Thesis.  Let me help you get started!</p>
<p><a href="http://www.artofblog.com/installing-thesis/"><em>Click here to view the embedded video.</em></a></p>
<h3>Installation</h3>
<p>Once you&#8217;ve obtained your copy of Thesis from <a href="http://www.artofblog.com/Thesis">DIY Themes</a>, the first thing you&#8217;ll need to do is install and activate it as the theme for your <a href="http://www.artofblog.com/how-to-start-a-blog-hosting-domain-names-wordpress/">Wordpress installation</a>. There are a couple ways to do this.</p>
<h4>The Easy Way</h4>
<p>If you&#8217;d like to do things the easy way, sign into your wordpress admin (www.yoursite.com/wp-admin).  Under the appearances tab, click &#8220;add new themes.&#8221;  Next, click the upload tab on the page you just arrived at.  Browse to the location of the zipped Thesis folder you just downloaded from DIY Themes, and upload it.  When this process finishes, it should give you the option to activate.  Do so, and you&#8217;re done.  Just keep in mind that you&#8217;ll be missing out on some pretty sweet features of Thesis if you go this route.</p>
<h4>The <del datetime="2010-02-02T02:30:50+00:00">Hard</del> Preferred Way</h4>
<p>Now, if you want to get the most out of Thesis, and you don&#8217;t mind getting your hands dirty, follow me.  Its a bit more involved, but I&#8217;ll walk you through it and I promise it won&#8217;t be that bad.</p>
<p>You&#8217;ll need a few things in order to do the deed:</p>
<ul>
<li>A solid FTP client. An FTP client allows you to manage files on your web server. I recommend <a href="http://filezilla-project.org/">FileZilla</a>. Its free, open source (which ensures it will constantly be updated with new features), easy to use, and compatible with both pc and mac.</li>
<li>FTP login information (address, username, and password) for the server where Wordpress is installed</li>
<li>The zipped Thesis folder you downloaded from DIY themes</li>
</ul>
<h5>Uploading</h5>
<p>Ready?  Let&#8217;s get to it.  First, go ahead and sign into your FTP client.  You should see a listing of all the folders in the root level of your domain.  If you need help getting started with FTP, click <a href="http://www.interspire.com/content/articles/12/1/FTP-and-Understanding-File-Permissions">here</a>.</p>
<p>Now that you&#8217;re signed into your server via FTP, we need to upload the Thesis files.  Navigate to your Wordpress themes folder on your server.  Typically, this is found at &#8220;home/wp-content/themes.&#8221;  Next, unzip the Thesis folder you downloaded from DIY Themes to your desktop.  Depending on which FTP client you&#8217;re using, you should be able to drag and drop the entire unzipped folder from your desktop into the &#8220;themes&#8221; directory you&#8217;ve navigated to in your FTP client.</p>
<h5>Setting File Permissions</h5>
<p>There are a few steps we need to take here to really get Thesis rockin!  We need to setup the correct file permissions to allow Thesis to interact with the rest of your website properly, and we need to do some renaming in order to make Thesis easily customizable.</p>
<p>Let&#8217;s go ahead and do the renaming now.  Find the &#8220;custom-sample&#8221; folder in your Thesis folder.  It is typically found at &#8220;home/wp-content/themes/thesis(version#)/custom-sample.&#8221;  Right-click on this file and select &#8220;rename&#8221; or something similar.  Rename the folder &#8220;custom&#8221;.  This is extremely important as Thesis will now recognize the files in this folder which will allow us to make customizations.</p>
<p>Before we go any further, let me explain a couple of things about file permissions.  These permissions allow certain groups to read, write to, and execute (or some combination of the three) the file in question.  The first number refers to the permission level allowed to the user to whom the file belongs.  The second number refers to the permission level of the group, and the third refers to the permission given to the general public.</p>
<p><img src="http://www.artofblog.com/wp-content/uploads/2010/02/perms.gif" alt="perms" title="perms" width="610" height="373" class="aligncenter frame size-full wp-image-1387" /></p>
<p>This probably seems a bit complicated.  You don&#8217;t need to have a rock solid understanding to accomplish this installation (you really just need to be able to copy and paste some numbers), but it would be helpful for you going forward.  For more info on file permissions, click <a href="http://www.interspire.com/content/articles/12/1/FTP-and-Understanding-File-Permissions">here</a>.</p>
<p>So, let&#8217;s make a few necessary file permission changes.  Go ahead and navigate to your Thesis custom folder.</p>
<p>In your custom folder, find the layout.css file.  Right-click on it.  Depending on your FTP client, one of the options in that appears will be &#8220;file permissions&#8221; or something to that effect.  Set the numerical value to &#8220;666&#8243;.  This will allow everyone read and write access to the file.</p>
<p>Next, find the &#8220;cache&#8221; folder in your &#8220;custom&#8221; folder.  Follow the same process, and set its permission to 775.  When you set up dimensions for your post images, this will allow Thesis to automatically crop the images you upload to fit the size you have set.</p>
<h5>Activation</h5>
<p>Our installation won&#8217;t be complete until we activate Thesis in our Wordpress admin.  This is the easiest part!  Just click &#8220;themes&#8221; under the &#8220;appearance&#8221; tab in your Wordpress admin, and click activate under Thesis.  That&#8217;s it!  You&#8217;re ready to rock!</p>
<h3>Optimization</h3>
<p>With most themes, you&#8217;d be done right now.  With Thesis, the party is just getting started.  One of the most important features that Thesis offers is its search engine optimization options.  You can control the most important SEO elements on every page and post on your blog including the homepage.  First, I&#8217;ll walk you through the SEO options that are found in the Thesis Options panel in your Wordpress admin.  Once we&#8217;ve got that covered we&#8217;ll hit the specific page options.</p>
<p>If you are fairly new to Wordpress definitely check out our guide on how to <a href="http://www.artofblog.com/installing-wordpress/">optimize wordpress</a> which includes instructions on setting permalinks and other miscellaneous settings which will help your blog to rank better.</p>
<h4>General Thesis Options</h4>
<p>Now that you&#8217;ve installed Thesis, you&#8217;ll see an extra panel in your Wordpress admin.  Toward the bottom, you should see &#8220;Thesis Options.&#8221;  Click on this and you should be taken to a page with several expandable option boxes.  We&#8217;ll start here.  Please note, there are no absolute rules with these options.  The settings I&#8217;m suggesting will be optimal in most cases, but its impossible to apply a cookie cutter set of options to everyone.  I&#8217;d recommend doing your own research.  This is certainly a great starting point though!</p>
<h5>Title Tags</h5>
<p><img src="http://www.artofblog.com/wp-content/uploads/2010/02/titletag.gif" alt="titletag" title="titletag" width="610" height="198" class="aligncenter size-full wp-image-1384" /><br />
Title tags are the text that appears on the top bar of your browser when you&#8217;re on any given web page.  They are probably the single most important element of search engine optimization.  Its one of the first places most search engines look in order to rank content.  Generally, the title tag should take the following forms depending on where you are:</p>
<ul>
<li><strong>For the homepage</strong> &#8211; [Blog Name]</li>
<li><strong>For blog posts</strong> &#8211; [Single Post Title]</li>
<li><strong>For single pages</strong> &#8211; [Single Page Name] &#8211; [Blog Name]</li>
</ul>
<p>Therefore, under homepage options under the title options, you&#8217;ll want to check &#8220;Show site name in title&#8221; under the homepage options under Title Tags.  You&#8217;ll also want to uncheck &#8220;Show site tagline in title.&#8221;  Under all other pages you&#8217;ll want to check &#8220;Append site name to page titles&#8221; and enter &#8220;-&#8221; as your character separator.  This will ensure the structure we just listed.  Single posts automatically display only the post title in the title tag.</p>
<h5>Homepage Meta Information</h5>
<p>At the top of the center column of the Thesis Options page, you should find an options box entitled &#8220;Homepage Meta.&#8221;  Go ahead and expand it.  You should see a meta description box and a meta keyword box for the homepage.</p>
<p><img src="http://www.artofblog.com/wp-content/uploads/2010/02/hpmeta.gif" alt="hpmeta" title="hpmeta" width="610" height="365" class="aligncenter size-full wp-image-1383" /></p>
<p>Meta keywords are just basically a way for search engines to categorize your content.  They don&#8217;t have much affect on your actual rankings, but its still a good idea to add them.  It doesn&#8217;t take much time, and there are search engines out there where having good meta keywords will affect you posively.  Generally, you should have no more than three keywords for one page.  Also, be sure not to use more than two or three keywords in your meta keywords.  Doing so may result in a penalty from some search engines.</p>
<p>Meta descriptions are where you can really make some strides.  Just like meta keywords, most search engines don&#8217;t pay much attention to this in terms of ranking, but it is VERY important that you do this.</p>
<p><a rel="attachment wp-att-21" href="http://www.artofblog.com/?attachment_id=21"><img class="aligncenter size-full wp-image-21" title="metadesc" src="http://www.artofblog.com/wp-content/uploads/2010/02/metadesc.gif" alt="" width="554" height="71" /></a>As you can see, the meta description is what Google uses to display a description of the page.  If you don&#8217;t do this, you&#8217;ll often end up with text from random places (such as sidebar links) as your description.  Often, this will have nothing to do with your actual page content.  Now, this doesn&#8217;t affect your rank at all, but it does affect your click through rate significantly.</p>
<p>So, be sure to add meta keywords and a meta description to the homepage.</p>
<p>That&#8217;s it for the Thesis Options panel.  Obviously there are a TON of other options, but these are the most important in terms of optimization.  The other options you should set to suit your fancy.  Obviously, this will be different for every blog.</p>
<h4>Post and Page Options</h4>
<p><img src="http://www.artofblog.com/wp-content/uploads/2010/02/postseo.gif" alt="postseo" title="postseo" width="610" height="373" class="aligncenter size-full wp-image-1390" /><br />
Another great feature of Thesis is the extra options it gives you for every post and page.  Go ahead and edit your most recent post in your Wordpress admin.  There are three extremely important things you should take note of:</p>
<h5>1. Custom Title Tag</h5>
<p>That&#8217;s right, you can specify a custom title tag for your post.  This is awesome, because it allows you to write the catchy titles that your readers love.  You see, search engines love boring titles.  They love a title that looks like &#8220;How to XYZ.&#8221;  Readers don&#8217;t love those titles.  They love titles like &#8220;Totally Rad Awesome XYZ Widgets!!!&#8221;  Ok, maybe they don&#8217;t love that title in particular, but you get the idea.  You can use descriptive, catchy titles that your readers will see on your blog and in your feed, but you can use the custom title tag to designate something boring that the search engine will like.  Its the best of both worlds!</p>
<h5>2. Meta Description</h5>
<p>This is basically the exact same idea as the homepage.  Add the meta description for EVERY post and page on your blog.  If you don&#8217;t, you&#8217;re throwing away traffic.  Its as simple as that.  And, for search engines that penalize your ranking if you don&#8217;t maintain a high clickthrough rate, it will eventually kill your ranking which will really impact your traffic.</p>
<h5>3. Meta Keywords</h5>
<p>Again, these are not a huge deal, but its a good idea to add them for every post on your blog.  It can only help you as I&#8217;ve never heard of a search engine penalizing someone for specifying meta keywords.</p>
<h3>Wrappin it Up</h3>
<p>This is just the first part of this guide.  I hope you&#8217;ve learned quite a bit, and I hope this gets you off to a great start with Thesis!  In part two, we&#8217;ll look into using Thesis hooks to customize our layout.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.artofblog.com/installing-thesis/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>Creating A Squeeze Page With Thesis &#8211; Part Two</title>
		<link>http://www.artofblog.com/thesis-squeeze-page-2/</link>
		<comments>http://www.artofblog.com/thesis-squeeze-page-2/#comments</comments>
		<pubDate>Thu, 28 Jan 2010 18:42:35 +0000</pubDate>
		<dc:creator>Adam Baird</dc:creator>
				<category><![CDATA[Thesis]]></category>
		<category><![CDATA[squeeze page]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://www.artofblog.com/?p=1285</guid>
		<description><![CDATA[Complete the first part of this tutorial before doing this part.
So, in part one we built an efficient, customized Thesis template to house our squeeze page content.  In part two, we&#8217;re gonna do it ninja style and completely customize the layout of our squeeze page.  Ready?  Let&#8217;s go!
Right now, we are here [...]]]></description>
			<content:encoded><![CDATA[<p></p><div class="callout" id="co1">Complete the <a href="/thesis-squeeze-page-1/">first part of this tutorial</a> before doing this part.</div>
<p>So, in part one we built an efficient, customized Thesis template to house our squeeze page content.  In part two, we&#8217;re gonna do it ninja style and completely customize the layout of our squeeze page.  Ready?  Let&#8217;s go!</p>
<p>Right now, we are here (if you didn&#8217;t <a href="http://www.artofblog.com/thesis-squeeze-page-1/">read part one</a>, now would be a great time to do it!):</p>
<p><img src="http://www.artofblog.com/wp-content/uploads/2010/01/squeeze1.jpg" alt="squeeze" title="squeeze" width="610" height="367" class="aligncenter size-full wp-image-1286" /></p>
<p>We are displaying the default header, nav menu, and footer.  The only thing we&#8217;ve really changed at this point is the page content itself.  We&#8217;ve removed the default content and sidebar areas, and we&#8217;ve inserted our squeeze page content.  Now, you might want to stop right there.  Depending on your situation, this might be the best solution for you.  It all depends on your readers, your blog&#8217;s brand, and the default content of your header and footer.  However, in most cases, it would be a good idea to customize things a bit more.</p>
<p><a href="http://www.artofblog.com/thesis-squeeze-page-2/"><em>Click here to view the embedded video.</em></a></p>
<h3>Stripping the Squeeze Page</h3>
<p><em>Caution: This does get slightly more complicated and may require a small degree of creativity on your part.  Just follow the instructions and we&#8217;ll all live to tell the tale!</em></p>
<p>To start, let&#8217;s get rid of all of the header, nav, and footer content on our squeeze page.  In order to do that, we need to write three functions.  Basically, we&#8217;re going to specify that the default header, nav menu and footer should appear everywhere but the squeeze page.  Then, we&#8217;re going to replace the standard functions with our new functions using hooks.  Here&#8217;s the code:</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">function</span> squeeze_nav<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>is_page<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'Squeeze'</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span><span style="color: #009900;">&#125;</span>
	<span style="color: #b1b100;">else</span> <span style="color: #009900;">&#123;</span> thesis_nav_menu<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #009900;">&#125;</span>
<span style="color: #009900;">&#125;</span>
remove_action<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'thesis_hook_before_header'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'thesis_nav_menu'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #666666; font-style: italic;">// remove default nav menu</span>
add_action<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'thesis_hook_before_header'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'squeeze_nav'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #666666; font-style: italic;">// replace with custom nav menu on squeeze page and default nav menu everywhere else</span>
&nbsp;
<span style="color: #000000; font-weight: bold;">function</span> squeeze_header<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>is_page<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'Squeeze'</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span><span style="color: #009900;">&#125;</span>
	<span style="color: #b1b100;">else</span> <span style="color: #009900;">&#123;</span> thesis_default_header<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #009900;">&#125;</span>
<span style="color: #009900;">&#125;</span>
remove_action<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'thesis_hook_header'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'thesis_default_header'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #666666; font-style: italic;">// remove default header</span>
add_action<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'thesis_hook_header'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'squeeze_header'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #666666; font-style: italic;">// replace with custom header on squeeze page and default header everywhere else</span>
&nbsp;
<span style="color: #000000; font-weight: bold;">function</span> squeeze_footer<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>is_page<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'Squeeze'</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span><span style="color: #009900;">&#125;</span>
	<span style="color: #b1b100;">else</span> <span style="color: #009900;">&#123;</span> thesis_attribution<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #009900;">&#125;</span>	
<span style="color: #009900;">&#125;</span>
remove_action<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'thesis_hook_footer'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'thesis_attribution'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #666666; font-style: italic;">// remove default footer (including attribution)</span>
add_action<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'thesis_hook_footer'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'squeeze_footer'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #666666; font-style: italic;">// replace with custom footer on squeeze page and default nav menu everywhere else</span></pre></div></div>

<p>Just copy and paste that into custom_functions.php below the squeeze page code we&#8217;ve already inserted there.  For now, we&#8217;ve designated that the header, nav, and footer are empty on the squeeze page.  You should just end up with your squeeze content and a bunch of white space.</p>
<p>For the record, you can do this with CSS, but that method is not quite as effective, and it doesn&#8217;t allow us to replace the white space we&#8217;ve created with our own custom content.  Thus, we&#8217;ll leave that out of this tutorial.</p>
<h3>Adding Custom Content</h3>
<p>Now, you may want to stop here.  Again, depending on the content of your squeeze page, you might not want to add custom content to your header or footer.  However, let&#8217;s assume you do.</p>
<h4>The Header</h4>
<p>First, let&#8217;s add a custom header image.  In order to do this, we&#8217;ll just add the content into our &#8220;squeeze_header&#8221; function like so:</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;">function squeeze_header() {
	if (is_page('Squeeze')) { ?&gt;
		&lt;div id=&quot;banner&quot;&gt;&lt;img src=&quot;[HEADER IMAGE URL]&quot; alt=&quot;Don't Get Rickrolled!&quot; /&gt;&lt;/div&gt;
	<span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #009900;">&#125;</span>
	<span style="color: #b1b100;">else</span> <span style="color: #009900;">&#123;</span> thesis_default_header<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #009900;">&#125;</span>
<span style="color: #009900;">&#125;</span></pre></div></div>

<p>This just displays a header image where the default Thesis header used to reside.  Obviously, you can insert any image you like here.</p>
<h4>The Footer</h4>
<p>Finally, let&#8217;s add some text to the footer.  Again, all we&#8217;re doing is working with the function we&#8217;ve already created, and adding a bit of content for the squeeze page only.</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;">function squeeze_footer() {
	if (is_page('Squeeze')) { ?&gt;
		&lt;div class=&quot;squeeze-footer&quot;&gt;&lt;p&gt;If you don't sign up I will rickroll you...seriously...you think I'm playin?&lt;/p&gt;
	<span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #009900;">&#125;</span>
	<span style="color: #b1b100;">else</span> <span style="color: #009900;">&#123;</span> thesis_attribution<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #009900;">&#125;</span>	
<span style="color: #009900;">&#125;</span></pre></div></div>

<p>Note: Threatening your readers may not be optimal&#8230;but its fun for demonstration purposes :)</p>
<h4>The Styles</h4>
<p>This one is pretty easy.  We just add a couple lines of code to our custom.css file to ensure that everything is properly centered up:</p>

<div class="wp_syntax"><div class="code"><pre class="css" style="font-family:monospace;"><span style="color: #6666ff;">.banner</span> <span style="color: #00AA00;">&#123;</span> <span style="color: #000000; font-weight: bold;">text-align</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">center</span><span style="color: #00AA00;">;</span> <span style="color: #00AA00;">&#125;</span>
<span style="color: #6666ff;">.squeeze-footer</span> <span style="color: #00AA00;">&#123;</span> <span style="color: #000000; font-weight: bold;">text-align</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">center</span><span style="color: #00AA00;">;</span> <span style="color: #000000; font-weight: bold;">color</span><span style="color: #00AA00;">:</span> <span style="color: #cc00cc;">#cc0000</span><span style="color: #00AA00;">;</span> <span style="color: #000000; font-weight: bold;">font-weight</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">bold</span><span style="color: #00AA00;">;</span> <span style="color: #000000; font-weight: bold;">font-size</span><span style="color: #00AA00;">:</span> <span style="color: #933;">1.3em</span><span style="color: #00AA00;">;</span> <span style="color: #00AA00;">&#125;</span></pre></div></div>

<h4>The Finished Product</h4>
<p>If everything went according to plan, you should end up with something similar to this:</p>
<p><img src="http://www.artofblog.com/wp-content/uploads/2010/01/rickrolled.jpg" alt="rickrolled" title="rickrolled" width="610" height="352" class="aligncenter size-full wp-image-1295" /></p>
<h3>A Few Extra Goodies</h3>
<p><em><strong>Caution: This is complicated stuff!  If this is too confusing, you might just want to stick with what we have done already.</strong></em></p>
<p>You might be thinking, &#8220;Hey, you said you were going to include the nav menu and you didn&#8217;t!!!&#8221;  Well, observant friend, you are correct.  The reason is that I wanted to keep this relatively straightforward, and adding a custom nav menu with separate styles from the rest of your blog is not exactly for the feint of heart (or the coding impaired).  Its not the most complicated thing you could ever do, but its complicated.</p>
<p>If you want to do this, here is a starting point:</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #339933;">&lt;</span>ul <span style="color: #000000; font-weight: bold;">class</span><span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;menu&quot;</span><span style="color: #339933;">&gt;</span>
	<span style="color: #339933;">&lt;</span>li <span style="color: #000000; font-weight: bold;">class</span><span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;tab&quot;</span><span style="color: #339933;">&gt;&lt;</span>a href<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;[HYPERLINK]&quot;</span><span style="color: #339933;">&gt;</span>Link <span style="color: #cc66cc;">1</span><span style="color: #339933;">&lt;/</span>a<span style="color: #339933;">&gt;&lt;/</span>li<span style="color: #339933;">&gt;</span>
	<span style="color: #339933;">&lt;</span>li <span style="color: #000000; font-weight: bold;">class</span><span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;tab&quot;</span><span style="color: #339933;">&gt;&lt;</span>a href<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;[HYPERLINK]&quot;</span><span style="color: #339933;">&gt;</span>Link <span style="color: #cc66cc;">2</span><span style="color: #339933;">&lt;/</span>a<span style="color: #339933;">&gt;&lt;/</span>li<span style="color: #339933;">&gt;</span>
	<span style="color: #339933;">&lt;</span>li <span style="color: #000000; font-weight: bold;">class</span><span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;tab&quot;</span><span style="color: #339933;">&gt;&lt;</span>a href<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;[HYPERLINK]&quot;</span><span style="color: #339933;">&gt;</span>Link <span style="color: #cc66cc;">3</span><span style="color: #339933;">&lt;/</span>a<span style="color: #339933;">&gt;&lt;/</span>li<span style="color: #339933;">&gt;</span>
	<span style="color: #339933;">&lt;</span>li <span style="color: #000000; font-weight: bold;">class</span><span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;tab&quot;</span><span style="color: #339933;">&gt;&lt;</span>a href<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;[HYPERLINK]&quot;</span><span style="color: #339933;">&gt;</span>Link <span style="color: #cc66cc;">4</span><span style="color: #339933;">&lt;/</span>a<span style="color: #339933;">&gt;&lt;/</span>li<span style="color: #339933;">&gt;</span>
	<span style="color: #339933;">&lt;</span>li <span style="color: #000000; font-weight: bold;">class</span><span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;tab&quot;</span><span style="color: #339933;">&gt;&lt;</span>a href<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;[HYPERLINK]&quot;</span><span style="color: #339933;">&gt;</span>Link <span style="color: #cc66cc;">5</span><span style="color: #339933;">&lt;/</span>a<span style="color: #339933;">&gt;&lt;/</span>li<span style="color: #339933;">&gt;</span>
<span style="color: #339933;">&lt;/</span>ul<span style="color: #339933;">&gt;</span></pre></div></div>

<p>That will create an exact replica of the Thesis default nav menu in terms of style, but it will contain your own links.  In order to display this on the squeeze page, you need to place it in the function we wrote for our custom squeeze nav menu:</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;">function squeeze_nav() {
	if (is_page('Squeeze')) { ?&gt;
		&lt;ul class=&quot;menu&quot;&gt;
			&lt;li class=&quot;tab&quot;&gt;&lt;a href=&quot;[HYPERLINK]&quot;&gt;Link 1&lt;/a&gt;&lt;/li&gt;
			&lt;li class=&quot;tab&quot;&gt;&lt;a href=&quot;[HYPERLINK]&quot;&gt;Link 2&lt;/a&gt;&lt;/li&gt;
			&lt;li class=&quot;tab&quot;&gt;&lt;a href=&quot;[HYPERLINK]&quot;&gt;Link 3&lt;/a&gt;&lt;/li&gt;
			&lt;li class=&quot;tab&quot;&gt;&lt;a href=&quot;[HYPERLINK]&quot;&gt;Link 4&lt;/a&gt;&lt;/li&gt;
			&lt;li class=&quot;tab&quot;&gt;&lt;a href=&quot;[HYPERLINK]&quot;&gt;Link 5&lt;/a&gt;&lt;/li&gt;
		&lt;/ul&gt;
	<span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #009900;">&#125;</span>
	<span style="color: #b1b100;">else</span> <span style="color: #009900;">&#123;</span> thesis_nav_menu<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #009900;">&#125;</span>
<span style="color: #009900;">&#125;</span>
remove_action<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'thesis_hook_before_header'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'thesis_nav_menu'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #666666; font-style: italic;">// remove default nav menu</span>
add_action<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'thesis_hook_before_header'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'squeeze_nav'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #666666; font-style: italic;">// replace with custom nav menu on squeeze page and default nav menu everywhere else</span></pre></div></div>

<p>That seems pretty straightforward, but here is the tricky part.  Let&#8217;s assume that you&#8217;ll want to create different nav menu styles (background, link, hover colors, etc.).  In that case, you will need to designate specific nav menu CSS stylings just for your squeeze page.  Luckily, Thesis makes this much easier.  You still have to write all of the custom css, but we can easily set it to apply only to the squeeze page.</p>
<p>In order to do this, go back into your Wordpress admin and edit the page we created at the beginning of this whole project.  Scroll down to the &#8220;SEO Details and Additional Style&#8221; box for the page, and find &#8220;CSS Class.&#8221;  In this box, enter &#8220;squeezepage&#8221;</p>
<p>This allows you to designate custom styles for just the squeeze page.  You write them exactly as you would accept instead of &#8220;.custom&#8221; at the beginning of the css lines, you put &#8220;.squeezepage&#8221;</p>
<p>This will allow you to style the nav menu for just the squeeze page.  For that matter, you could style anything you want for just the squeeze page.  The level of sickness you can achieve here is really only limited by your imagination.</p>
<p><em>Note: We&#8217;re still only really touching the tip of the iceberg of the customization capabilities of Thesis&#8230;yep&#8230;its that awesome.</em></p>
<p>Finally, if you want to center the nav menu to match the rest of your squeeze page (assuming yours is centered like mine), that might be the trickiest part of all.  I could probably write another 1,000 words on just that.  Instead, I&#8217;ll refer you to a <a href="http://diythemes.com/forums/customization/16902-thesis-1-6-menu-customization-centering-navigation.html">thread in Thesis forums</a>.  Godhammer has some pretty good ideas!</p>
<h3>Get After It!!!</h3>
<p>I don&#8217;t know about you, but I love being creative and blowing things out completely to see just how awesome I can make them.  I guess you could say I&#8217;m driven by that.  This is one of those projects where you really can do just about anything you want to.  Let the creative juices flow and see what you can come up with!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.artofblog.com/thesis-squeeze-page-2/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Creating A Squeeze Page With Thesis &#8211; Part One</title>
		<link>http://www.artofblog.com/thesis-squeeze-page-1/</link>
		<comments>http://www.artofblog.com/thesis-squeeze-page-1/#comments</comments>
		<pubDate>Wed, 27 Jan 2010 18:27:07 +0000</pubDate>
		<dc:creator>Adam Baird</dc:creator>
				<category><![CDATA[Thesis]]></category>
		<category><![CDATA[squeeze page]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://www.artofblog.com/?p=1267</guid>
		<description><![CDATA[Regardless of the business you're in, whether its blogging or selling hot dogs on the corner, you can and should build an email list of your readers (or hot dog eaters as the case may be). ]]></description>
			<content:encoded><![CDATA[<p></p><p>Regardless of the business you&#8217;re in, whether its blogging or selling hot dogs on the corner, you can and should build an email list of your readers (or hot dog eaters as the case may be).  The single best way to do this is to use a squeeze page.</p>
<h3>What is a Squeeze Page?</h3>
<p>Defined, a squeeze page is simply a single page of your blog with the sole purpose of collecting contact information (typically first name and email) from your readers.  That&#8217;s the short answer.</p>
<p>The long answer is that a squeeze page is a simple example of the law of reciprocity.  What&#8217;s that?  The law of reciprocity (loosely translated) says that if someone gives you something, you&#8217;ll be more likely to give something back.  Normally, you give the reader extra content in the form of a newsletter or some sort of freebie such as an e-book detailing one aspect of your niche, and the reader gives you his or her name and email address in return.  Pretty simple stuff right?</p>
<h3>How Can I Make A Squeeze Page?</h3>
<p>I could write a book on creating an effective, high-conversion-rate squeeze page, but that&#8217;s a whole article of a different color.  For now, let&#8217;s just focus on building a simple squeeze page using a Thesis custom template.</p>
<p>I should mention that this is a two part article.  In this first part, I&#8217;m just going to give you the basics.  We&#8217;ll do the custom template thing (not as complicated as it sounds!) and put some content in there.  In part two, I&#8217;ll venture far into Thesis ninja-dom and show you how to create a completely unique squeeze page with headers, nav menus, and footers (feet?) that are completely different from the rest of your blog.</p>
<p><a href="http://www.artofblog.com/thesis-squeeze-page-1/"><em>Click here to view the embedded video.</em></a></p>
<h4>Getting Started</h4>
<p>You can put absolutely anything you like on your squeeze page.  You are only limited by your imagination.  However, for the sake of the sanity of the coding impaired, I&#8217;m going to keep it as simple as possible for this project.  I&#8217;m just going to place a simple video and an email subscription form from <a href="http://www.aweber.com">AWeber</a>.</p>
<p>The first thing you need to do is add a new, blank page to your blog.  You should title it &#8220;Squeeze&#8221; and be sure to set the page template to &#8220;Custom.&#8221;</p>
<p>Got that done?  Good&#8230;let&#8217;s take a look at the code for this project.  If it looks intimidating don&#8217;t worry, I&#8217;ll walk you through it.  From here, we just need to create a function to house our squeeze page content, and then we need to use Thesis hooks to place that content in our custom template for the squeeze page.</p>
<p><em>Note: the Thesis custom template can house multiple templates for multiple pages and/or groups of pages.  We&#8217;re just creating a template for one page.  For a more detailed explanation, I&#8217;ll let Berchman <a href="http://www.berchman.com/thesis-tutorial-multiple-custom-page-templates/">explain</a>.</em></p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;">function squeeze_template() {
	if(is_page('Squeeze')) {
		?&gt;
		&lt;div class=&quot;squeeze&quot;&gt;
			&lt;div class=&quot;aweber&quot;&gt;
				&lt;script type=&quot;text/javascript&quot; src=&quot;http://forms.aweber.com/form/01/1957545901.js&quot;&gt;&lt;/script&gt;
			&lt;/div&gt;&lt;object width=&quot;600&quot; height=&quot;350&quot;&gt;&lt;param name=&quot;movie&quot; value=&quot;http://www.youtube.com/v/dQw4w9WgXcQ&amp;hl=en_US&amp;fs=1&amp;&quot;&gt;&lt;/param&gt;&lt;param name=&quot;allowFullScreen&quot; value=&quot;true&quot;&gt;&lt;/param&gt;&lt;param name=&quot;allowscriptaccess&quot; value=&quot;always&quot;&gt;&lt;/param&gt;&lt;embed src=&quot;http://www.youtube.com/v/dQw4w9WgXcQ&amp;hl=en_US&amp;fs=1&amp;&quot; type=&quot;application/x-shockwave-flash&quot; allowscriptaccess=&quot;always&quot; allowfullscreen=&quot;true&quot; width=&quot;600&quot; height=&quot;350&quot;&gt;&lt;/embed&gt;&lt;/object&gt;
			&lt;/div&gt;
		&lt;/div&gt;
		<span style="color: #000000; font-weight: bold;">&lt;?php</span>
	<span style="color: #009900;">&#125;</span>
<span style="color: #009900;">&#125;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">// ENABLE CUSTOM SQUEEZE PAGE TEMPLATE</span>
remove_action<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'thesis_hook_custom_template'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'thesis_custom_template_sample'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #666666; font-style: italic;">// removes sample custom page template</span>
add_action<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'thesis_hook_custom_template'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'squeeze_template'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #666666; font-style: italic;">// inserts custom page template for our squeeze page&lt;</span></pre></div></div>

<h4>Setting The Parameters</h4>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">function</span> squeeze_template<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>is_page<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'Squeeze'</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span></pre></div></div>

<p>This part is pretty simple.  All we&#8217;re doing here is naming our template.  We&#8217;re also designating that our template will be used on the squeeze page and only on the squeeze page.</p>
<h4>The Squeeze Page Content</h4>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #339933;">&lt;</span>div <span style="color: #000000; font-weight: bold;">class</span><span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;squeeze&quot;</span><span style="color: #339933;">&gt;</span>
	<span style="color: #339933;">&lt;</span>div <span style="color: #000000; font-weight: bold;">class</span><span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;aweber&quot;</span><span style="color: #339933;">&gt;</span>
		<span style="color: #339933;">&lt;</span>script type<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;text/javascript&quot;</span> src<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;http://forms.aweber.com/form/01/1957545901.js&quot;</span><span style="color: #339933;">&gt;&lt;/</span>script<span style="color: #339933;">&gt;</span>
	<span style="color: #339933;">&lt;/</span>div<span style="color: #339933;">&gt;&lt;</span>object width<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;600&quot;</span> height<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;350&quot;</span><span style="color: #339933;">&gt;&lt;</span>param name<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;movie&quot;</span> value<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;http://www.youtube.com/v/dQw4w9WgXcQ&amp;hl=en_US&amp;fs=1&amp;&quot;</span><span style="color: #339933;">&gt;&lt;/</span>param<span style="color: #339933;">&gt;&lt;</span>param name<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;allowFullScreen&quot;</span> value<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;true&quot;</span><span style="color: #339933;">&gt;&lt;/</span>param<span style="color: #339933;">&gt;&lt;</span>param name<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;allowscriptaccess&quot;</span> value<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;always&quot;</span><span style="color: #339933;">&gt;&lt;/</span>param<span style="color: #339933;">&gt;&lt;</span>embed src<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;http://www.youtube.com/v/dQw4w9WgXcQ&amp;hl=en_US&amp;fs=1&amp;&quot;</span> type<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;application/x-shockwave-flash&quot;</span> allowscriptaccess<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;always&quot;</span> allowfullscreen<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;true&quot;</span> width<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;600&quot;</span> height<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;350&quot;</span><span style="color: #339933;">&gt;&lt;/</span>embed<span style="color: #339933;">&gt;&lt;/</span>object<span style="color: #339933;">&gt;</span>
	<span style="color: #339933;">&lt;/</span>div<span style="color: #339933;">&gt;</span>
<span style="color: #339933;">&lt;/</span>div<span style="color: #339933;">&gt;</span></pre></div></div>

<p>This is also pretty straightforward.  Basically, we&#8217;re just inserting the video and our registration form.  Should be pretty self explanatory.  That&#8217;s it for the main components of the function.</p>
<h4>Playing Hooky</h4>
<p>Now that we have our function done, we need to place it in our custom page template.  That way, when we create a page named &#8220;Squeeze&#8221; and set its template as &#8220;Custom&#8221; (we&#8217;ve already done both), our template with its content will appear.  We&#8217;ll use the &#8220;thesis_hook_custom_template&#8221; to accomplish this.  First, we remove the default sample template that ships with Thesis.  Then we replace it with the function we&#8217;ve just created.  Here&#8217;s the code:</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_custom_template'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'thesis_custom_template_sample'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #666666; font-style: italic;">// removes sample custom page template</span>
add_action<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'thesis_hook_custom_template'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'squeeze_template'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #666666; font-style: italic;">// inserts custom page template for our squeeze page</span></pre></div></div>

<h4>Myles of Style</h4>
<p>Finally, we need to insert some CSS in order to line up our elements and get them centered properly.  Obviously, this will differ a great deal depending on your video and registration form (or any other content you add), but here&#8217;s a basic starting point.</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #339933;">.</span>squeeze <span style="color: #009900;">&#123;</span> margin<span style="color: #339933;">:</span> 1<span style="color: #339933;">.</span>5em auto<span style="color: #339933;">;</span> width<span style="color: #339933;">:</span> 900px<span style="color: #339933;">;</span> <span style="color: #009900;">&#125;</span>
<span style="color: #339933;">.</span>aweber <span style="color: #009900;">&#123;</span> float<span style="color: #339933;">:</span> right<span style="color: #339933;">;</span> width<span style="color: #339933;">:</span> 250px<span style="color: #339933;">;</span> <span style="color: #009900;">&#125;</span></pre></div></div>

<h4>The Finished Product</h4>
<p>When you&#8217;re done, it should look a little something like this:</p>
<p><img src="http://www.artofblog.com/wp-content/uploads/2010/01/squeeze.jpg" alt="squeeze" title="squeeze" width="610" height="367" class="aligncenter size-full wp-image-1277" /></p>
<p>That&#8217;s it for the first part of this tutorial.  <a href="/thesis-squeeze-page-2/">In part two</a>, we&#8217;ll create a completely different design for your squeeze page.  </p>
<div class="callout" id="co1">Continue on to part two of the <a href="/thesis-squeeze-page-2/">Thesis Squeeze Page Tutorial</a></div>
]]></content:encoded>
			<wfw:commentRss>http://www.artofblog.com/thesis-squeeze-page-1/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>How To Set Up Numbered Page Navigation In Thesis</title>
		<link>http://www.artofblog.com/thesis-page-navigation/</link>
		<comments>http://www.artofblog.com/thesis-page-navigation/#comments</comments>
		<pubDate>Fri, 22 Jan 2010 21:19:50 +0000</pubDate>
		<dc:creator>Adam Baird</dc:creator>
				<category><![CDATA[Thesis]]></category>
		<category><![CDATA[page navigation]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://www.artofblog.com/?p=1221</guid>
		<description><![CDATA[One of the most annoying things about most Wordpress themes, even an advanced one like Thesis, is the navigation system for blog, archive, and search pages.  Typically, all you get at the bottom of a blog's homepage is two links.  One is for "newer posts" and one is for "older posts" or something similar.  This is not exactly optimal.  Fortunately, its possible to replace this native functionality with numbered page navigation.]]></description>
			<content:encoded><![CDATA[<p></p><p>One of the most annoying things about most Wordpress themes, even an advanced one like <a href="http://www.artofblog.com/thesis-wordpress-theme-review/">Thesis</a>, is the navigation system for blog, archive, and search pages.  Typically, all you get at the bottom of a blog&#8217;s homepage is two links.  One is for &#8220;newer posts&#8221; and one is for &#8220;older posts&#8221; or something similar.  This is not exactly optimal.  Fortunately, its possible to replace this native functionality with numbered page navigation.</p>
<p><a href="http://www.artofblog.com/thesis-page-navigation/"><em>Click here to view the embedded video.</em></a></p>
<h3>What is Numbered Page Navigation?</h3>
<p>Numbered page navigation is simply a list of links to a range of pages within a few pages of the page you are currently viewing.  This list appears at the bottom of any area of your blog with multiple posts numbering greater than the amount of posts your blog is set to display on one page (this can be changed under the &#8220;Reading&#8221; options under the &#8220;Settings&#8221; tab in your WP admin).  Your visitors will then be able to choose to visit any number of pages from one page rather than scrolling through them one at a time to find the desired page.</p>
<p><img class="alignleft frame size-full wp-image-1256" title="numnav" src="http://www.artofblog.com/wp-content/uploads/2010/01/numnav1.gif" alt="numnav" width="610" height="68" /></p>
<h3>How Can I Setup Numbered Page Navigation On My Blog?</h3>
<p>There are two ways you can do this.  If you want to be boring, you can use a <a href="http://wordpress.org/extend/plugins/wp-pagenavi/">plugin</a> called WP Pagenavi.  Its actually a really nice plugin and I would recommend it if you don&#8217;t want to get your hands dirty.</p>
<p>However, as your blog grows, you&#8217;ll find yourself wanting to change things, add new features, etc.  As this happens, you&#8217;ll find yourself using more and more plugins.  The more plugins you use, the slower your blog will be.  I don&#8217;t know about you, but I&#8217;m all about keeping my blog clean and fast, so I make every attempt to avoid plugins when I can.</p>
<p>The code we&#8217;ll be using to create our numbered page nav is actually based on the same code that WP Pagenavi utilizes.  However, I&#8217;ve tailored it to a blogger&#8217;s needs and cleaned it up a bit to make this as painless as possible for the coding impaired.  I know it looks like a lot to swallow, but don&#8217;t worry.  I&#8217;ll walk you through it.</p>
<p>In order to work properly, we need to write a typical wordpress function.  Then, we&#8217;ll call that function using a Thesis hook to place it directly below the last post on each page where page navigation is displayed.  Finally, we&#8217;ll add CSS customizations to make it look good.  It will take a bit of coding knowledge to understand what&#8217;s going on here, but if you can copy and paste, you can implement this!</p>
<h4>The Code</h4>
<pre><code>/* NUMBERED NAV MENU */
function numbered_page_nav($prelabel = '', $nxtlabel = '', $pages_to_show = 8, $always_show = false) {
	global $request, $posts_per_page, $wpdb, $paged;

	$custom_range = round($pages_to_show/2);
	if (!is_single()) {
		if(!is_category()) {
			preg_match('#FROM\s(.*)\sORDER BY#siU', $request, $matches);
		}
		else {
			preg_match('#FROM\s(.*)\sGROUP BY#siU', $request, $matches);
		}
		$blog_post_count = $matches[1];
		$numposts = $wpdb-&gt;get_var("SELECT COUNT(DISTINCT ID) FROM $blog_post_count");
		$max_page = ceil($numposts /$posts_per_page);
		if(empty($paged)) {
			$paged = 1;
		}
		if($max_page &gt; 1 || $always_show) {
			echo "&lt;div class='page-nav'&gt;&lt;div class='page-nav-intro'&gt;Page $paged of $max_page&lt;/div&gt;";
			if ($paged &gt;= ($pages_to_show-2)) {
				echo '&lt;div class="page-number"&gt;&lt;a href="'.get_pagenum_link().'"&gt;1&lt;/a&gt;&lt;/div&gt;&lt;div class="elipses"&gt;...&lt;/div&gt; ';
			}
			for($i = $paged - $custom_range; $i &lt;= $paged + $custom_range; $i++) {
				if ($i &gt;= 1 &amp;&amp; $i &lt;= $max_page) {
					if($i == $paged) {
						echo "&lt;div class='current-page-number'&gt;$i&lt;/div&gt;";
					}
					else {
						echo ' &lt;div class="page-number"&gt;&lt;a href="'.get_pagenum_link($i).'"&gt;'.$i.'&lt;/a&gt;&lt;/div&gt; ';
					}
				}
			}
			if (($paged+$custom_range) &lt; ($max_page)) {
				echo ' &lt;div class="elipses"&gt;...&lt;/div&gt;&lt;div class="page-number"&gt;&lt;a href="'.get_pagenum_link($max_page).'"&gt;'.$max_page.'&lt;/a&gt;&lt;/div&gt;';
			}
			echo "&lt;/div&gt;";
		}
	}
}
remove_action('thesis_hook_after_content', 'thesis_post_navigation');
add_action('thesis_hook_after_content', 'numbered_page_nav');</code></pre>
<h4>The Breakdown</h4>
<p>Worried?  Don&#8217;t be.  Its bark is worse than its bite.  Let&#8217;s break it down piece by piece.</p>
<h5>1. Setting the Parameters</h5>
<pre><code>function numbered_page_nav($prelabel = '', $nxtlabel = '', $pages_to_show = 8, $always_show = false) {
	global $request, $posts_per_page, $wpdb, $paged;
	$custom_range = round($pages_to_show/2);
	if (!is_single()) {
		if(!is_category()) {
			preg_match('#FROM\s(.*)\sORDER BY#siU', $request, $matches);
		}
		else {
			preg_match('#FROM\s(.*)\sGROUP BY#siU', $request, $matches);
		}</code></pre>
<p>This section of code establishes the parameters of our function such as what Wordpress elements we need, how many posts will be in our list, and which areas of your blog will need the navigation.</p>
<p>The main thing you need to understand here is that &#8220;$pages_to_show = 8&#8243; simply means we&#8217;re going to list 8 pages other than the current page we&#8217;re on.  You can change &#8220;8&#8243; to whatever number you please.  I&#8217;d strongly suggest that you use an even number as that will keep an equal number of pages on either side of the current page in our list.</p>
<h5>2. How Big is Your Blog?</h5>
<pre><code>$blog_post_count = $matches[1];
$numposts = $wpdb-&gt;get_var("SELECT COUNT(DISTINCT ID) FROM $blog_post_count");
$max_page = ceil($numposts /$posts_per_page);
if(empty($paged)) {
	$paged = 1;
}</code></pre>
<p>Next, we determine how many posts your blog contains, how many posts you allow on each page, and use those two pieces of information to determine how many pages will be in our display.  It also states that nothing will be displayed if the page doesn&#8217;t contain enough posts to need multiple pages in order to display all posts.</p>
<h5>3. Where are We?</h5>
<pre><code>if($max_page &gt; 1 || $always_show) {
	echo "&lt;div class='page-nav'&gt;&lt;div class='page-nav-intro'&gt;Page $paged of $max_page&lt;/div&gt;";
	if ($paged &gt;= ($pages_to_show-2)) {
		echo '&lt;div class="page-number"&gt;&lt;a href="'.get_pagenum_link().'"&gt;1&lt;/a&gt;&lt;/div&gt;&lt;div class="elipses"&gt;...&lt;/div&gt; ';
	}</code></pre>
<p>The next section contains the code that displays our navigation intro box that tells us which page we&#8217;re on and how many total pages there are.  It also contains the code that displays the first page link once we move far enough from the first page that its not natively displayed in the list.</p>
<h5>4. The Meat</h5>
<pre><code>for($i = $paged - $custom_range; $i &lt;= $paged + $custom_range; $i++) {
	if ($i &gt;= 1 &amp;&amp; $i &lt;= $max_page) {
		if($i == $paged) {
			echo "&lt;div class='current-page-number'&gt;$i&lt;/div&gt;";
		}
		else {
			echo ' &lt;div class="page-number"&gt;&lt;a href="'.get_pagenum_link($i).'"&gt;'.$i.'&lt;/a&gt;&lt;/div&gt; ';
		}
	}
}</code></pre>
<p>This section is a bit complicated, but it basically just lists the number of pages that are to be displayed.  Remember when we set that up in the parameters?  It also sets up a seperate class for the current page.  That way you can style it differently if that suits your fancy.</p>
<h5>5. The End</h5>
<pre><code>if (($paged+$custom_range) &lt; ($max_page)) {
	echo ' &lt;div class="elipses"&gt;...&lt;/div&gt;&lt;div class="page-number"&gt;&lt;a href="'.get_pagenum_link($max_page).'"&gt;'.$max_page.'&lt;/a&gt;&lt;/div&gt;';
}
echo "&lt;/div&gt;";</code></pre>
<p>Finally, if the last page does not appear in our list natively, we include a link to it at the end.</p>
<h5>6. Thesis Implementation</h5>
<pre><code>remove_action('thesis_hook_after_content', 'thesis_post_navigation');
add_action('thesis_hook_after_content', 'numbered_page_nav');</code></pre>
<p>This is the easy part.  You just need two lines of code (yep, Thesis rocks!).  &#8220;thesis_hook_after_content&#8221; is the hook we&#8217;ll be using.  It simply means that the numbered page nav will be placed below the end of the last post on the page.  First, we remove the standard Thesis page navigation.  Then, we add our custom function.  If you wanted to place it below all content (posts and sidebars), but above the footer, you would use the &#8220;thesis_hook_after_content_box&#8221; hook.  &#8220;thesis_post_navigation&#8221; refers to the standard Thesis page navigation.  &#8220;numbered_page_nav&#8221; just indicates the name of the function we want to place in our chosen location.</p>
<p>And that&#8217;s it.  Just copy and paste the whole thing into your custom_functions.php file and we&#8217;re ready to style!</p>
<h4>Styling the Navigation</h4>
<p>Just copy and paste this into your custom.css file and you are all done.  Of course, you&#8217;ll want make stylistic adjustments to match the look of your blog.</p>
<pre><code>/* NUMBERED PAGE NAV */
.page-nav { font-size: 1.35em; font-weight: bold; margin: 1em 0; padding: 0; overflow: hidden; }
.page-nav-intro { float: left; padding: .3em .5em; margin: 0 1em 1em 0; background: #efefef; border: .1em solid #ccc; }
.page-number { float: left; padding: .3em .5em; margin: 0 .2em; background: #fff; border: .1em solid #ccc;  }
.current-page-number { float: left; padding: .3em .5em; margin: 0 .2em; background: #efefef; border: .1em solid #ccc; }
.elipses { float: left; padding: .3em .2em; }</code></pre>
]]></content:encoded>
			<wfw:commentRss>http://www.artofblog.com/thesis-page-navigation/feed/</wfw:commentRss>
		<slash:comments>24</slash:comments>
		</item>
		<item>
		<title>Classy Photo Display Made Easy with Jquery and Thickbox</title>
		<link>http://www.artofblog.com/jquery-lightbox-integration/</link>
		<comments>http://www.artofblog.com/jquery-lightbox-integration/#comments</comments>
		<pubDate>Thu, 14 Jan 2010 12:58:47 +0000</pubDate>
		<dc:creator>Nick Reese</dc:creator>
				<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://www.artofblog.com/?p=1091</guid>
		<description><![CDATA[Though the Web is comprised mostly of text, images make the web interesting. Pictures not only help engage your audience but it also helps break up your content to make it more approachable. No one likes reading one long block of text. :) Today we are looking at adding a Jquery and Thickbox integration which [...]]]></description>
			<content:encoded><![CDATA[<p></p><p>Though the Web is comprised mostly of text, images make the web interesting. Pictures not only help engage your audience but it also helps break up your content to make it more approachable. No one likes reading one long block of text. :) Today we are looking at adding a <a href="http://jquery.com/">Jquery</a> and <a href="http://jquery.com/demo/thickbox/">Thickbox</a> integration which allows users to click on an image and make it larger for better viewing.</p>
<h3>Example:</h3>
<p><a class="thickbox" href="http://www.artofblog.com/wp-content/uploads/2010/01/thickbox-example-large.jpg"><img title="thickbox-example" src="http://www.artofblog.com/wp-content/uploads/2010/01/thickbox-example.jpg" alt="thickbox-example" width="595" class="frame"/></a><br />
This photo was used with permission via <a href="http://www.visualphotoguide.com/tilt-shift-photoshop-tutorial-how-to-make-fake-miniature-scenes/">Visual Photo Guide</a>.</p>
<h3>How to Use Thickbox:</h3>
<p>Once we get Thickbox installed on our site all you have to do is add &#8220;<code>class="thickbox"</code>&#8221; class to any link and that content will be displayed in the window. The tutorial below will show you how to integrate this into Wordpress 2.9+.</p>
<h2>How to Use Jquery and Lightbox to Display Images</h2>
<p>Today we will be using the Jquery JavaScript library that is built into <a href="http://www.wordpress.org">wordpress</a>. Along with a plugin for Javascript known as Thick Box. Since these are already included with Wordpress Core we just need to access them. To do this we will be using the Wordpress function known as <code>wp_enqueue_script()</code>. Now this may sound complex but it really isn&#8217;t.</p>
<p class="alert">Thanks to the astute comments of <a href="http://www.nathanrice.net/">Nathan Rice</a> and <a href="http://justintadlock.com/">Justin Tadlock</a> this tutorial has been made easier. Make sure to check the update below.</p>
<h3>Understanding wp_enqueue_script</h3>
<p>Basically what this function does is take a known script and make sure it isn&#8217;t called more than once. Since some plugins out there call Jquery, we want to make sure our tweaks don&#8217;t cause any errors by calling it twice. </p>
<p>Now wp_enqueue_script has a ton of functionality but we are only looking at using the built in stuff. The built in functionality lets you call most of the common Javascript libraries such as <a href="http://jquery.com/">jquery</a> and <a href="http://script.aculo.us/">scriptaculous</a> along with some of their super useful plugins such as Thickbox.</p>
<p class="note">Jquery plugins work just like Wordpress plugins. The simply augment the functionality of the framework allowing you to do cool things. They are no more complex than that.</p>
<p>To use wp_enqueue_script() we simply need to know the name of library we want to call and where we want to call it. For example take the following function:</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">&lt;?php</span>
<span style="color: #000000; font-weight: bold;">function</span> jquery_enqueue<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
wp_enqueue_script<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'jquery'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span>
add_action<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'wp_head'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'jquery_enqueue'</span><span style="color: #339933;">,</span> <span style="color: #cc66cc;">1</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #000000; font-weight: bold;">?&gt;</span></pre></div></div>

<h3>Explanation &#8211; In plain English:</h3>
<ul>
<li>The function named <code>jquery_enqueue()</code> simply calls the jquery library to be displayed using the built in Wordpress function <code>wp_enqueue_script()</code>.</li>
<li>The <code>add_action()</code> function simply states where we want the code to be put on the page. In this case we chose <code>wp_head</code> which is located in the page header.</li>
</ul>
<h2>Putting It All Together</h2>
<p>Now that we understand how the <code>wp_enqueue_script()</code> function works, lets add in everything we need to get the thickbox plugin integrated and ready to run.</p>
<p class="alert">For standard Wordpress users this code goes in your <code>functions.php</code> for <a href="http://www.artofblog.com/thesis-wordpress-theme-review/">Thesis Theme</a> users this code goes in your <code>custom_functions.php</code>.</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">&lt;?php</span>
<span style="color: #000000; font-weight: bold;">function</span> thickbox_enqueue<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
	wp_enqueue_script<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'jquery'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
	wp_enqueue_script<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'thickbox'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
        wp_enqueue_style<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'thickbox'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span>
add_action<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'wp_head'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'thickbox_enqueue'</span><span style="color: #339933;">,</span> <span style="color: #cc66cc;">1</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></div></div>

<h3>Explanation: In Plain English</h3>
<p>The first function in the code above known as <code>thickbox_enqueue</code> simply calls the jquery library, the thickbox plugin, along with the required CSS and adds it to the header.</p>
<h2>Advanced Options</h2>
<p>Now everyone loves quick loading pages, so it is good practice to not include extra javascript code on pages where it isn&#8217;t needed. For example we here at Art of Blog only use this script for our actual post pages, so we make sure that Jquery and Thickbox are only loaded on the &#8220;single.php&#8221; pages. This is will <a href="http://www.wolf-howl.com/seo/speed-up-wordpress/">help cut down on your page load speeds</a> which will soon be <a href="http://searchengineland.com/site-speed-googles-next-ranking-factor-29793">factored into Google&#8217;s ranking algorithm</a>. Here is the code we used to implement this tactic. Simply copy and paste this into either your <code>functions.php</code> file or for Thesis users your <code>custom_functions.php</code> 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> thickbox_enqueue<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>is_single<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span>
		wp_enqueue_script<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'jquery'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
		wp_enqueue_script<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'thickbox'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
                wp_enqueue_style<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'thickbox'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
	<span style="color: #009900;">&#125;</span>
<span style="color: #009900;">&#125;</span>
add_action<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'wp_head'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'thickbox_enqueue'</span><span style="color: #339933;">,</span> <span style="color: #cc66cc;">1</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></div></div>

<h2>Updated: Add Jquery / Thickbox / CSS with One Line of Code:</h2>
<p>Thanks to the advice in the comments on this post we can add Thickbox to Wordpress by simply adding this code to your <code>functions.php</code> file.</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;">add_thickbox<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></div></div>

<h2>Questions / Comments</h2>
<p>If you have any questions or comments about this tutorial we would love to hear them. If you think you know a better way, we are open to suggestions as well. ;)</p>
]]></content:encoded>
			<wfw:commentRss>http://www.artofblog.com/jquery-lightbox-integration/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>Understanding Favicons: How to Add a Favicon to Wordpress, Thesis, or Your Website</title>
		<link>http://www.artofblog.com/understanding-favicons/</link>
		<comments>http://www.artofblog.com/understanding-favicons/#comments</comments>
		<pubDate>Mon, 11 Jan 2010 18:56:45 +0000</pubDate>
		<dc:creator>Nick Reese</dc:creator>
				<category><![CDATA[wordpress]]></category>
		<category><![CDATA[Favicon]]></category>

		<guid isPermaLink="false">http://www.artofblog.com/?p=977</guid>
		<description><![CDATA[So its now 2010 and I am still seeing tons of websites without favicons. Favicons are definitely on the lower end of the importance scale but they really add polish to a website design. So if your website is still sitting out there showing the standard &#8220;white page&#8221; icon in Firefox, then this overview is [...]]]></description>
			<content:encoded><![CDATA[<p></p><p>So its now 2010 and I am still seeing tons of websites without favicons. <a href="http://en.wikipedia.org/wiki/Favicon">Favicons</a> are definitely on the lower end of the importance scale but they really add polish to a website design. So if your website is still sitting out there showing the standard &#8220;white page&#8221; icon in Firefox, then this overview is for you.</p>
<p>Now most of this information isn&#8217;t necessarily <em>new</em> but lets just say if you want me to take your website seriously you should have a favicon. Lets face it I&#8217;m <a href="https://health.google.com/health/ref/Attention+deficit+hyperactivity+disorder+%28ADHD%29">ADD</a> and browse with too many tabs open and your Favicon helps me identify your website.</p>
<p>Now lets get started.</p>
<p><span id="more-977"></span></p>
<h2>What are Favicons?</h2>
<p>Favicons simply put is a &#8220;favorites&#8221; icon. Favicons are the small icons that you see next to the URL in your browser. Look for the one up top. It should look like this:</p>
<p><a href="http://www.artofblog.com/wp-content/uploads/2010/01/favicon-aob.png"><img class="size-full wp-image-986 alignnone" title="favicon-aob" src="http://www.artofblog.com/wp-content/uploads/2010/01/favicon-aob.png" alt="favicon-aob" width="179" height="21" /></a></p>
<p>Favicons are also displayed in the &#8220;tab&#8221; area of many browsers such as Firefox and Internet Explorer.</p>
<h2>How are Favicons Used?</h2>
<p>Favicons help users identify what website they are visting. Favicons are used by nearly all modern browsers and are often used by other services such as RSS Readers and Bookmark Applications.</p>
<h2>Why does my site need a Favicon?</h2>
<p>This really is a personal question, but considering how easy they are to implement, I would highly suggest you add one. Plus, it helps make your website feel more polished.</p>
<h2>How do I make a Favicon?</h2>
<p>To make an favicon start by opening your favorite image editing software such as Photoshop or GIMP and create a new 16&#215;16 file. Once you have a new file open, work your magic and create the Favicon of your dreams.</p>
<p>Once you are done save the file as a .png .</p>
<h2>Conversion Time:</h2>
<p>Before we can add the favicon to your website we need to convert it into a &#8220;.ico&#8221; format. To do this visit you will want to use the converter found at  <a href="http://www.faviconr.com/">Faviconr</a>.</p>
<h4>Detailed Instructions:</h4>
<p>Simply upload your .png file to faviconr.com<br />
Faviconr will then convert your file into a .ico file. (you might have to hit Generate Favicon twice).<br />
Once your favicon is generated simply click &#8220;Download Favicon.&#8221; Remember where you  saved it.</p>
<h3>How do I add a Favicon?</h3>
<p>Once you have your .ico file saved. It is time to upload it to your website. Make sure you put it in the root directory. This means if you visit http://www.yourwebsite.com/favicon.ico you will get your favicon.</p>
<p>Once you have your Favicon uploaded simply add this line of code within your  tags.</p>
<p><code>&lt;link rel=”shortcut icon” href=”/favicon.ico” type=”image/x-icon” /&gt;</code></p>
<p>If you are using Wordpress this tag will be found within your &#8220;<code>header.php</code>&#8221; file.</p>
<h2>Add a Favicon to Thesis</h2>
<p><a href="http://www.artofblog.com/wp-content/uploads/2010/01/favicon-thesis.png"><img class="alignright size-full wp-image-979" title="favicon-thesis" src="http://www.artofblog.com/wp-content/uploads/2010/01/favicon-thesis.png" alt="favicon-thesis" width="303" height="263" /></a>If you are using <a title="Thesis Theme Review" href="http://www.artofblog.com/thesis-wordpress-theme-review/">Thesis Theme</a> to mange your website the process of adding a favicon couldn&#8217;t be easier.</p>
<ol>
<li> Start by uploading your icon to your website &#8220;root.&#8221; Again, this means if you visit http://www.yourwebsite.com/favicon.ico you will get your favicon.</li>
<li>Next login to Wordpress and visit your Thesis Options Panel and paste the code you see above into the &#8220;Header Scripts&#8221; box.</li>
<li>Once you are done click the save button and visit your home page to see your new Favicon.</li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://www.artofblog.com/understanding-favicons/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>One Week Challenge Wrapup</title>
		<link>http://www.artofblog.com/one-week-wrapup/</link>
		<comments>http://www.artofblog.com/one-week-wrapup/#comments</comments>
		<pubDate>Sat, 09 Jan 2010 15:46:11 +0000</pubDate>
		<dc:creator>Markus Urban</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.artofblog.com/?p=1208</guid>
		<description><![CDATA[This is my wrapup video for the One Week Blog Challenge with my thoughts about what it took to create, my experience in the process, and some next steps you can take to launch your site (if you've been following the series).]]></description>
			<content:encoded><![CDATA[<p></p><p><a href="http://www.artofblog.com/one-week-wrapup/"><em>Click here to view the embedded video.</em></a></p>
<p>This is my wrapup video for the One Week Blog Challenge with my thoughts about what it took to create, my experience in the process, and some next steps you can take to launch your site (if you&#8217;ve been following the series).</p>
<p>Some of the additional resources I mentioned in the video (and some additional ones) are:</p>
<ul>
<li><a href="http://www.shoemoneysystem.com/6ways/" target="_blank">Shoemoney&#8217;s 6 basic ways of making money online</a> &#8211; the much anticipated shoemoney system is coming out Jan 2010 &#8211; he&#8217;s one of my earliest influences in getting started in affiliate marketing)</li>
<li><a href="http://www.problogger.net/" target="_blank">Problogger</a> &#8211; one of the originals and masters all about making money online with your blog with tons of quality resources</li>
<li><a href="http://www.copyblogger.com/" target="_blank">Copyblogger</a> &#8211; all about writing compelling copy, great headlines, what works for social media, etc.</li>
<li><a href="http://www.incomediary.com/" target="_blank">Income Diary</a> &#8211; great information for</li>
<li><a href="http://getsourcecontrol.com/" target="_blank">Source Control</a> &#8211; a great example of an informational product put out by <a href="http://www.muselife.com/" target="_blank">Muse Life</a> Why informational products rock</li>
<li><a href="http://www.quicksprout.com/" target="_blank">Quick Sprout</a> &#8211; all about enterpreneurship by Neil Patel, someone I really respect in online business</li>
<li><a href="http://www.stuckincustoms.com/reviews/" target="_blank">Stuck in Customs camera reviews</a> - a great example of affiliate marketing done well in the photography industry that fits well with the personal blog and brand of Trey Ratcliff of Stuck in Customs photo blog.</li>
</ul>
<p>Here&#8217;s to your success in 2010!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.artofblog.com/one-week-wrapup/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
