<?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; Theme</title>
	<atom:link href="http://www.studionashvegas.com/tag/theme/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 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>
		<item>
		<title>iPhone Theme for WordPress</title>
		<link>http://www.studionashvegas.com/apple/iphone-theme-for-wordpress/</link>
		<comments>http://www.studionashvegas.com/apple/iphone-theme-for-wordpress/#comments</comments>
		<pubDate>Sat, 12 Jul 2008 14:53:09 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Apple]]></category>
		<category><![CDATA[iPhone]]></category>
		<category><![CDATA[iWphone]]></category>
		<category><![CDATA[Theme]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://www.studionashvegas.com/?p=37</guid>
		<description><![CDATA[<p>Posted in <a href="http://www.studionashvegas.com/category/apple/" title="Apple">Apple</a></p>Now that everyone and their mother has gone out and bought a shiny new iPhone (yesterday was the 3G iPhone's release date, after all), it's time you made your WordPress theme a bit more iPhone friendly.]]></description>
			<content:encoded><![CDATA[<p>Posted in <a href="http://www.studionashvegas.com/category/apple/" title="Apple">Apple</a></p><p>Now that everyone and their mother has gone out and bought a shiny new iPhone (yesterday <strong>was</strong> the 3G iPhone&#8217;s release date, after all), it&#8217;s time you made your WordPress theme a bit more iPhone friendly.</p>
<p>Enter the <a href="http://iwphone.contentrobot.com/" target="_blank">iWphone WordPress theme from Content Robot</a>. It places a special theme in your themes folder that is accessed whenever you look at your site on an iPhone.</p>
<p>Sure, not an earth-shattering revelation, but if it&#8217;s another way people can get to your site easily, then why not use it?</p>
]]></content:encoded>
			<wfw:commentRss>http://www.studionashvegas.com/apple/iphone-theme-for-wordpress/feed/</wfw:commentRss>
		<slash:comments>0</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.009 seconds using disk: basic
Object Caching 490/520 objects using disk: basic
Content Delivery Network via cdn.studionashvegas.com

Served from: www.studionashvegas.com @ 2012-02-04 04:59:06 -->
