<?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; PSD</title>
	<atom:link href="http://www.studionashvegas.com/tag/psd/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.studionashvegas.com</link>
	<description>Nashville, TN&#039;s Best WordPress Designer/Developer</description>
	<lastBuildDate>Fri, 03 Feb 2012 22:00:09 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Creating a WordPress Theme from a .PSD file – 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>admin</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[<p>Posted in <a href="http://www.studionashvegas.com/category/old-posts/" title="Old Posts">Old Posts</a></p>This post is part of the &#8220;Creating a WordPress Theme from a .PSD&#8221; series for designers to use for theme development.]]></description>
			<content:encoded><![CDATA[<p>Posted in <a href="http://www.studionashvegas.com/category/old-posts/" title="Old Posts">Old Posts</a></p><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://cdn.studionashvegas.com/wp-content/uploads/2008/12/1.jpg" rel="shadowbox[sbpost-359];player=img;" target="_blank"><img style="display: inline;" title="1" src="http://cdn.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://cdn.studionashvegas.com/wp-content/uploads/2008/12/3.jpg" alt="3" width="500" height="210" /></a></p>
<p><a href="$2[4].jpg" rel="shadowbox[sbpost-359];player=img;"><img style="display: inline" title="2" src="http://cdn.studionashvegas.com/wp-content/uploads/2008/12/2.jpg" alt="2" width="500" height="119" /></a></p>
]]></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>30</slash:comments>
		</item>
		<item>
		<title>Creating a WordPress Theme from a .PSD file – 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>admin</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[<p>Posted in <a href="http://www.studionashvegas.com/category/old-posts/" title="Old Posts">Old Posts</a></p>Starting with the design concept, we took our WordPress theme from a .psd file to an .html file. Then we started laying the]]></description>
			<content:encoded><![CDATA[<p>Posted in <a href="http://www.studionashvegas.com/category/old-posts/" title="Old Posts">Old Posts</a></p><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://cdn.studionashvegas.com/wp-content/uploads/2008/11/12.jpg" rel="shadowbox[sbpost-295];player=img;"><img title="1" style="display: inline" height="500" alt="1" src="http://cdn.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>
]]></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>
	</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Page Caching using disk: basic
Database Caching 4/21 queries in 0.013 seconds using disk: basic
Object Caching 492/522 objects using disk: basic
Content Delivery Network via cdn.studionashvegas.com

Served from: www.studionashvegas.com @ 2012-02-04 04:37:15 -->
