<?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>Mitch Canter is [studionashvegas] &#187; Photoshop</title>
	<atom:link href="http://www.studionashvegas.com/tag/photoshop/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.studionashvegas.com</link>
	<description>&#124; Nashville&#039;s Best WordPress Design, Web Development, and Marketing</description>
	<lastBuildDate>Sun, 20 Jun 2010 21:04:55 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Creating a WordPress Theme from a .PSD file &#8211; Part 5 (footer.php)</title>
		<link>http://www.studionashvegas.com/old-posts/creating-a-wordpress-theme-from-a-psd-file-part-5-footerphp/</link>
		<comments>http://www.studionashvegas.com/old-posts/creating-a-wordpress-theme-from-a-psd-file-part-5-footerphp/#comments</comments>
		<pubDate>Tue, 02 Dec 2008 20:32:22 +0000</pubDate>
		<dc:creator>studionashvegas</dc:creator>
				<category><![CDATA[Old Posts]]></category>
		<category><![CDATA[Photoshop]]></category>
		<category><![CDATA[PSD]]></category>
		<category><![CDATA[Tutorial]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://www.studionashvegas.com/2008/12/02/creating-a-wordpress-theme-from-a-psd-file-part-5-footerphp/</guid>
		<description><![CDATA[This post is part of the &#8220;Creating a WordPress Theme from a .PSD&#8221; series for designers to use for theme development. The other posts can be found here: Part 1 &#8211; Background / Introduction Part 2 &#8211; From .PSD to .HTML Part 3 &#8211; WordPress Structure Part 4 &#8211; The Header (header.php) Part 5 &#8211; [...]]]></description>
			<content:encoded><![CDATA[<p><em>This post is part of the &#8220;Creating a WordPress Theme from a .PSD&#8221; series for designers to use for theme development. The other posts can be found here:</em></p>
<ul>
<li><a title="Introduction" href="http://www.studionashvegas.com/2008/10/30/creating-a-wordpress-theme-from-a-psd-file-part-1-background/" target="_blank">Part 1 &#8211; Background / Introduction </a></li>
<li><a title="from .PSD to .html" href="http://www.studionashvegas.com/2008/10/30/creating-a-wordpress-theme-from-a-psd-file-part-2-photoshop-file-to-html/" target="_blank">Part 2 &#8211; From .PSD to .HTML </a></li>
<li><a title="WordPress Structure" href="http://www.studionashvegas.com/2008/11/06/creating-a-wordpress-theme-from-a-psd-file-part-3-the-wordpress-structure/" target="_blank">Part 3 &#8211; WordPress Structure </a></li>
<li><a title="Header" href="http://www.studionashvegas.com/2008/11/17/creating-a-wordpress-theme-from-a-psd-file-part-4-headerphp/" target="_blank">Part 4 &#8211; The Header (header.php) </a></li>
<li><a href="http://www.studionashvegas.com/2008/12/02/creating-a-wordpress-theme-from-a-psd-file-part-5-footerphp/">Part 5 &#8211; The Footer (footer.php)</a></li>
</ul>
<p>We&#8217;ve taken a look at one of the key files in the WordPress universe, the header, which kicks off everything else in a WordPress theme (including CSS, RSS, and all the other meta goodness). Now, going from beginning to end, we&#8217;ll explore the <strong>footer</strong> of a standard WordPress Theme. To be honest, a footer really only <strong>needs</strong> to have three elements:</p>
<ol>
<li>the &lt;?php wp_footer(); ?&gt;</li>
<li>a &lt;/body&gt; tag</li>
<li>an &lt;/html&gt; tag</li>
</ol>
<p>The first of those, the php function, serves the same purpose that &lt;?php wp_header(); ?&gt; does in the header &#8211; it serves as a hook for plugins and other WordPress functions that need to prophigate themselves in the footer. Think of it this way: if you were to install the Google Analytics plugin, how do you think it knows where to put the Analytic code? Answer: that php tag.</p>
<p>However, aside from those three lines, you can put anything else you want to show up under the sidebar and content. A lot of people add a second navigation to their footer (sometimes including other less-important site pages such as the privacy policy and legal information). The theme designer&#8217;s tagline/information can be found there too. And why not show your love to WordPress by including a statement saying that you are &#8220;Proudly Powered by WordPress&#8221;.</p>
<p><strong>W</strong><strong>idgets</strong> go great in a &#8220;footer-bar&#8221;. A great way to display them is to have three columns floated next to each other with widgetized data in them (a la <a href="http://www.sueblimely.com/add-widget-ready-sidebars-to-wordpress-footers/" target="_blank">Blogging Sueblimely</a> and <a href="http://lorelle.wordpress.com/2007/09/30/customizing-your-wordpress-theme-footer/">Lorelle</a>). This looks very clean and provides a quick way to showcase a lot of information in relatively short space.</p>
<p>Of course, there are fun footers too.  It’s your theme – do what you want with it!</p>
<p><a href="http://www.studionashvegas.com/wp-content/uploads/2008/12/1.jpg" target="_blank"><img style="display: inline;" title="1" src="http://www.studionashvegas.com/wp-content/uploads/2008/12/1.jpg" alt="1" width="500" height="60" /></a></p>
<p><a href="http://www.davidhellmann.com/"><img style="display: inline;" title="3" src="http://www.studionashvegas.com/wp-content/uploads/2008/12/3.jpg" alt="3" width="500" height="210" /></a></p>
<p><a href="$2[4].jpg"><img style="display: inline" title="2" src="http://www.studionashvegas.com/wp-content/uploads/2008/12/2.jpg" alt="2" width="500" height="119" /></a></p>


<div class="shr-bookmarks shr-bookmarks-expand shr-bookmarks-bg-shr">
<ul class="socials">
		<li class="shr-comfeed">
			<a href="http://www.studionashvegas.com/old-posts/creating-a-wordpress-theme-from-a-psd-file-part-5-footerphp/feed" rel="nofollow" title="Subscribe to the comments for this post?">Subscribe to the comments for this post?</a>
		</li>
		<li class="shr-delicious">
			<a href="http://delicious.com/post?url=http://www.studionashvegas.com/old-posts/creating-a-wordpress-theme-from-a-psd-file-part-5-footerphp/&amp;title=Creating+a+WordPress+Theme+from+a+.PSD+file+%26ndash%3B+Part+5+%28footer.php%29" rel="nofollow" title="Share this on del.icio.us">Share this on del.icio.us</a>
		</li>
		<li class="shr-digg">
			<a href="http://digg.com/submit?phase=2&amp;url=http://www.studionashvegas.com/old-posts/creating-a-wordpress-theme-from-a-psd-file-part-5-footerphp/&amp;title=Creating+a+WordPress+Theme+from+a+.PSD+file+%26ndash%3B+Part+5+%28footer.php%29" rel="nofollow" title="Digg this!">Digg this!</a>
		</li>
		<li class="shr-facebook">
			<a href="http://www.facebook.com/share.php?v=4&amp;src=bm&amp;u=http://www.studionashvegas.com/old-posts/creating-a-wordpress-theme-from-a-psd-file-part-5-footerphp/&amp;t=Creating+a+WordPress+Theme+from+a+.PSD+file+%26ndash%3B+Part+5+%28footer.php%29" rel="nofollow" title="Share this on Facebook">Share this on Facebook</a>
		</li>
		<li class="shr-friendfeed">
			<a href="http://www.friendfeed.com/share?title=Creating+a+WordPress+Theme+from+a+.PSD+file+%26ndash%3B+Part+5+%28footer.php%29&amp;link=http://www.studionashvegas.com/old-posts/creating-a-wordpress-theme-from-a-psd-file-part-5-footerphp/" rel="nofollow" title="Share this on FriendFeed">Share this on FriendFeed</a>
		</li>
		<li class="shr-googlebuzz">
			<a href="http://www.google.com/buzz/post?url=http://www.studionashvegas.com/old-posts/creating-a-wordpress-theme-from-a-psd-file-part-5-footerphp/&amp;imageurl=" rel="nofollow" title="Post on Google Buzz">Post on Google Buzz</a>
		</li>
		<li class="shr-reddit">
			<a href="http://reddit.com/submit?url=http://www.studionashvegas.com/old-posts/creating-a-wordpress-theme-from-a-psd-file-part-5-footerphp/&amp;title=Creating+a+WordPress+Theme+from+a+.PSD+file+%26ndash%3B+Part+5+%28footer.php%29" rel="nofollow" title="Share this on Reddit">Share this on Reddit</a>
		</li>
		<li class="shr-stumbleupon">
			<a href="http://www.stumbleupon.com/submit?url=http://www.studionashvegas.com/old-posts/creating-a-wordpress-theme-from-a-psd-file-part-5-footerphp/&amp;title=Creating+a+WordPress+Theme+from+a+.PSD+file+%26ndash%3B+Part+5+%28footer.php%29" rel="nofollow" title="Stumble upon something good? Share it on StumbleUpon">Stumble upon something good? Share it on StumbleUpon</a>
		</li>
		<li class="shr-technorati">
			<a href="http://technorati.com/faves?add=http://www.studionashvegas.com/old-posts/creating-a-wordpress-theme-from-a-psd-file-part-5-footerphp/" rel="nofollow" title="Share this on Technorati">Share this on Technorati</a>
		</li>
		<li class="shr-tumblr">
			<a href="http://www.tumblr.com/share?v=3&amp;u=http%3A%2F%2Fwww.studionashvegas.com%2Fold-posts%2Fcreating-a-wordpress-theme-from-a-psd-file-part-5-footerphp%2F&amp;t=Creating+a+WordPress+Theme+from+a+.PSD+file+%26ndash%3B+Part+5+%28footer.php%29" rel="nofollow" title="Share this on Tumblr">Share this on Tumblr</a>
		</li>
		<li class="shr-twitter">
			<a href="http://twitter.com/home?status=Creating+a+WordPress+Theme+from+a+.PSD+file+%26ndash%3B+Part+5+%28footer.php%29+-+http://b2l.me/5abaq&amp;source=shareaholic" rel="nofollow" title="Tweet This!">Tweet This!</a>
		</li>
</ul>
<div style="clear:both;"></div>
</div>

<div class="facebook_like_button"><iframe src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fwww.studionashvegas.com%2Fold-posts%2Fcreating-a-wordpress-theme-from-a-psd-file-part-5-footerphp%2F&amp;layout=standard&amp;show-faces=true&amp;width=600&amp;action=recommend&amp;font=verdana&amp;colorscheme=dark" scrolling="no" frameborder="0" allowTransparency="true" style="padding: 0px 0px; border:none; overflow:hidden; width:600px; height:70px;"></iframe></div>]]></content:encoded>
			<wfw:commentRss>http://www.studionashvegas.com/old-posts/creating-a-wordpress-theme-from-a-psd-file-part-5-footerphp/feed/</wfw:commentRss>
		<slash:comments>15</slash:comments>
		</item>
		<item>
		<title>Creating a WordPress Theme from a .PSD file &#8211; Part 4 (Header.php)</title>
		<link>http://www.studionashvegas.com/old-posts/creating-a-wordpress-theme-from-a-psd-file-part-4-headerphp/</link>
		<comments>http://www.studionashvegas.com/old-posts/creating-a-wordpress-theme-from-a-psd-file-part-4-headerphp/#comments</comments>
		<pubDate>Tue, 18 Nov 2008 04:53:20 +0000</pubDate>
		<dc:creator>studionashvegas</dc:creator>
				<category><![CDATA[Old Posts]]></category>
		<category><![CDATA[Photoshop]]></category>
		<category><![CDATA[PSD]]></category>
		<category><![CDATA[Theme]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://www.studionashvegas.com/2008/11/17/creating-a-wordpress-theme-from-a-psd-file-part-4-headerphp/</guid>
		<description><![CDATA[Starting with the design concept, we took our WordPress theme from a .psd file to an .html file. Then we started laying the groundwork by commenting and slicing apart the .html file we created into the various .php files. So, what do those various .php files really do?&#160; And what should go in each one?&#160; [...]]]></description>
			<content:encoded><![CDATA[<p>Starting with <a href="http://www.studionashvegas.com/2008/10/30/creating-a-wordpress-theme-from-a-psd-file-part-1-background/">the design concept</a>, we took our WordPress theme <a href="http://www.studionashvegas.com/2008/10/30/creating-a-wordpress-theme-from-a-psd-file-part-2-photoshop-file-to-html/">from a .psd file to an .html file</a>. Then we started laying the groundwork by <a href="http://www.studionashvegas.com/2008/11/06/creating-a-wordpress-theme-from-a-psd-file-part-3-the-wordpress-structure/">commenting and slicing apart the .html file</a> we created into the various .php files.</p>
<p>So, what do those various .php files really do?&#160; And what should go in each one?&#160; That’s where will shift our focus as we take a look at the beginning of any good WordPress theme, the header.php.</p>
<p><a href="http://www.studionashvegas.com/wp-content/uploads/2008/11/12.jpg"><img title="1" style="display: inline" height="500" alt="1" src="http://www.studionashvegas.com/wp-content/uploads/2008/11/1-thumb1.jpg" width="500" /></a></p>
<p>The header, by nature, will be the first file you call in your WordPress theme.&#160; Typically, it will contain one or more of the following elements:</p>
<ul>
<li>Doctype Information </li>
<li>Meta (Charset, Title, Description, Keywords) </li>
<li>RSS Information (Feed/Comments Feed) </li>
<li>CSS Stylesheets </li>
<li>Javascript Calls/Functions </li>
<li>The WordPress Header Call </li>
</ul>
<p>The Doctype information should have been automatically included when you started your new Dreamweaver file back in step 2, so that’s pretty self explanatory.</p>
<p>When it comes to your meta information, you want to make sure a few things are covered.&#160; As good practice for SEO, make sure your title has good keywords (You can use <span class="code">&lt;?php bloginfo(&#8216;name&#8217;); ?&gt;</span> if you want – just make sure that your blog name has those keywords included).&#160; The <a href="http://codex.wordpress.org">codex</a> also explains how you can set different </p>
<p>Your description is next.&#160; If you want to use the description you declared inside of WordPress, use &lt;?php bloginfo(‘description’); ?&gt;.&#160; Once again, make sure you make great use of those keywords!</p>
<p>And finally, your keywords (yes, I know I&#8217;ve talked about keywords quite a bit – can you sense a trend?) should only be the keywords that best describe your site.&#160; Only use a few of them, and don’t pad the ones in you know won’t describe your content – Google doesn’t like that.</p>
<p>Your RSS Feeds are next.&#160; Yes, I said feeds, but if you only have one, that’s fine. At least call your WordPress feed in the header:</p>
<p>&lt;link rel=“alternate” type=“application/rss+xml” title=“&lt;?php wp_bloginfo(‘name’); ?&gt;” href=“&lt;?php wp_bloginfo(‘rss2_url’); ?&gt;” /&gt;</p>
<p>The relevance of the link, the type (RSS+XML), the title, and the URL.&#160; This puts that nice little RSS icon in your Firefox toolbar also (but don’t forget to actually link to it in your blog!)</p>
<p>Next you should link to your CSS stylesheets.&#160; This should be taken care of inside of Dreamweaver, but if you want to release the theme for the public, you can use “&lt;?php wp_bloginfo(‘url’); ?&gt;/wp-content/themes/THEMENAME/style.css”.&#160; In fact, use this anyway – it’s a great way to get it right no matter what! (are you seeing a trend in not hardcoding your theme links?&#160; Makes it easy to port to other sites.)</p>
<p>Any JavaScript you need to use can go after the CSS stylesheets.&#160; But then again, if you’re using JavaScript, you know that already.</p>
<p>Finally, have &lt;?wp head(); ?&gt; right before your &lt;/head&gt; tag.&#160; It’s called a “hook”, and it does just what it sounds like: lets functions and plug-ins that are called in the header do their thing.&#160; A lot of plug-ins use this, so make sure it’s there.</p>
<p>Now, here’s where the gray area comes into play. You’ve ended your head tag and started your body tag.&#160; Should you include anything else in your header?&#160; Well, ask yourself this question: are there elements (such as the navigation, logo, and other such items) that you want to be able to show on every page?&#160; If the answer is yes (and it pretty much always is with those elements) then go ahead and put them in.&#160; Usually you want to stop the header RIGHT BEFORE your content div starts.&#160; </p>
<p>Sounds like a lot of elements, but having a great theme means taking care of all of the geeky stuff beforehand.&#160; That all taken care of, you can let the rest of your theme really shine out.</p>
<p>Next time we’ll talk about the footer.php, the possibility of “footer widgets”, and what other goodness you should include.</p>


<div class="shr-bookmarks shr-bookmarks-expand shr-bookmarks-bg-shr">
<ul class="socials">
		<li class="shr-comfeed">
			<a href="http://www.studionashvegas.com/old-posts/creating-a-wordpress-theme-from-a-psd-file-part-4-headerphp/feed" rel="nofollow" title="Subscribe to the comments for this post?">Subscribe to the comments for this post?</a>
		</li>
		<li class="shr-delicious">
			<a href="http://delicious.com/post?url=http://www.studionashvegas.com/old-posts/creating-a-wordpress-theme-from-a-psd-file-part-4-headerphp/&amp;title=Creating+a+WordPress+Theme+from+a+.PSD+file+%26ndash%3B+Part+4+%28Header.php%29" rel="nofollow" title="Share this on del.icio.us">Share this on del.icio.us</a>
		</li>
		<li class="shr-digg">
			<a href="http://digg.com/submit?phase=2&amp;url=http://www.studionashvegas.com/old-posts/creating-a-wordpress-theme-from-a-psd-file-part-4-headerphp/&amp;title=Creating+a+WordPress+Theme+from+a+.PSD+file+%26ndash%3B+Part+4+%28Header.php%29" rel="nofollow" title="Digg this!">Digg this!</a>
		</li>
		<li class="shr-facebook">
			<a href="http://www.facebook.com/share.php?v=4&amp;src=bm&amp;u=http://www.studionashvegas.com/old-posts/creating-a-wordpress-theme-from-a-psd-file-part-4-headerphp/&amp;t=Creating+a+WordPress+Theme+from+a+.PSD+file+%26ndash%3B+Part+4+%28Header.php%29" rel="nofollow" title="Share this on Facebook">Share this on Facebook</a>
		</li>
		<li class="shr-friendfeed">
			<a href="http://www.friendfeed.com/share?title=Creating+a+WordPress+Theme+from+a+.PSD+file+%26ndash%3B+Part+4+%28Header.php%29&amp;link=http://www.studionashvegas.com/old-posts/creating-a-wordpress-theme-from-a-psd-file-part-4-headerphp/" rel="nofollow" title="Share this on FriendFeed">Share this on FriendFeed</a>
		</li>
		<li class="shr-googlebuzz">
			<a href="http://www.google.com/buzz/post?url=http://www.studionashvegas.com/old-posts/creating-a-wordpress-theme-from-a-psd-file-part-4-headerphp/&amp;imageurl=" rel="nofollow" title="Post on Google Buzz">Post on Google Buzz</a>
		</li>
		<li class="shr-reddit">
			<a href="http://reddit.com/submit?url=http://www.studionashvegas.com/old-posts/creating-a-wordpress-theme-from-a-psd-file-part-4-headerphp/&amp;title=Creating+a+WordPress+Theme+from+a+.PSD+file+%26ndash%3B+Part+4+%28Header.php%29" rel="nofollow" title="Share this on Reddit">Share this on Reddit</a>
		</li>
		<li class="shr-stumbleupon">
			<a href="http://www.stumbleupon.com/submit?url=http://www.studionashvegas.com/old-posts/creating-a-wordpress-theme-from-a-psd-file-part-4-headerphp/&amp;title=Creating+a+WordPress+Theme+from+a+.PSD+file+%26ndash%3B+Part+4+%28Header.php%29" rel="nofollow" title="Stumble upon something good? Share it on StumbleUpon">Stumble upon something good? Share it on StumbleUpon</a>
		</li>
		<li class="shr-technorati">
			<a href="http://technorati.com/faves?add=http://www.studionashvegas.com/old-posts/creating-a-wordpress-theme-from-a-psd-file-part-4-headerphp/" rel="nofollow" title="Share this on Technorati">Share this on Technorati</a>
		</li>
		<li class="shr-tumblr">
			<a href="http://www.tumblr.com/share?v=3&amp;u=http%3A%2F%2Fwww.studionashvegas.com%2Fold-posts%2Fcreating-a-wordpress-theme-from-a-psd-file-part-4-headerphp%2F&amp;t=Creating+a+WordPress+Theme+from+a+.PSD+file+%26ndash%3B+Part+4+%28Header.php%29" rel="nofollow" title="Share this on Tumblr">Share this on Tumblr</a>
		</li>
		<li class="shr-twitter">
			<a href="http://twitter.com/home?status=Creating+a+WordPress+Theme+from+a+.PSD+file+%26ndash%3B+Part+4+%28Header.php%29+-+http://b2l.me/5awu5&amp;source=shareaholic" rel="nofollow" title="Tweet This!">Tweet This!</a>
		</li>
</ul>
<div style="clear:both;"></div>
</div>

<div class="facebook_like_button"><iframe src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fwww.studionashvegas.com%2Fold-posts%2Fcreating-a-wordpress-theme-from-a-psd-file-part-4-headerphp%2F&amp;layout=standard&amp;show-faces=true&amp;width=600&amp;action=recommend&amp;font=verdana&amp;colorscheme=dark" scrolling="no" frameborder="0" allowTransparency="true" style="padding: 0px 0px; border:none; overflow:hidden; width:600px; height:70px;"></iframe></div>]]></content:encoded>
			<wfw:commentRss>http://www.studionashvegas.com/old-posts/creating-a-wordpress-theme-from-a-psd-file-part-4-headerphp/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Creating a WordPress Theme from a .PSD file &#8211; Part 3 (The WordPress Structure)</title>
		<link>http://www.studionashvegas.com/old-posts/creating-a-wordpress-theme-from-a-psd-file-part-3-the-wordpress-structure/</link>
		<comments>http://www.studionashvegas.com/old-posts/creating-a-wordpress-theme-from-a-psd-file-part-3-the-wordpress-structure/#comments</comments>
		<pubDate>Thu, 06 Nov 2008 16:10:33 +0000</pubDate>
		<dc:creator>studionashvegas</dc:creator>
				<category><![CDATA[Old Posts]]></category>
		<category><![CDATA[Dreamweaver]]></category>
		<category><![CDATA[HTML]]></category>
		<category><![CDATA[Photoshop]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[WordPress Theme]]></category>

		<guid isPermaLink="false">http://www.studionashvegas.com/2008/11/06/creating-a-wordpress-theme-from-a-psd-file-part-3-the-wordpress-structure/</guid>
		<description><![CDATA[In our quest to take a WordPress theme from start to finish (Photoshop to Functional Theme), we have reached what most people would call the end of their journey.&#160; We’ve taken our Photoshop file, made the necessary slices and converted it to an .html file. If we wanted this page to remain a static web [...]]]></description>
			<content:encoded><![CDATA[<p>In our quest to take a WordPress theme from start to finish (Photoshop to Functional Theme), we have reached what most people would call the end of their journey.&#160; We’ve taken our <a href="http://www.studionashvegas.com/2008/10/30/creating-a-wordpress-theme-from-a-psd-file-part-1-background/">Photoshop file</a>, made the necessary slices and <a href="http://www.studionashvegas.com/2008/10/30/creating-a-wordpress-theme-from-a-psd-file-part-2-photoshop-file-to-html/">converted it to an .html file.</a> If we wanted this page to remain a static web document, we’d stop here, head into the base camp, and drink our hot cocoa.&#160; But we’re not done quite yet, because we need this page to be able to handle the dynamic content that WordPress delivers.&#160; Before we make our ascent, however, we need to know what it is we’re dealing with.</p>
<h3></h3>
<h3>Theme Structure</h3>
<p><a href="http://www.studionashvegas.com/wp-content/uploads/2008/11/1.png"><img title="1" style="display: inline" height="409" alt="1" src="http://www.studionashvegas.com/wp-content/uploads/2008/11/1-thumb.png" width="500" /></a> </p>
<p>WordPress themes have three files (usually four) at minimum that are required in order to be considered a true WordPress theme: header.php, index.php, sidebar.php [optional] and footer.php.&#160; There are many more files that you can include (404.php, single.php, page.php; the list goes on) but those core files are what defines WordPress themes and how they are segmented out.</p>
<p>The best way to take our .html file and segment it into the various files we need is to use comments:</p>
<blockquote><div class="code">
<p>&lt;!—Header—&gt;</p>
<p>…header stuff is here…</p>
<p>&lt;!—End Header—&gt;</p>
<p>&lt;!—Main Content—&gt;</p>
<p>…main content goes here (this will be your index.php if you’ve been designing with blog postings in mind)…</p>
<p>&lt;!—End Main Content—&gt;</p>
<p>&lt;!—Sidebar—&gt;</p>
<p>…your sidebar contains badges, widgets, recent posts, comments, etc…</p>
<p>&lt;!—End Sidebar—&gt;</p>
<p>&lt;!—Footer—&gt;</p>
<p>…the footer contains a boilerplate, navigation, and design/copyright information…</p>
<p>&lt;!—End Footer—&gt;</p>
</p></div>
</blockquote>
<p>What we’ve basically done is taken our .html file from this:</p>
<p><a href="http://www.studionashvegas.com/wp-content/uploads/2008/11/2.png"><img title="2" style="display: inline" height="288" alt="2" src="http://www.studionashvegas.com/wp-content/uploads/2008/11/2-thumb.png" width="500" /></a> </p>
<p>to this:</p>
<p><a href="http://www.studionashvegas.com/wp-content/uploads/2008/11/3.png"><img title="3" style="display: inline" height="288" alt="3" src="http://www.studionashvegas.com/wp-content/uploads/2008/11/3-thumb.png" width="500" /></a> </p>
<p>Then, just cut and paste those sections into their respective files:</p>
<p><a href="http://www.studionashvegas.com/wp-content/uploads/2008/11/4.png"><img title="4" style="display: inline" height="57" alt="4" src="http://www.studionashvegas.com/wp-content/uploads/2008/11/4-thumb.png" width="220" /></a> </p>
<p>Finally, back on the .html page, replace the code that you just cut/pasted with these commands, respectively:</p>
<blockquote><div class="code">
<p>&lt;?php get_header(); ?&gt;</p>
<p>&lt;?php get_sidebar(); ?&gt;</p>
<p>&lt;?php get_footer(); ?&gt;</p>
</p></div>
</blockquote>
<p>These are WordPress specific commands that pull in the contents of header.php, sidebar.php, and footer.php into one page that is generated when you look at the wordpress theme in a browser.&#160; Save the remaining code as index.php, and you keep your .html file handy as a reference to check the design as you are going along.</p>
<p>We’re not nearly done, but we’ve laid the foundation for a killer WordPress theme by splitting up the files.&#160; When WordPress accesses the databases via one of the .php pages (index.php by default) it pulls in the header, sidebar, and footer as one page.&#160; This way, you can just include those &lt;?php commands to call the header whenever you want, instead of having to repeat code in every page.</p>
<p>I want to go into each of these files in more depth to give tips, tricks, and techniques for making sure the WordPress theme is the best it can be, so the next post will be focusing on header.php and footer.php.&#160; After that sidebar.php, then an in-depth look at the various other files (index, single, page, and archives) to make sure they work right with our created theme.&#160; Finally, we’ll look into comment styling and see ways we can make our comments look awesome (and match our theme!)</p>


<div class="shr-bookmarks shr-bookmarks-expand shr-bookmarks-bg-shr">
<ul class="socials">
		<li class="shr-comfeed">
			<a href="http://www.studionashvegas.com/old-posts/creating-a-wordpress-theme-from-a-psd-file-part-3-the-wordpress-structure/feed" rel="nofollow" title="Subscribe to the comments for this post?">Subscribe to the comments for this post?</a>
		</li>
		<li class="shr-delicious">
			<a href="http://delicious.com/post?url=http://www.studionashvegas.com/old-posts/creating-a-wordpress-theme-from-a-psd-file-part-3-the-wordpress-structure/&amp;title=Creating+a+WordPress+Theme+from+a+.PSD+file+%26ndash%3B+Part+3+%28The+WordPress+Structure%29" rel="nofollow" title="Share this on del.icio.us">Share this on del.icio.us</a>
		</li>
		<li class="shr-digg">
			<a href="http://digg.com/submit?phase=2&amp;url=http://www.studionashvegas.com/old-posts/creating-a-wordpress-theme-from-a-psd-file-part-3-the-wordpress-structure/&amp;title=Creating+a+WordPress+Theme+from+a+.PSD+file+%26ndash%3B+Part+3+%28The+WordPress+Structure%29" rel="nofollow" title="Digg this!">Digg this!</a>
		</li>
		<li class="shr-facebook">
			<a href="http://www.facebook.com/share.php?v=4&amp;src=bm&amp;u=http://www.studionashvegas.com/old-posts/creating-a-wordpress-theme-from-a-psd-file-part-3-the-wordpress-structure/&amp;t=Creating+a+WordPress+Theme+from+a+.PSD+file+%26ndash%3B+Part+3+%28The+WordPress+Structure%29" rel="nofollow" title="Share this on Facebook">Share this on Facebook</a>
		</li>
		<li class="shr-friendfeed">
			<a href="http://www.friendfeed.com/share?title=Creating+a+WordPress+Theme+from+a+.PSD+file+%26ndash%3B+Part+3+%28The+WordPress+Structure%29&amp;link=http://www.studionashvegas.com/old-posts/creating-a-wordpress-theme-from-a-psd-file-part-3-the-wordpress-structure/" rel="nofollow" title="Share this on FriendFeed">Share this on FriendFeed</a>
		</li>
		<li class="shr-googlebuzz">
			<a href="http://www.google.com/buzz/post?url=http://www.studionashvegas.com/old-posts/creating-a-wordpress-theme-from-a-psd-file-part-3-the-wordpress-structure/&amp;imageurl=" rel="nofollow" title="Post on Google Buzz">Post on Google Buzz</a>
		</li>
		<li class="shr-reddit">
			<a href="http://reddit.com/submit?url=http://www.studionashvegas.com/old-posts/creating-a-wordpress-theme-from-a-psd-file-part-3-the-wordpress-structure/&amp;title=Creating+a+WordPress+Theme+from+a+.PSD+file+%26ndash%3B+Part+3+%28The+WordPress+Structure%29" rel="nofollow" title="Share this on Reddit">Share this on Reddit</a>
		</li>
		<li class="shr-stumbleupon">
			<a href="http://www.stumbleupon.com/submit?url=http://www.studionashvegas.com/old-posts/creating-a-wordpress-theme-from-a-psd-file-part-3-the-wordpress-structure/&amp;title=Creating+a+WordPress+Theme+from+a+.PSD+file+%26ndash%3B+Part+3+%28The+WordPress+Structure%29" rel="nofollow" title="Stumble upon something good? Share it on StumbleUpon">Stumble upon something good? Share it on StumbleUpon</a>
		</li>
		<li class="shr-technorati">
			<a href="http://technorati.com/faves?add=http://www.studionashvegas.com/old-posts/creating-a-wordpress-theme-from-a-psd-file-part-3-the-wordpress-structure/" rel="nofollow" title="Share this on Technorati">Share this on Technorati</a>
		</li>
		<li class="shr-tumblr">
			<a href="http://www.tumblr.com/share?v=3&amp;u=http%3A%2F%2Fwww.studionashvegas.com%2Fold-posts%2Fcreating-a-wordpress-theme-from-a-psd-file-part-3-the-wordpress-structure%2F&amp;t=Creating+a+WordPress+Theme+from+a+.PSD+file+%26ndash%3B+Part+3+%28The+WordPress+Structure%29" rel="nofollow" title="Share this on Tumblr">Share this on Tumblr</a>
		</li>
		<li class="shr-twitter">
			<a href="http://twitter.com/home?status=Creating+a+WordPress+Theme+from+a+.PSD+file+%26ndash%3B+Part+3+%28The+WordPress+Struct%5B..%5D+-+http://b2l.me/482cw&amp;source=shareaholic" rel="nofollow" title="Tweet This!">Tweet This!</a>
		</li>
</ul>
<div style="clear:both;"></div>
</div>

<div class="facebook_like_button"><iframe src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fwww.studionashvegas.com%2Fold-posts%2Fcreating-a-wordpress-theme-from-a-psd-file-part-3-the-wordpress-structure%2F&amp;layout=standard&amp;show-faces=true&amp;width=600&amp;action=recommend&amp;font=verdana&amp;colorscheme=dark" scrolling="no" frameborder="0" allowTransparency="true" style="padding: 0px 0px; border:none; overflow:hidden; width:600px; height:70px;"></iframe></div>]]></content:encoded>
			<wfw:commentRss>http://www.studionashvegas.com/old-posts/creating-a-wordpress-theme-from-a-psd-file-part-3-the-wordpress-structure/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>The Twitter Fail Whale Photoshop Contest!</title>
		<link>http://www.studionashvegas.com/old-posts/the-twitter-fail-whale-photoshop-contest/</link>
		<comments>http://www.studionashvegas.com/old-posts/the-twitter-fail-whale-photoshop-contest/#comments</comments>
		<pubDate>Fri, 25 Jul 2008 03:54:23 +0000</pubDate>
		<dc:creator>studionashvegas</dc:creator>
				<category><![CDATA[Old Posts]]></category>
		<category><![CDATA[Contest]]></category>
		<category><![CDATA[Fail Whale]]></category>
		<category><![CDATA[Over Capacity]]></category>
		<category><![CDATA[Photoshop]]></category>
		<category><![CDATA[Twitter]]></category>

		<guid isPermaLink="false">http://www.studionashvegas.com/?p=96</guid>
		<description><![CDATA[First of all, thanks to Daniel Johnson, Jr for providing a link to the &#8220;Fail Whale&#8221; origin story.  Read the article, and go support the REAL artist behind the Fail Whale! That being said, when it comes to the original screenshot&#8230; I think it could be spiced up a bit: And I got to thinking: [...]]]></description>
			<content:encoded><![CDATA[<p>First of all, thanks to <a href="http://www.danieljohnsonjr.com" target="_blank">Daniel Johnson, Jr</a> for providing a link to the <a href="http://www.readwriteweb.com/archives/the_story_of_the_fail_whale.php" target="_blank">&#8220;Fail Whale&#8221; origin story</a>.  Read the article, and go support the REAL artist behind the Fail Whale! That being said, when it comes to the original screenshot&#8230;</p>
<p>I think it could be spiced up a bit:</p>
<p><a href="http://www.studionashvegas.com/wp-content/uploads/2008/07/twitterfailure.png"><img class="alignnone size-medium wp-image-97" title="Twitter Fail Whale" src="http://www.studionashvegas.com/wp-content/uploads/2008/07/twitterfailure.png" alt="Twitter Fail Whale" width="501" height="416" /></a></p>
<p>And I got to thinking: How funny would it be to have a captioning / photoshop contest to kinda poke fun at Twitter for all its misgivings.</p>
<p>So, here&#8217;s the deal.  I&#8217;m going to post a high-res version of the twitter maintenance screen below.  The top text is Helvetica Bold, and the bottom text is Helvetica (Arial will also work).  You can edit the words, the captions, the picture itself &#8211; anything you want.  The winner will receive their design on an American Apparel shirt free of charge from me, <span style="text-decoration: line-through;">and I will sell their t-shirt in my store.</span> (I&#8217;m not going to rip off the original artist by selling her design, so I&#8217;m going to respect that wish by not offering it in my store.  If you like the Fail Whale, go support her!).<span style="text-decoration: line-through;"><br />
</span></p>
<p>(By the way, If anyone out there wants to donate some other prizes to the contest, by all means send me an email or use the contact form.)</p>
<p>Post your entries as a link in the comments.  The contest will be open for two weeks (if i&#8217;m in the hospital with the baby when it&#8217;s done, then I&#8217;ll extend the deadline), then we&#8217;ll have voting for the same amount of time.  You can only enter twice, and your entries will be subject to verification.</p>
<p>Here&#8217;s the file.  Good luck!</p>
<p><a href="http://www.studionashvegas.com/wp-content/uploads/2008/07/failwhale1.jpg"><img class="alignnone size-medium wp-image-99" title="Fail Whale High-Res" src="http://www.studionashvegas.com/wp-content/uploads/2008/07/failwhale1.jpg" alt="Fail Whale High-Res" width="500" height="416" /></a></p>
<p>EDIT: here&#8217;s a link to the file &#8211; people said my lightbox was interfering with them downloading it:</p>
<p><a href="http://www.studionashvegas.com/wp-content/uploads/2008/07/failwhale1.jpg">http://www.studionashvegas.com/wp-content/uploads/2008/07/failwhale1.jpg</a></p>
<p>And I know disqus doesn&#8217;t allow images &#8211; so if you can&#8217;t host it on flickr or photobucket, just email it to me and I&#8217;ll put it in the thread.</p>


<div class="shr-bookmarks shr-bookmarks-expand shr-bookmarks-bg-shr">
<ul class="socials">
		<li class="shr-comfeed">
			<a href="http://www.studionashvegas.com/old-posts/the-twitter-fail-whale-photoshop-contest/feed" rel="nofollow" title="Subscribe to the comments for this post?">Subscribe to the comments for this post?</a>
		</li>
		<li class="shr-delicious">
			<a href="http://delicious.com/post?url=http://www.studionashvegas.com/old-posts/the-twitter-fail-whale-photoshop-contest/&amp;title=The+Twitter+Fail+Whale+Photoshop+Contest%21" rel="nofollow" title="Share this on del.icio.us">Share this on del.icio.us</a>
		</li>
		<li class="shr-digg">
			<a href="http://digg.com/submit?phase=2&amp;url=http://www.studionashvegas.com/old-posts/the-twitter-fail-whale-photoshop-contest/&amp;title=The+Twitter+Fail+Whale+Photoshop+Contest%21" rel="nofollow" title="Digg this!">Digg this!</a>
		</li>
		<li class="shr-facebook">
			<a href="http://www.facebook.com/share.php?v=4&amp;src=bm&amp;u=http://www.studionashvegas.com/old-posts/the-twitter-fail-whale-photoshop-contest/&amp;t=The+Twitter+Fail+Whale+Photoshop+Contest%21" rel="nofollow" title="Share this on Facebook">Share this on Facebook</a>
		</li>
		<li class="shr-friendfeed">
			<a href="http://www.friendfeed.com/share?title=The+Twitter+Fail+Whale+Photoshop+Contest%21&amp;link=http://www.studionashvegas.com/old-posts/the-twitter-fail-whale-photoshop-contest/" rel="nofollow" title="Share this on FriendFeed">Share this on FriendFeed</a>
		</li>
		<li class="shr-googlebuzz">
			<a href="http://www.google.com/buzz/post?url=http://www.studionashvegas.com/old-posts/the-twitter-fail-whale-photoshop-contest/&amp;imageurl=" rel="nofollow" title="Post on Google Buzz">Post on Google Buzz</a>
		</li>
		<li class="shr-reddit">
			<a href="http://reddit.com/submit?url=http://www.studionashvegas.com/old-posts/the-twitter-fail-whale-photoshop-contest/&amp;title=The+Twitter+Fail+Whale+Photoshop+Contest%21" rel="nofollow" title="Share this on Reddit">Share this on Reddit</a>
		</li>
		<li class="shr-stumbleupon">
			<a href="http://www.stumbleupon.com/submit?url=http://www.studionashvegas.com/old-posts/the-twitter-fail-whale-photoshop-contest/&amp;title=The+Twitter+Fail+Whale+Photoshop+Contest%21" rel="nofollow" title="Stumble upon something good? Share it on StumbleUpon">Stumble upon something good? Share it on StumbleUpon</a>
		</li>
		<li class="shr-technorati">
			<a href="http://technorati.com/faves?add=http://www.studionashvegas.com/old-posts/the-twitter-fail-whale-photoshop-contest/" rel="nofollow" title="Share this on Technorati">Share this on Technorati</a>
		</li>
		<li class="shr-tumblr">
			<a href="http://www.tumblr.com/share?v=3&amp;u=http%3A%2F%2Fwww.studionashvegas.com%2Fold-posts%2Fthe-twitter-fail-whale-photoshop-contest%2F&amp;t=The+Twitter+Fail+Whale+Photoshop+Contest%21" rel="nofollow" title="Share this on Tumblr">Share this on Tumblr</a>
		</li>
		<li class="shr-twitter">
			<a href="http://twitter.com/home?status=The+Twitter+Fail+Whale+Photoshop+Contest%21+-+http://b2l.me/5jn2h&amp;source=shareaholic" rel="nofollow" title="Tweet This!">Tweet This!</a>
		</li>
</ul>
<div style="clear:both;"></div>
</div>

<div class="facebook_like_button"><iframe src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fwww.studionashvegas.com%2Fold-posts%2Fthe-twitter-fail-whale-photoshop-contest%2F&amp;layout=standard&amp;show-faces=true&amp;width=600&amp;action=recommend&amp;font=verdana&amp;colorscheme=dark" scrolling="no" frameborder="0" allowTransparency="true" style="padding: 0px 0px; border:none; overflow:hidden; width:600px; height:70px;"></iframe></div>]]></content:encoded>
			<wfw:commentRss>http://www.studionashvegas.com/old-posts/the-twitter-fail-whale-photoshop-contest/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
	</channel>
</rss>
