<?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"
	>

<channel>
	<title>Developer Tutorials' Webmaster Blog &#187; WordPress</title>
	<atom:link href="http://www.developertutorials.com/blog/category/wordpress-blog/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.developertutorials.com/blog</link>
	<description>Keeping webmasters up-to-date on technology.</description>
	<pubDate>Tue, 02 Sep 2008 14:59:45 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6.2</generator>
	<language>en</language>
			<item>
		<title>Turn Your Wordpress Blog into a Social Network</title>
		<link>http://www.developertutorials.com/blog/design/turn-your-wordpress-blog-into-a-social-network-347/</link>
		<comments>http://www.developertutorials.com/blog/design/turn-your-wordpress-blog-into-a-social-network-347/#comments</comments>
		<pubDate>Mon, 14 Jul 2008 16:54:45 +0000</pubDate>
		<dc:creator>JonGos</dc:creator>
		
		<category><![CDATA[Design]]></category>

		<category><![CDATA[WordPress]]></category>

		<category><![CDATA[network]]></category>

		<category><![CDATA[PHP]]></category>

		<category><![CDATA[social]]></category>

		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://www.developertutorials.com/blog/design/turn-your-wordpress-blog-into-a-social-network-347/</guid>
		<description><![CDATA[
Wordpress is a CMS that was built for blogging but many people have repurposed it for magazines, newspapers, blog networks and all sorts of other goodies!  But did you know you can hack your Wordpress blog to be a no-cost solution for a social network?  Well you can, and here&#8217;s fifteen plug-ins that [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.command-tab.com/" target="_blank"><img src="http://www.command-tab.com/images/wordpress/halo_wordpress.jpg"></a></p>
<p>Wordpress is a CMS that was built for blogging but many people have repurposed it for magazines, newspapers, blog networks and all sorts of other goodies!  But did you know you can hack your Wordpress blog to be a no-cost solution for a social network?  Well you can, and here&#8217;s fifteen plug-ins that will let you do it.</p>
<p><span id="more-347"></span></p>
<p>1. <a href="http://wordpress.org/extend/plugins/wp-gravatar/"  target="_blank">WP-Gravatar</a><br />
Install WP-Gravatar for adding &#8216;faces&#8217; to your members and your writers.  This plugin lets you use Gravatar, MyBlogLog, OpenAvatar, Wavatar, Identicon, monsterID or Favico.ico files with your comments.  Gives you a Widget with your profile info and your gravatar. Let&#8217;s you set your own CSS style to use with the Comments section and the author about box.</p>
<p>2. <a href="http://wordpress.org/extend/plugins/ajaxd-wordpress/"  target="_blank">Ajaxed Wordpress</a><br />
A highly customizable plugin to add AJAX to your blog. AWP uses AJAX to load posts inline, paginate posts, load and submit comments, and more.  For that Web 2.0 look and feel.</p>
<p>3. <a href="http://wordpress.org/extend/plugins/members-only/" target="_blank">Members Only</a><br />
A WordPress plugin that allows you to make your WordPress blog only viewable to visitors that are logged in.  This is good for protecting your user&#8217;s data and your blog content.</p>
<p>4. <a href="http://wordpress.org/extend/plugins/profiles/" target="_blank">Profiles</a><br />
Profiles allows the easy display and management of personal profiles / biographies, or any other similarly periodic information. In particular, it adds a &#8220;profiles&#8221; tab to the management section and allows you to easily edit information about the profiles as well as associate an image (with optional watermark) with each profile.</p>
<p>5. <a href="http://wordpress.org/extend/plugins/wp-super-cache/" target="_blank">WP Super Cache</a><br />
A very fast caching engine for WordPress that produces static html files.  When your network does start to receive high levels of traffic, you&#8217;ll need this to prevent your site from going down.</p>
<p>6. <a href="http://wordpress.org/extend/plugins/post-plugin-library/" target="_blank">Post-Plugin Library</a><br />
Makes calling Similar posts, Recent Posts, Random Posts and Recent Comments easier.  </p>
<p>7. <a href="http://wordpress.org/extend/plugins/exec-php/" target="_blank">Exec PHP</a><br />
This plug-in is a godsend!  It allows you to add PHP markup to wordpress pages and posts.  This will give you even greater control over how wordpress looks and acts, allowing you customize with no restriction.</p>
<p>8. <a href="http://wordpress.org/extend/plugins/quick-sms/" target="_blank">Quick SMS</a><br />
This will allow visitors to send SMS messages to blog owners.  It would be ideal for a WordpressMU network as it would allow everyone to stay in constant contact with each other.  Could also be hacked to create a &#8220;twitter&#8221;-like service for all members.</p>
<p>9. <a href="http://wordpress.org/extend/plugins/umapper/" target="_blank">UMapper</a><br />
UMapper plugin is universal mapping platform, which makes it a snap to create engaging maps and add them to your blog posts. Microsoft Virtual Earth, Google Maps, OpenStreet - all are supported by this truly universal (hence the name UMapper - Universal Mapper) plugin.</p>
<p>10. <a href="http://wordpress.org/extend/plugins/invite-friends/" target="_blank">Invite Friends</a><br />
This plugins main goal was to provide the ability to any of your registered users, to invite more people to the community.</p>
<p>11. <a href="http://wordpress.org/extend/plugins/nextgen-gallery/" target="_blank">NextGen Gallery</a><br />
Very customizable Gallery option for Wordpress.  Turn your blog into a mini &#8216;Flickr&#8217;!</p>
<p>12. <a href="http://wordpress.org/extend/plugins/wp-popup-scheduler/">Popup Scheduler</a><br />
If used correctly, a popup is always the best way to achieve great results (be it in sales or subscription rate). It is also the best tool to grab your readers attention. This plugin allow you to customize and schedule a popup to show according to various situation. 1) You can schedule a popup to show a welcome message whenever a new visitor arrives at your site 2) You can schedule a popup to show on the readers returned visit to thank them for reading your blog and invite them to subscribe to your feed/email update. 3) If there is any major changes to your website, you can show a popup to inform your readers of the changes 4) If you are selling products on your blog, you can schedule a popup whenever you have a new product launch 5) During a campaign (such as charity donation drive, blogathon etc), you can schedule a popup to show for a number of days to increase the awareness of the campaign. and many more&#8230;</p>
<p>13. <a href="http://wordpress.org/extend/plugins/sabre/" target="_blank">SABRE</a><br />
Sabre is an acronym for Simple Anti Bot Registration Engine. It&#8217;s a set of counter measures against spam registration on your blog.</p>
<p>14. <a href="http://wordpress.org/extend/plugins/wordpress-dashboard-editor/" target="_blank">Dashboard Editor</a><br />
This plugin allows you to add whatever you want to the Wordpress dashboard through PHP and HTML even Sidebar Widgets. You can also wipe the entire dashboard or individually remove some of the more irritating sections like the Dev news, Planet Wordpress and the getting started section.  This allows for the creation of custom designs for the back end to hide the fact that you&#8217;re even using Wordpress!</p>
<p>15. <a href="http://wordpress.org/extend/plugins/sezwho/" target="_blank">SezWho</a><br />
SezWho is a distributed context, rating and reputation system for social media sites like blogs, forums, wikis, video/picture sharing sites, discussion boards and anywhere else where people collaborate on the web.</p>
<!-- Social Bookmarks BEGIN -->
<div class="social_bookmark" style="float:left;">
<div class="d347" style="overflow:hidden">
<div id="socialstyles"><a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://del.icio.us/post?url=http://www.developertutorials.com/blog/design/turn-your-wordpress-blog-into-a-social-network-347/&amp;title=Turn+Your+Wordpress+Blog+into+a+Social+Network" title="Add to&nbsp;Del.icio.us">Del.icio.us</a></div><div id="socialstyles"><a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://digg.com/submit?phase=2&amp;url=http://www.developertutorials.com/blog/design/turn-your-wordpress-blog-into-a-social-network-347/&amp;title=Turn+Your+Wordpress+Blog+into+a+Social+Network" title="Add to&nbsp;Digg This">Digg This</a></div><div id="socialstyles"><a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.stumbleupon.com/submit.php?url=http://www.developertutorials.com/blog/design/turn-your-wordpress-blog-into-a-social-network-347/&amp;title=Turn+Your+Wordpress+Blog+into+a+Social+Network" title="Add to&nbsp;Stumble">Stumble</a></div></div>
</div>
<!-- Social Bookmarks END -->
]]></content:encoded>
			<wfw:commentRss>http://www.developertutorials.com/blog/design/turn-your-wordpress-blog-into-a-social-network-347/feed/</wfw:commentRss>
		</item>
		<item>
		<title>WYSISYG Wordpress Theme Generators</title>
		<link>http://www.developertutorials.com/blog/wordpress-blog/wysisyg-wordpress-theme-generators-283/</link>
		<comments>http://www.developertutorials.com/blog/wordpress-blog/wysisyg-wordpress-theme-generators-283/#comments</comments>
		<pubDate>Tue, 01 Jul 2008 00:29:34 +0000</pubDate>
		<dc:creator>JonGos</dc:creator>
		
		<category><![CDATA[WordPress]]></category>

		<category><![CDATA[generator]]></category>

		<category><![CDATA[theme]]></category>

		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://www.developertutorials.com/blog/wordpress-blog/wysisyg-wordpress-theme-generators-283/</guid>
		<description><![CDATA[I&#8217;ll go out on a limb and say Wordpress is one of the finest software applications to come out this millennium.  Its put the power of the press and the ability to reach thousands (or millions) of people in the hands of the people live never before.   People from every walks of [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ll go out on a limb and say Wordpress is one of the finest software applications to come out this millennium.  Its put the power of the press and the ability to reach thousands (or millions) of people in the hands of the people live never before.   People from every walks of life can create powerful websites without needing to know a shred of code and it&#8217;s all open source.  That said, for people who want to dig deeper and learn a little bit more about how to create their own themes, the process can be incredibly daunting.  In took me ten posts just to cover the subject a few months back <a href="http://www.developertutorials.com/blog/design/designing-and-coding-a-wordpress-theme-from-scratch-part-1-143/">on this post</a>.  What Wordpress truly needs is a WYSIWYG editor to really empower people to get creative with their blogs!</p>
<p><span id="more-283"></span></p>
<p>It just so happens that are a few projects in this space already&#8230;.</p>
<p><a href='http://www.developertutorials.com/blog/wp-content/uploads/2008/06/picture-12.png'><img src="http://www.developertutorials.com/blog/wp-content/uploads/2008/06/picture-12-300x205.png" alt="" width="300" height="205" class="alignnone size-medium wp-image-286" /></a></p>
<p><a href="http://www.themedreamer.com/demos">ThemeDreamer</a> is plug-in extension for DreamWeaver that allows users to open Wordpress themes in the DreamWeaver environment and edit them as if they were normal XHTML.  It&#8217;s a truly powerful extension and only serves to make me question more why Adobe insists on ignoring this market.  Something like this should be built right in!</p>
<p><a href='http://www.developertutorials.com/blog/wp-content/uploads/2008/06/picture-41.png'><img src="http://www.developertutorials.com/blog/wp-content/uploads/2008/06/picture-41-300x133.png" alt="" width="300" height="133" class="alignnone size-medium wp-image-285" /></a></p>
<p><a href="http://www.yvoschaap.com/wpthemegen/">Yvoschaap&#8217;s WpThemeGen</a> is probably the most popular app in this space.  It allows users to create Wordpress themes online and then download them for use immediately!  If Adobe were particularly smart they&#8217;d be looking into this space too, web based graphic design apps are about to explode.  Just ask <a href="http://a.viary.com/blog/phoenix">A.viary</a></p>
<p><a href='http://www.developertutorials.com/blog/wp-content/uploads/2008/06/picture-23.png'><img src="http://www.developertutorials.com/blog/wp-content/uploads/2008/06/picture-23-300x125.png" alt="" width="300" height="125" class="alignnone size-medium wp-image-284" /></a></p>
<p><a href='http://www.developertutorials.com/blog/wp-content/uploads/2008/06/picture-62.png'><img src="http://www.developertutorials.com/blog/wp-content/uploads/2008/06/picture-62-300x133.png" alt="" width="300" height="133" class="alignnone size-medium wp-image-289" /></a></p>
<p><a href="http://www.wppal.com/">WPpal.com</a> is the competitor to Yvoschaap&#8217;s web app.  It&#8217;s somewhat versatile allowing you to upload and suggest themes for inclusion in the editor but is by no means a solution for a power user.</p>
<p>While all these solutions are great for amateurs, advanced users still dream of the day where there will  be a DreamWeaver-like application for Wordpress and other CMS&#8217;.</p>
<!-- Social Bookmarks BEGIN -->
<div class="social_bookmark" style="float:left;">
<div class="d283" style="overflow:hidden">
<div id="socialstyles"><a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://del.icio.us/post?url=http://www.developertutorials.com/blog/wordpress-blog/wysisyg-wordpress-theme-generators-283/&amp;title=WYSISYG+Wordpress+Theme+Generators" title="Add to&nbsp;Del.icio.us">Del.icio.us</a></div><div id="socialstyles"><a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://digg.com/submit?phase=2&amp;url=http://www.developertutorials.com/blog/wordpress-blog/wysisyg-wordpress-theme-generators-283/&amp;title=WYSISYG+Wordpress+Theme+Generators" title="Add to&nbsp;Digg This">Digg This</a></div><div id="socialstyles"><a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.stumbleupon.com/submit.php?url=http://www.developertutorials.com/blog/wordpress-blog/wysisyg-wordpress-theme-generators-283/&amp;title=WYSISYG+Wordpress+Theme+Generators" title="Add to&nbsp;Stumble">Stumble</a></div></div>
</div>
<!-- Social Bookmarks END -->
]]></content:encoded>
			<wfw:commentRss>http://www.developertutorials.com/blog/wordpress-blog/wysisyg-wordpress-theme-generators-283/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Wordpress Comment Styling Round Up</title>
		<link>http://www.developertutorials.com/blog/php/wordpress-comment-styling-round-up-211/</link>
		<comments>http://www.developertutorials.com/blog/php/wordpress-comment-styling-round-up-211/#comments</comments>
		<pubDate>Fri, 30 May 2008 22:35:05 +0000</pubDate>
		<dc:creator>JonGos</dc:creator>
		
		<category><![CDATA[PHP]]></category>

		<category><![CDATA[WordPress]]></category>

		<category><![CDATA[comments]]></category>

		<guid isPermaLink="false">http://www.developertutorials.com/blog/php/wordpress-comment-styling-round-up-211/</guid>
		<description><![CDATA[One question I hear people asking a lot is how to style the comment section in Wordpress. I didn&#8217;t have time to go in depth in my tutorial Designing and Coding a Wordpress Theme from Scratch but here are a few links from my del.icio.us to some blogs that break it down in far more [...]]]></description>
			<content:encoded><![CDATA[<p>One question I hear people asking a lot is how to style the comment section in Wordpress. I didn&#8217;t have time to go in depth in my tutorial <a href="http://www.developertutorials.com/blog/design/designing-and-coding-a-wordpress-theme-from-scratch-part-4-147/">Designing and Coding a Wordpress Theme from Scratch</a> but here are a few links from my <a href="http://del.icio.us/jongos/">del.icio.us</a> to some blogs that break it down in far more detail.</p>
<p><img src="http://farm3.static.flickr.com/2371/2537508016_31b69cb281.jpg"><br />
<span id="more-211"></span></p>
<p><b><a href="http://nettuts.com/news/unraveling-the-secrets-of-wordpress-commentsphp-file/">NETTUTS: &#8220;Unraveling the Secrets Of the comments.php File&#8221;</a></b></p>
<p>One of the best tutorials I&#8217;ve ever seen related to customizing comments for Wordpress.  Great for beginners because the explain EVERYTHING. </p>
<p><b><a href="http://www.darrenhoyt.com/2007/08/18/styling-your-wordpress-comments/">DARREN HOYT: &#8220;Styling Your Wordpress Comments&#8221;</a></b></p>
<p>Darren&#8217;s breakdown is a little bit less obtuse but gets the job done.</p>
<p><b><a href="http://5thirtyone.com/archives/774">5THIRTY-ONE: &#8220;How To Style Wordpress Author Comments&#8221;</a></b></p>
<p>One of my favorite Wordpress designers makes his case.</p>
<p><b><a href="http://www.themelab.com/2008/05/09/add-gravatar-support-to-your-wordpress-comments/">THEMELAB: &#8220;Add Gravatar Support to Your Wordpress Comments&#8221;</a></b></p>
<p>Very basic guide on how to add images for your users.</p>
<p><b><a href="http://www.tamba2.org.uk/wordpress/commentstyling/">TAMBA2: &#8220;Comment Styling&#8221;</a></b></p>
<p>Tamba2&#8217;s is a little old but still useful.</p>
<p><b><a href="http://codex.wordpress.org/User:Matt/photomatt.net/wp-comments.php">PHOTOMATT: &#8220;Display Comment Numbers&#8221;</a></b></p>
<p>This snippet of code from Photomatt is useful if you want to learn how to add numbers to your comments.</p>
<p><b><a href="http://www.coldforged.org/archives/2005/04/19/coldforgeds-wordpress-comment-template-deconstructed-part-1/">COLORFORGE: &#8220;Comment Template Deconstructed&#8221;</a></b></p>
<p>Wow, this guys comment template is incredibly beautiful and complex!  Very much worth checking out.</p>
<!-- Social Bookmarks BEGIN -->
<div class="social_bookmark" style="float:left;">
<div class="d211" style="overflow:hidden">
<div id="socialstyles"><a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://del.icio.us/post?url=http://www.developertutorials.com/blog/php/wordpress-comment-styling-round-up-211/&amp;title=Wordpress+Comment+Styling+Round+Up" title="Add to&nbsp;Del.icio.us">Del.icio.us</a></div><div id="socialstyles"><a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://digg.com/submit?phase=2&amp;url=http://www.developertutorials.com/blog/php/wordpress-comment-styling-round-up-211/&amp;title=Wordpress+Comment+Styling+Round+Up" title="Add to&nbsp;Digg This">Digg This</a></div><div id="socialstyles"><a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.stumbleupon.com/submit.php?url=http://www.developertutorials.com/blog/php/wordpress-comment-styling-round-up-211/&amp;title=Wordpress+Comment+Styling+Round+Up" title="Add to&nbsp;Stumble">Stumble</a></div></div>
</div>
<!-- Social Bookmarks END -->
]]></content:encoded>
			<wfw:commentRss>http://www.developertutorials.com/blog/php/wordpress-comment-styling-round-up-211/feed/</wfw:commentRss>
		</item>
		<item>
		<title>The Fundamentals of Strong Logo Design</title>
		<link>http://www.developertutorials.com/blog/javascript/the-fundamentals-of-strong-logo-design-200/</link>
		<comments>http://www.developertutorials.com/blog/javascript/the-fundamentals-of-strong-logo-design-200/#comments</comments>
		<pubDate>Thu, 29 May 2008 07:37:34 +0000</pubDate>
		<dc:creator>JonGos</dc:creator>
		
		<category><![CDATA[Design]]></category>

		<category><![CDATA[General]]></category>

		<category><![CDATA[JavaScript]]></category>

		<category><![CDATA[Photoshop]]></category>

		<category><![CDATA[WordPress]]></category>

		<category><![CDATA[logo]]></category>

		<guid isPermaLink="false">http://www.developertutorials.com/blog/javascript/the-fundamentals-of-strong-logo-design-200/</guid>
		<description><![CDATA[I recently developed a new logo for a social networking community.  The site needed a logo so I began work right away.  Here are a few tips that came to me after completing the task.



Brainstorm / Don&#8217;t Overthink
One problem many designers have is that they overthink things trying to deliberately stand out from [...]]]></description>
			<content:encoded><![CDATA[<p>I recently developed a new logo for a social networking community.  The site needed a logo so I began work right away.  Here are a few tips that came to me after completing the task.</p>
<p><span id="more-200"></span></p>
<p><a href="http://weworkforfree.net"><img src="http://farm3.static.flickr.com/2418/2526781151_9f8269b9ec.jpg"></a></p>
<ol>
<li><strong>Brainstorm / Don&#8217;t Overthink</strong><br />
One problem many designers have is that they overthink things trying to deliberately stand out from the crowd.  That&#8217;s good and if you&#8217;ve got the time to think about what your going to do longer than you actually design anything, then go for it.  Most of us don&#8217;t have the time for that, we&#8217;ve got deadlines. </p>
<p>Instead I when I&#8217;m designing logos I usually spend no more than 15 minutes trying to pinpoint the fundamentals of a client&#8217;s service.  This company was called WeWorkForFree, a group that uses web technology to raise money for developmental programs around the globe.</p>
<p>My brain storm went something like this:  web, world, technology, globe, aid.  </p>
<p>That&#8217;s it.  In fact, one might go so far as to say your brainstorm session should be a bit like picking keywords for SEO.  Be brief and as acurate as possible, then use those words as the basis for your design.</li>
<li><strong>MockUp With Varying Colors and Fonts</strong><br />
Whenever I&#8217;m designing for a client I bounce roughs off my girlfriend to get her opinions.  She&#8217;s not a designer and is very much left brained. When I show her stuff I deliberately change the colors, inverting and reversing as I see fit.  Sometimes simply changing one color can change a logo design from &#8220;good&#8221; to &#8220;bad&#8221;, to her, and vice-versa.  This forces me to try new things and it helps me focus on just how much color can bring to, or take away from a design. </p>
<p>Do the same thing with your fonts, once you&#8217;ve come up with a design try the same thing with a handful of different fonts.   It can make a world of difference.</li>
<li><strong>Focus on Filtering</strong><br />
Much like the brainstorming process, I tend to eliminate the amount of time I&#8217;m just spinning my wheels working on stuff for no reason.   This means I also limit my variations to between 5 or 7 major ideas.  After I finish those I take the strongest ones and start working on variations.  I can usually weed out the weakest ideas immediately allowing me to focus on variations of the stronger ones.  This inner filter keeps me quick and efficient with my own time.</li>
<li><strong>Build a Narrative</strong><br />
Assuming your designer knows nothing about design, sometimes it helps to frame your mindset for them before and after you are presenting a mockup sheet.  Be brief!  Give a one or two sentence pitch as to what lead you to your result.  For me (the design you&#8217;ll see below) it was something like, &#8220;I wanted to emphasize the global nature of the group as it relates to both the internet and your international work.&#8221;  Bam.  They can&#8217;t say you didn&#8217;t give it any thought.  Now show your image and pay very close attention.  The initial reaction of your client is the most important one they&#8217;ll ever give you.  Do they blink?  Do they say &#8220;Hrmph?&#8221; Do they make a huge grin?  Try to &#8216;read them&#8217; and you&#8217;ll be able to prepare yourself for praise or rejection.  </p>
<p>If they don&#8217;t like it, don&#8217;t try to convince them.  Be friendly, agree and just get back to work.  Arguing with them will only equal a headache&#8230;especially when it comes time to invoice them.  If they <strong>do</strong> like your work, then it&#8217;s okay expand upon your thought process, reaffirming their interest and delight.
</li>
<li><strong>Think Big</strong><br />
The biggest thing you need to make sure of is that your logo will scale both in size and in terms of a widespread campaign.  Will your logo translate to black and white?  Could it be replicated as a stamp?  Could it be presented with any variation of colors?  In my world, all the best logos or brand identities maximize minimalism.  They work no matter where they&#8217;re needed.  For my logo I created one that was easily translatable to black and white, then I did different variations of the same logo web2.0 style, adding a bit of depth and lots of color.</p>
<p>Pretend that every client you take on is one day going have a brand as ubiquitous as Starbucks or McDonald&#8217;s.  Would your logo still work?  Good because if it wouldn&#8217;t you&#8217;ll ned to wash, rinse and repeat.
</li>
</ol>
<p>The image below is the final comp-sheet I put together, take a look and let me know what you think.</p>
<p><a href="http://www.flickr.com/photos/ww4f/2521863869/"><img src="http://farm3.static.flickr.com/2295/2521863869_b1165b361a.jpg"></a></p>
<!-- Social Bookmarks BEGIN -->
<div class="social_bookmark" style="float:left;">
<div class="d200" style="overflow:hidden">
<div id="socialstyles"><a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://del.icio.us/post?url=http://www.developertutorials.com/blog/javascript/the-fundamentals-of-strong-logo-design-200/&amp;title=The+Fundamentals+of+Strong+Logo+Design" title="Add to&nbsp;Del.icio.us">Del.icio.us</a></div><div id="socialstyles"><a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://digg.com/submit?phase=2&amp;url=http://www.developertutorials.com/blog/javascript/the-fundamentals-of-strong-logo-design-200/&amp;title=The+Fundamentals+of+Strong+Logo+Design" title="Add to&nbsp;Digg This">Digg This</a></div><div id="socialstyles"><a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.stumbleupon.com/submit.php?url=http://www.developertutorials.com/blog/javascript/the-fundamentals-of-strong-logo-design-200/&amp;title=The+Fundamentals+of+Strong+Logo+Design" title="Add to&nbsp;Stumble">Stumble</a></div></div>
</div>
<!-- Social Bookmarks END -->
]]></content:encoded>
			<wfw:commentRss>http://www.developertutorials.com/blog/javascript/the-fundamentals-of-strong-logo-design-200/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Hacking Wordpress When You&#8217;ve Forgotten Your Password</title>
		<link>http://www.developertutorials.com/blog/wordpress-blog/hacking-wordpress-when-youve-forgotten-your-password-177/</link>
		<comments>http://www.developertutorials.com/blog/wordpress-blog/hacking-wordpress-when-youve-forgotten-your-password-177/#comments</comments>
		<pubDate>Wed, 21 May 2008 16:25:04 +0000</pubDate>
		<dc:creator>JonGos</dc:creator>
		
		<category><![CDATA[WordPress]]></category>

		<category><![CDATA[hack]]></category>

		<category><![CDATA[password]]></category>

		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://www.developertutorials.com/blog/wordpress-blog/hacking-wordpress-when-youve-forgotten-your-password-177/</guid>
		<description><![CDATA[Do you have multiple Wordpress self-hosted blogs?  If so, you&#8217;ve likely run into a scenario where you just can&#8217;t remember your password.  With Wordpress 2.5 and 2.5.1 there&#8217;s an annoying bug that sometimes generates passwords that don&#8217;t work when you click the &#8220;Forgot Password&#8221; option.  Usually that button generates a query that [...]]]></description>
			<content:encoded><![CDATA[<p>Do you have multiple Wordpress self-hosted blogs?  If so, you&#8217;ve likely run into a scenario where you just can&#8217;t remember your password.  With Wordpress 2.5 and 2.5.1 there&#8217;s an annoying bug that sometimes generates passwords that <strong>don&#8217;t work</strong> when you click the &#8220;Forgot Password&#8221; option.  Usually that button generates a query that will send an email with a temporary password that allows you to reset your password to whatever you wish.  The bug in 2.5 will still do that but when you click on the link that should allow you to reset your password, nothing happens.</p>
<p><span id="more-177"></span></p>
<p>Actually something does happen, Wordpress resets the password internally (in the MySQL database) but the link that it sent you to activate that password fails to connect with the database effectively locking you out of your blog.  In this scenario, at least for me, all the potentially viable solutions lead to dead ends. </p>
<p>Although it should&#8217;ve, launching the database manager to reset the password manually didn&#8217;t work. I tried doing this in various ways including <a href="http://codex.wordpress.org/Resetting_Your_Password#Through_phpMyAdmin">this method</a> from Codex, <a href="http://www.watchingthenet.com/webmaster-tip-recover-wordpress-password.html">this one</a> from Watching The Net and <a href="http://anirudhsanjeev.org/reset-your-local-wordpress-password-easily/">this one</a> from Thought Outflux.  But none of them worked!</p>
<p>Opening up <strong>wp-config.php</strong> and trying to reset the password there didn&#8217;t work there either.</p>
<p>I was at a loss as to what to do.  That is until I found the <a href="http://www.village-idiot.org/archives/2007/05/22/wp-emergency-password-recovery/">Village Idiot Emergency Password Recovery</a> software.  Using it is simple:</p>
<ol>
<li>1.  Download the script from Village Idiot WordPress Emergency Password Script.</li>
<li>2. Unpack the downloaded zip file.</li>
<li>3. Upload the file emergency.php to the root of your WordPress installation (the same directory that contains wp-config.php).</li>
<li>4. In your browser, open http://example.com/emergency.php.</li>
<li>5. As instructed, enter the administrator username (usually admin) and the new password, then click Update Options. A message is displayed noting the changed password. An email is sent to the blog administrator with the changed password information.</li>
<li>6. Delete emergency.php from your server when you are done. Do not leave it on your server as someone else could use it to change your password.</li>
</ol>
<p>For whatever reason this worked flawlessly where the other methods failed and I was able to regain access to my wordpress blog and set the password to something I&#8217;ll (hopefully) never forget again.  I&#8217;m not ruling out operator error on the other methods but the aptly titled Village Idiot software makes the process <i>fool-proof</i>.  </p>
<p><strong>Note:</strong> Keep in mind that all of these options will only work if you are the site administrator or have direct access to the server at which the blog is hosted.</p>
<!-- Social Bookmarks BEGIN -->
<div class="social_bookmark" style="float:left;">
<div class="d177" style="overflow:hidden">
<div id="socialstyles"><a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://del.icio.us/post?url=http://www.developertutorials.com/blog/wordpress-blog/hacking-wordpress-when-youve-forgotten-your-password-177/&amp;title=Hacking+Wordpress+When+You%26%238217%3Bve+Forgotten+Your+Password" title="Add to&nbsp;Del.icio.us">Del.icio.us</a></div><div id="socialstyles"><a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://digg.com/submit?phase=2&amp;url=http://www.developertutorials.com/blog/wordpress-blog/hacking-wordpress-when-youve-forgotten-your-password-177/&amp;title=Hacking+Wordpress+When+You%26%238217%3Bve+Forgotten+Your+Password" title="Add to&nbsp;Digg This">Digg This</a></div><div id="socialstyles"><a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.stumbleupon.com/submit.php?url=http://www.developertutorials.com/blog/wordpress-blog/hacking-wordpress-when-youve-forgotten-your-password-177/&amp;title=Hacking+Wordpress+When+You%26%238217%3Bve+Forgotten+Your+Password" title="Add to&nbsp;Stumble">Stumble</a></div></div>
</div>
<!-- Social Bookmarks END -->
]]></content:encoded>
			<wfw:commentRss>http://www.developertutorials.com/blog/wordpress-blog/hacking-wordpress-when-youve-forgotten-your-password-177/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Five Wordpress Tips for Power Users</title>
		<link>http://www.developertutorials.com/blog/general/five-wordpress-tips-for-power-users-166/</link>
		<comments>http://www.developertutorials.com/blog/general/five-wordpress-tips-for-power-users-166/#comments</comments>
		<pubDate>Tue, 06 May 2008 16:51:31 +0000</pubDate>
		<dc:creator>JonGos</dc:creator>
		
		<category><![CDATA[General]]></category>

		<category><![CDATA[WordPress]]></category>

		<category><![CDATA[hacks]]></category>

		<category><![CDATA[tips]]></category>

		<category><![CDATA[tricks]]></category>

		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://www.developertutorials.com/blog/general/five-wordpress-tips-for-power-users-166/</guid>
		<description><![CDATA[If you&#8217;re a wordpress power user, you&#8217;ll inevitably have some questions about how you can improve your blog or add new features.  Here are five tips that will make life easier for people wanting to maximize their use of Wordpress.

1. Quickly Find Page/Post ID
One question people often ask is how to find a Page [...]]]></description>
			<content:encoded><![CDATA[<p>If you&#8217;re a wordpress power user, you&#8217;ll inevitably have some questions about how you can improve your blog or add new features.  Here are five tips that will make life easier for people wanting to maximize their use of Wordpress.</p>
<p><span id="more-166"></span></p>
<p><b>1. Quickly Find Page/Post ID</b></p>
<p>One question people often ask is how to find a Page or Post ID when you&#8217;re using custom permalinks.  Custom permalinks rewrite your URLs to be easier to read and memorable.  Finding the ID of a post is not as tricky as it looks.  Simply log into to your admin panel and click &#8220;Manage&#8221; then select either posts or pages.  Find the item that you need the ID of and click your post to edit it.  In the navigation bar of your browser, you will see a IRL for editing this post.  At the very end of this URL you&#8217;ll find your post or page ID number!</p>
<p><img src="http://farm4.static.flickr.com/3006/2470654805_530c929f88.jpg" alt="wordpress tips and tricks"></p>
<p><b>2. Custom Front Page</b></p>
<p>Another common problem is people having trouble figuring out how to create a custom front page that doesn&#8217;t look exactly like the rest of their blog.  This has never been too obvious but it is simple enough to do.</p>
<ol>
<li>1. Open a blank document in a text editor. Then paste the following codes in it:
<pre>
	&lt;?php
	/*
	Template Name: YourCustomPageTemplateName

	*/
	?&gt;

	&lt;html&gt;
</pre>
</li>
<li>2. Save the new page template as a .php file. Something like static.php but make sure you do not call it page.php because that file already exists as part of your theme. Then upload it to your hosting account in the root folder of your current WordPress theme (http://yourblog/blog/wp-content/themes/<strong>default</strong>. Where <strong>default</strong> is the  active theme.).</li>
<li>3. Now you can design this page however you wish either in your text editor or in the &#8216;Design&#8217; tab of Wordpress.  I usually copy and paste everything I want to keep from the preexisting page.php that I want to keep, leaving out things like the sidebar and footer.</li>
<li>4. When you create a new page under &#8216;Write&#8217; you will notice a new area below the content area called &#8220;Page Template&#8221;.
<p><img src="http://farm4.static.flickr.com/3214/2470655139_70ba12e4d0.jpg" alt="wordpress tips and tricks"></p>
<p>Here you will select &#8216;YourCustomPageTemplateName&#8217;.  When you publish it, only this page will look like your design for &#8217;static.php&#8217; or whatever you called your custom page theme.</li>
<li>5. To set this as the front page click &#8216;Options&#8217; then the &#8216;Reading&#8217; subpanel. Choose the Static Page option, specify your new custom page as the front page.  To see this in action <a href="http://gosdot.com/unity/" rel="bookmark" target="_blank">click here</a>.</li>
</ol>
<p><b>3. Password Protect Wordpress</b></p>
<p>A growing trend is to use Wordpress as a CMS to sell premium content.  This means the owner may want certain sections of their blog to be free, while the rest is a paid premium.  For example <a href="http://www.wpdesigner.com/" target="blank" title="wordpress themes">http://www.wpdesigner.com/</a> is a wordpress theme site that offers a free content but only people who subscribe get the premium content.  How is this done?  You&#8217;ll need to password protect wordpress.  Here are some options for doing that:</p>
<p><a href="http://fortes.com/projects/wordpress/postlevels/">Password Protect by User level</a> - allows you to create member classes that can have different content privileges than other classes. (ex. premium subscribers)<br />
<a href="http://www.tools.dynamicdrive.com/password/">.htaccess Password Generator</a> - a free way to protect your content, this option password protects EVERYTHING<br />
<a href="http://www.bravenet.com/webtools/passwd/" target="_blank">Bravenet</a> - an inexpensive solution that offers protection for sites that it hosts</p>
<p><b>4. Protect from the &#8216;Digg Efect&#8217; with HTML</b></p>
<p>Has Digg brought your site to a grinding halt?  Are you sick of waking up to find out your site has been down for hours and you&#8217;ve had no idea?  <a href="http://wordpress.org/extend/plugins/wp-super-cache/" title="wordpress digg effect" rel="bookmark" target="blank">WP Super Cache</a> will save your page from the hundreds of visitors per second that Digg can bring by caching pages and serving less server heavy html pages.</p>
<p><b>5. Stop Hackers</b></p>
<p>Occasionally you may attract some unwanted attention to your blog from either people jealous of your success or people just looking to cause damage.  How can you discourage people from hacking your site?  Try the following:</p>
<ol>
<li><strong>Protect the Admin Folder</strong> - This folder is the door to the rest of your blog so putting up a <a href="http://www.askapache.com/wordpress/htaccess-password-protect.html" target="_blank">fortified fence</a> will help prevent attacks. </li>
<li><strong>Deny Access to Other Folders</strong> - Many web hosts by default allow people to browse a folder if there is no default index.html file.  Adding a blank index.html file to these folders will add an extra level of protection.</li>
<li><strong>Remove the Wordpress Version</strong> - Hackers look for vulnerabilities that they sometimes know exist in specific versions of your CMS, if they can&#8217;t figure out what version you&#8217;re using it will make it that much harder for them to know which vulnerabilities to exploit.  Try <a href="http://blogsecurity.net/wordpress/bs-wp-noversion/" rel="bookmark" target="_blank">this plugin</a> which does exactly that.</li>
</ol>
<!-- Social Bookmarks BEGIN -->
<div class="social_bookmark" style="float:left;">
<div class="d166" style="overflow:hidden">
<div id="socialstyles"><a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://del.icio.us/post?url=http://www.developertutorials.com/blog/general/five-wordpress-tips-for-power-users-166/&amp;title=Five+Wordpress+Tips+for+Power+Users" title="Add to&nbsp;Del.icio.us">Del.icio.us</a></div><div id="socialstyles"><a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://digg.com/submit?phase=2&amp;url=http://www.developertutorials.com/blog/general/five-wordpress-tips-for-power-users-166/&amp;title=Five+Wordpress+Tips+for+Power+Users" title="Add to&nbsp;Digg This">Digg This</a></div><div id="socialstyles"><a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.stumbleupon.com/submit.php?url=http://www.developertutorials.com/blog/general/five-wordpress-tips-for-power-users-166/&amp;title=Five+Wordpress+Tips+for+Power+Users" title="Add to&nbsp;Stumble">Stumble</a></div></div>
</div>
<!-- Social Bookmarks END -->
]]></content:encoded>
			<wfw:commentRss>http://www.developertutorials.com/blog/general/five-wordpress-tips-for-power-users-166/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Packaging a Wordpress Theme for Distribution</title>
		<link>http://www.developertutorials.com/blog/php/packaging-a-wordpress-theme-for-distribution-162/</link>
		<comments>http://www.developertutorials.com/blog/php/packaging-a-wordpress-theme-for-distribution-162/#comments</comments>
		<pubDate>Wed, 30 Apr 2008 22:12:02 +0000</pubDate>
		<dc:creator>JonGos</dc:creator>
		
		<category><![CDATA[General]]></category>

		<category><![CDATA[PHP]]></category>

		<category><![CDATA[WordPress]]></category>

		<category><![CDATA[theme]]></category>

		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://www.developertutorials.com/blog/php/packaging-a-wordpress-theme-for-distribution-162/</guid>
		<description><![CDATA[In my ten part series &#8220;Designing and Coding a Wordpress Theme From Scratch&#8221; we made our own Wordpress theme starting with a design in Photoshop. But now that you&#8217;ve made a theme, what about releasing it to the public?


So far I&#8217;ve released two themes: Tech Blogger and Unstandard Remix).  A third, my first completely [...]]]></description>
			<content:encoded><![CDATA[<p>In my ten part series <a href="http://www.developertutorials.com/blog/design/designing-and-coding-a-wordpress-theme-from-scratch-part-1-143/" target="_blank" title="photoshop to xhtml to wordpress theme">&#8220;Designing and Coding a Wordpress Theme From Scratch&#8221;</a> we made our own Wordpress theme starting with a design in Photoshop. But now that you&#8217;ve made a theme, what about releasing it to the public?</p>
<p><span id="more-162"></span></p>
<p><img src="http://farm3.static.flickr.com/2001/2449394258_676eb5ea2b.jpg"></p>
<p>So far I&#8217;ve released two themes: <a href="http://goscreative.blogspot.com/2008/04/free-wordpress-theme-unstandard-remix.html" target="_blank" title="tech blogger">Tech Blogger</a> and <a href="http://goscreative.blogspot.com/2008/04/free-wordpress-theme-unstandard-remix.html" target="_blank" title="unstandard remix">Unstandard Remix</a>).  A third, my first completely original theme, is still in development but I <a href="http://goscreative.blogspot.com/2008/05/free-wordpress-theme-aqua-marina.html" target="_blank">released it early</a> for the sake of my tutorial.</p>
<p>What do you need to do when you&#8217;re releasing your first theme be it modified or bespoke?  Here&#8217;s a checklist:</p>
<ul>
<li>Include a <strong>readme.txt</strong> file.  This file should contain installation instructions, release info and any notes you want the reader to be aware of before using your theme.  It really sucks when novices are downloading themes only to be 100% confused by what they&#8217;ve downloaded. It only means that they may delete your theme and download another one that they can more easily digest.  If your goal is maximum adoption, that&#8217;s not the route you want to go.</li>
<li>Test it. Think of every scenario you can possibly remember from your own blog use.  Try to be the use, do all the things that you think no one would ever do because (rest assured) that person is out there.  Are all your links functioning?  Are all your pages displaying correctly?  If not, is your 404.php page popping up when it should?  Make sure you&#8217;ve thought of EVERY possible scenario before you release your theme.  I can&#8217;t tell you how annoying it is download a theme that you like only to spend the next few hours debugging it to make it truly functional.</li>
<p><img src="http://farm4.static.flickr.com/3107/2455545152_636cce8a80.jpg"></p>
<li>Organize it.  You want your theme to be well organized so that it doesn&#8217;t take any longer than necessary to install and use it.  Put your actual theme in a parent folder labeled &#8216;theme&#8217; so the user can just drag and drop.  Place any plug-ins or widgets your theme uses in a parent folder called &#8216;plugins&#8217; so that the user can do the same.  If you&#8217;re including .psd label those in a folder that tells the user what it is. </li>
<li>Compress it. You&#8217;ll be hard-pressed to find a file host that makes it easy to share uncompressed folders.  This is because a folder is a directory and if you upload it virtually any service online it will be treated like a directory (if accepted at all).  Compress the file as either a .zip, .sit, .gzip or .tar.gz file.  This will make the files faster to download and it will allow the user to download with one click instead of several</li>
<li>Publish it.  Where will your theme live online?  Do you want it on your own web server or do you want it hosted on at repository like <a href="http://themes.wordpress.net/" target="_blank">themes.wordpress.net</a>?  I prefer to use repositories or file hosting services like <a href="http://mediafire.com/" target="_blank">mediafire.com</a></li>
<li>Announce it.  Unless a lot of people read your bog or visit your website, there&#8217;s no way for people to know what you&#8217;ve done.  If you&#8217;ve posted your theme to a repository like <a href="http://themes.wordpress.net/" target="_blank">themes.wordpress.net</a> then the job is already done.  However, you should tell your friends and submit it to some other sites so that the world is aware.</li>
</ul>
<!-- Social Bookmarks BEGIN -->
<div class="social_bookmark" style="float:left;">
<div class="d162" style="overflow:hidden">
<div id="socialstyles"><a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://del.icio.us/post?url=http://www.developertutorials.com/blog/php/packaging-a-wordpress-theme-for-distribution-162/&amp;title=Packaging+a+Wordpress+Theme+for+Distribution" title="Add to&nbsp;Del.icio.us">Del.icio.us</a></div><div id="socialstyles"><a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://digg.com/submit?phase=2&amp;url=http://www.developertutorials.com/blog/php/packaging-a-wordpress-theme-for-distribution-162/&amp;title=Packaging+a+Wordpress+Theme+for+Distribution" title="Add to&nbsp;Digg This">Digg This</a></div><div id="socialstyles"><a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.stumbleupon.com/submit.php?url=http://www.developertutorials.com/blog/php/packaging-a-wordpress-theme-for-distribution-162/&amp;title=Packaging+a+Wordpress+Theme+for+Distribution" title="Add to&nbsp;Stumble">Stumble</a></div></div>
</div>
<!-- Social Bookmarks END -->
]]></content:encoded>
			<wfw:commentRss>http://www.developertutorials.com/blog/php/packaging-a-wordpress-theme-for-distribution-162/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Designing and Coding a Wordpress Theme From Scratch (Part 10)</title>
		<link>http://www.developertutorials.com/blog/php/designing-and-coding-a-wordpress-theme-from-scratch-part-10-160/</link>
		<comments>http://www.developertutorials.com/blog/php/designing-and-coding-a-wordpress-theme-from-scratch-part-10-160/#comments</comments>
		<pubDate>Wed, 30 Apr 2008 21:16:50 +0000</pubDate>
		<dc:creator>JonGos</dc:creator>
		
		<category><![CDATA[General]]></category>

		<category><![CDATA[PHP]]></category>

		<category><![CDATA[Photoshop]]></category>

		<category><![CDATA[WordPress]]></category>

		<category><![CDATA[css]]></category>

		<category><![CDATA[theme]]></category>

		<category><![CDATA[wordpress]]></category>

		<category><![CDATA[xhtml]]></category>

		<guid isPermaLink="false">http://www.developertutorials.com/blog/php/designing-and-coding-a-wordpress-theme-from-scratch-part-10-160/</guid>
		<description><![CDATA[Going From Photoshop to XHTML to Wordpress Theme.  In this multi-part series I'll detail how to create and design a Wordpress theme in Photoshop and take it from just an idea to fully coded.
]]></description>
			<content:encoded><![CDATA[<p><a target="_blank" href="http://www.developertutorials.com/blog/design/designing-and-coding-a-wordpress-theme-from-scratch-part-3-146/">Part 3</a> - &#8220;Photoshop to XHTML in 24 Hours&#8221;<br />
<a target="_blank" href="http://www.developertutorials.com/blog/design/designing-and-coding-a-wordpress-theme-from-scratch-part-4-147/">Part 4</a> - &#8220;Cleaning Up Your XHTML&#8221;<br />
<a target="_blank" href="http://www.developertutorials.com/blog/javascript/designing-and-coding-a-wordpress-theme-from-scratch-part-5-149/">Part 5</a> - &#8220;Preloading Images with Javascript and CSS&#8221;<br />
<a target="_blank" href="http://www.developertutorials.com/blog/design/designing-and-coding-a-wordpress-theme-from-scratch-part-6-151/">Part 6</a> - &#8220;Marking Up is Hard to Do&#8221; and &#8220;The Anatomy of a Wordpress Theme&#8221;<br />
<a target="_blank" href="http://www.developertutorials.com/blog/php/designing-and-coding-a-wordpress-theme-from-scratch-part-7-153/">Part 7</a> - &#8220;Beginning with PHP for Wordpress&#8221;<br />
<a target="_blank" href="http://www.developertutorials.com/blog/php/designing-and-coding-a-wordpress-theme-from-scratch-part-8-154/">Part 8</a> - &#8220;Putting the Press in Wordpress with PHP&#8221;<br />
<a target="_blank" href="http://www.developertutorials.com/blog/php/designing-and-…scratch-part-9designing-and-coding-a-wordpress-theme-from-scratch-part-9-159/">Part 9</a> - &#8220;Marking Up Header.php, Footer.php and Sidebar.php&#8221;</p>
<p>So far we&#8217;ve made a ton of progress with our theme design.  We <a href="http://www.developertutorials.com/blog/design/designing-and-coding-a-wordpress-theme-from-scratch-part-2-144/" target="_blank" title="designing wordpress themes in photoshop">designed it</a> in Photoshop, we <a href="http://www.developertutorials.com/blog/design/designing-and-coding-a-wordpress-theme-from-scratch-part-4-147/" target="_blank" title="XHTML CSS to Wordpress theme">converted to XHTML</a> and then we began the somewhat tedious task of <a href="http://www.developertutorials.com/blog/php/designing-and-coding-a-wordpress-theme-from-scratch-part-7-153/" target="_blank" title="XHTML to PHP">adding PHP</a>.  Now that we&#8217;ve created index.php, header.php, footer.php and sidebar.php, we can move on to creating the rest of the theme.</p>
<p><span id="more-160"></span></p>
<p>In &#8220;The Anatomy of a Wordpress Theme&#8221; we noted that Wordpress needs <a href="http://www.wpdesigner.com/2007/03/27/wordpress-theme-checklist/" target="_blank">certain files</a> for your theme to function properly.  Here&#8217;s that list again:</p>
<ol>
<li>404 Template = 404.php</li>
<li><strike>Archive Template</strike> = <a href="http://codex.wordpress.org/Creating_an_Archive_Index" target="_blank">archive.php</a></li>
<li><strike>Archive Index Page</strike> = <a href="http://codex.wordpress.org/Creating_an_Archive_Index" title="_blank">archives.php</a></li>
<li>Comments Template = <a href="http://www.christianmontoya.com/2006/10/15/full-featured-commentsphp-template-for-wordpress/" target="_blank">comments.php</a></li>
<li><strong>Footer Template = footer.php</strong></li>
<li><strong>Header Template = header.php</strong></li>
<li>Links = links.php</li>
<li><strong>Main Template = index.php</strong></li>
<li>Page Template = page.php</li>
<li><strike>Popup Comments Template</strike> = <a href="http://codex.wordpress.org/Theme_Development" target="_blank">comments-popup.php</a></li>
<li>Post Template = single.php</li>
<li><strike>Search Form</strike> = <a href="http://codex.wordpress.org/search.php" target="_blank">searchform.php</a></li>
<li><strike>Search Template</strike> = <a href="" target="_blank">search.php</a></li>
<li><strong>Sidebar Template = sidebar.php</strong></li>
<li><strong>Stylesheet = style.css</strong></li>
</ol>
<p>As you may have noticed, the items listed in <strong>bold</strong> are the only items we&#8217;ve created in our lessons thus far and there is still a lot of work to be done!  Anything <strike>struck through</strike> is optional therefore this lesson won&#8217;t cover it but I have linked to pages where you can read about them on your own. While I can&#8217;t go into complete detail I will highlight some major points about each and then I&#8217;ll give you links to four sites that break the process down in detail and more thoroughly:</p>
<h2>single.php</h2>
<p>Single.php is the file referenced when someone clicks on the permalink for one of your posts.  Thus it is the template for displaying a single post on your blog.  On most blogs single.php an index.php are very similar except that in addition to querying <strong>&lt;? the content(); ?&gt;</strong> we also have to query the comments page. We do this just before we close the loop with:</p>
<pre>
	&lt;?php comments_template(); ?&gt;
</pre>
<p><b>page.php</b></p>
<p>Page.php is the template for any page in your theme that doesn&#8217;t have it&#8217;s own .php template or that is not a blog entry.  This is also the template for the static &#8220;Pages&#8221; that you create within the Wordpress Admin panel.  It is usually also just like index.php except that it doesn&#8217;t include <strong>the loop</strong> or <strong>the_content()</strong>.</p>
<p><b>links.php</b></p>
<p>Ignores Page content and instead displays your links using <strong>get_links_list</strong>.</p>
<h2>404.php</h2>
<p>Where you users land when they follow a bad link on your blog or click through to something that&#8217;s been removed.  <a href="http://codex.wordpress.org/Creating_an_Error_404_Page" target="blank">Codex</a> offers some advice&#8230;. </p>
<blockquote cite="http://codex.wordpress.org/Creating_an_Error_404_Page"><p>
While you work hard to make sure that every link actually goes to a specific web page on your site, there is always a chance that a link clicked will slam dunk and become a famous 404 ERROR PAGE NOT FOUND. Some errors are avoidable, you should regularly check and double check all your links. Also, if you are deleting a popular but out-of-date post, consider deleting the body of the post, and replacing it with a link referring visitors to the new page.
</p>
</blockquote>
<p>This concludes <a href="http://www.developertutorials.com/blog/design/designing-and-coding-a-wordpress-theme-from-scratch-part-3-146/">&#8220;Designing and Coding a Wordpress theme from Scratch&#8221;</a> .  This guide was written as a starting point and a reference guide I can always be contacted at <strong>jongos [at] gmail</strong> if you are having trouble or need advice.  Alternatively I&#8217;ve compiled a list of resources that I often reference when creating themes below.</p>
<p>In this tutorial I mentioned a theme that I was developing quite a bit.  You can download it along with the PSD used to create it <a href="http://www.developertutorials.com/blog/wp-content/uploads/2008/04/aqua-marina.zip" target="_blank">here</a>.  Keep in mind that the version you&#8217;re downloading is an early beta release.  It&#8217;s bulky, clunky, not very pretty under the covers and has a mind of it&#8217;s own so I&#8217;m dubbing it the Rosie O Donnell release.  Feel free to give me feedback on it, use it to double check your own code, or modify it to suit your needs.</p>
<p><strong>DOWNLOAD THE <a href="http://www.developertutorials.com/blog/wp-content/uploads/2008/04/aqua-marina.zip" target="_blank">AQUA MARINA</a> WORDPRESS THEME</strong></p>
<p><a href="http://goscreative.blogspot.com/2008/05/free-wordpress-theme-aqua-marina.html" target="_blank"><img src="http://farm3.static.flickr.com/2001/2449394258_676eb5ea2b_m.jpg"></a></p>
<hr />
<b>Recommended Further Reading</b></p>
<p><a target="_blank" title="understanding wordpress templates" rel="bookmark" href="http://codex.wordpress.org/">Stepping_Into_Templates</a><br />
<a target="_blank" title="html to xhtml" rel="bookmark" href="http://codex.wordpress.org/HTML_to_XHTML">HTML to XHTML</a><br />
<a target="_blank" title="create wordpress themes" rel="bookmark" href="http://www.wpdesigner.com/2007/02/19/so-you-want-to-create-wordpress-themes-huh/">So You Want To Create Wordpress Themes</a><br />
<a target="_blank" title="xhtml css to wordpress" rel="bookmark" href="http://theundersigned.net/2006/05/from-xhtmlcss-to-wordpress/">From XHTML/CSS to Wordpress</a><br />
<a href="http://www.tamba2.org.uk/wordpress/" target="_blank" title="tamba2 wordpress tutorials">Tamba2&#8217;s Guide</a><br />
<a href="http://www.wpdesigner.com/2007/08/10/how-to-slice-a-wordpress-theme/" target="_blank" title="Slicing a Wordpress Theme">Slizing a Wordpress Theme</a></p>
<!-- Social Bookmarks BEGIN -->
<div class="social_bookmark" style="float:left;">
<div class="d160" style="overflow:hidden">
<div id="socialstyles"><a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://del.icio.us/post?url=http://www.developertutorials.com/blog/php/designing-and-coding-a-wordpress-theme-from-scratch-part-10-160/&amp;title=Designing+and+Coding+a+Wordpress+Theme+From+Scratch+%28Part+10%29" title="Add to&nbsp;Del.icio.us">Del.icio.us</a></div><div id="socialstyles"><a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://digg.com/submit?phase=2&amp;url=http://www.developertutorials.com/blog/php/designing-and-coding-a-wordpress-theme-from-scratch-part-10-160/&amp;title=Designing+and+Coding+a+Wordpress+Theme+From+Scratch+%28Part+10%29" title="Add to&nbsp;Digg This">Digg This</a></div><div id="socialstyles"><a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.stumbleupon.com/submit.php?url=http://www.developertutorials.com/blog/php/designing-and-coding-a-wordpress-theme-from-scratch-part-10-160/&amp;title=Designing+and+Coding+a+Wordpress+Theme+From+Scratch+%28Part+10%29" title="Add to&nbsp;Stumble">Stumble</a></div></div>
</div>
<!-- Social Bookmarks END -->
]]></content:encoded>
			<wfw:commentRss>http://www.developertutorials.com/blog/php/designing-and-coding-a-wordpress-theme-from-scratch-part-10-160/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Designing and Coding a Wordpress Theme From Scratch (Part 9)</title>
		<link>http://www.developertutorials.com/blog/php/designing-and-coding-a-wordpress-theme-from-scratch-part-9-159/</link>
		<comments>http://www.developertutorials.com/blog/php/designing-and-coding-a-wordpress-theme-from-scratch-part-9-159/#comments</comments>
		<pubDate>Wed, 30 Apr 2008 21:16:42 +0000</pubDate>
		<dc:creator>JonGos</dc:creator>
		
		<category><![CDATA[PHP]]></category>

		<category><![CDATA[Photoshop]]></category>

		<category><![CDATA[WordPress]]></category>

		<category><![CDATA[code]]></category>

		<category><![CDATA[Design]]></category>

		<category><![CDATA[layout]]></category>

		<category><![CDATA[photshop]]></category>

		<category><![CDATA[theme]]></category>

		<guid isPermaLink="false">http://www.developertutorials.com/blog/php/designing-and-coding-a-wordpress-theme-from-scratch-part-9-159/</guid>
		<description><![CDATA[Going From Photoshop to XHTML to Wordpress Theme.  In this multi-part series I'll detail how to create and design a Wordpress theme in Photoshop and take it from just an idea to fully coded.
]]></description>
			<content:encoded><![CDATA[<p><a target="_blank" href="http://www.developertutorials.com/blog/design/designing-and-coding-a-wordpress-theme-from-scratch-part-2-144/">Part 2</a> - &#8220;Layout And Structure&#8221; and &#8220;Designing Wordpress Themes in Photoshop&#8221;<br />
<a target="_blank" href="http://www.developertutorials.com/blog/design/designing-and-coding-a-wordpress-theme-from-scratch-part-3-146/">Part 3</a> - &#8220;Photoshop to XHTML in 24 Hours&#8221;<br />
<a target="_blank" href="http://www.developertutorials.com/blog/design/designing-and-coding-a-wordpress-theme-from-scratch-part-4-147/">Part 4</a> - &#8220;Cleaning Up Your XHTML&#8221;<br />
<a target="_blank" href="http://www.developertutorials.com/blog/javascript/designing-and-coding-a-wordpress-theme-from-scratch-part-5-149/">Part 5</a> - &#8220;Preloading Images with Javascript and CSS&#8221;<br />
<a target="_blank" href="http://www.developertutorials.com/blog/design/designing-and-coding-a-wordpress-theme-from-scratch-part-6-151/">Part 6</a> - &#8220;Marking Up is Hard to Do&#8221; and &#8220;The Anatomy of a Wordpress Theme&#8221;<br />
<a target="_blank" href="http://www.developertutorials.com/blog/php/designing-and-coding-a-wordpress-theme-from-scratch-part-7-153/">Part 7</a> - &#8220;Beginning with PHP for Wordpress&#8221;<br />
<a target="_blank" href="http://www.developertutorials.com/blog/php/designing-and-coding-a-wordpress-theme-from-scratch-part-8-154/">Part 8</a> - &#8220;Putting the Press in Wordpress with PHP&#8221;</p>
<p>Because Wordpress is fundamentally a PHP system we can add a few snippets of code to make our header, footer and sidebar files dynamic. </p>
<p><b>Marking Up Header.php</b></p>
<p>Your blog header file usually contains the title of your site linked to the homepage.  In an HTML page we would simply add text or place an image and link to the homepage using &lt;a href=&#8221;"&gt;&lt;/a&gt;.  The key to making our Wordpress theme, however, is we need to make all our links relative so that the end user can install the theme and use it with their own unique site with as little fuss as possible.  It should <i>just work</i>.</p>
<p><span id="more-159"></span></p>
<p>How is this done?  We use PHP requests to request and print the blog title allowing it to be dynamically relative to the database.</p>
<p>The code for a text blog title:</p>
<pre>
	&lt;div class="blogtitle"&gt;&lt;a href="&lt;?php bloginfo('url'); ?&gt;/"&gt;
	&lt;?php bloginfo('name'); ?&gt;&lt;/a&gt;&lt;/div&gt;
</pre>
<p>The code for an image blog title:</p>
<pre>
	&lt;div class="blogtitle"&gt;&lt;a href="&lt;?php bloginfo('url'); ?&gt;/"&gt;
	&lt;img src="your/image/path.jpg" title="&lt;?php bloginfo('name'); ?&gt;" /&gt;
	&lt;/a&gt;&lt;/div&gt;
</pre>
<p>These are the only two codes we need to place in our header.php file.  In my case I needed to request other PHP documents that are meant to be displayed before the document continues: the sidebar and the center rotating headline areas. I this did using this code:</p>
<pre>
	&lt;?php require('yourphpfile.php'); ?&gt;
	&lt;?php get_sidebar(); ?&gt;
</pre>
<p>Still confused?  The image below contains a region map of my theme&#8217;s <strong>index.php</strong> as it displays in a browser.  The red region represents &#8220;header.php&#8221;, the purple region represents &#8220;center.php&#8221;, the blue region represents &#8220;sidebar.php&#8221; and the green is the post area, the code for which is contained in index.php.  </p>
<p><img src="http://farm3.static.flickr.com/2198/2454229161_0db7a57ec1.jpg"></p>
<p>Because the format of my blog is unique to my design this may not apply to your own design, I just want to make sure everything is throughly explained so that when you download my theme in <a href="http://www.developertutorials.com/blog/php/designing-and-…cratch-part-10designing-and-coding-a-wordpress-theme-from-scratch-part-10-160/" target="_blank" title="photoshop to wordpress">Part 10</a> you&#8217;ll understand how everything works.</p>
<p><b>Marking Up Footer.php</b></p>
<p>Footer.php is even easier because there&#8217;s no crucial PHP requests that need to go here to make it function.  This means it can be entirely HTML or you can add a dynamic request for the blog title like you did above.  You may want to try something like this:</p>
<pre>
	&lt;div class="footer"&gt;©2008 &lt;a href="&lt;?php bloginfo('url'); ?&gt;/"&gt;
	&lt;?php bloginfo('name'); ?&gt;&lt;/a&gt;&lt;/div&gt;
</pre>
<p>&#8230;which would simply display the copyright and year followed by the blog title.</p>
<p><b>Marking Up Sidebar.php</b></p>
<p>Sidebar.php is essentially the same in that it can contain nothing more than HTML or it can also contain PHP queries.  Here are some popular PHP queries often used in sidebar.php:</p>
<pre>
	&lt;strong&gt;Display the Blogroll:&lt;/strong&gt;
	&lt;?php get_links_list(); ?&gt;

	&lt;strong&gt;Display the pages of the site:&lt;/strong&gt;
	&lt;?php wp_list_pages('title_li=&lt;h2&gt;Pages&lt;/h2&gt;'); ?&gt;

	&lt;strong&gt;Display the site's categories:&lt;/strong&gt;
	&lt;?php wp_list_cats(); ?&gt;
</pre>
<p>I recommend reading <a href="http://codex.wordpress.org/Customizing_Your_Sidebar" target="_blank">&#8220;Customizing Your Sidebar&#8221;</a> if you&#8217;d like to explore your options a bit more.  In <a href="http://www.developertutorials.com/blog/php/designing-and-…cratch-part-10designing-and-coding-a-wordpress-theme-from-scratch-part-10-160/" target="_blank" title="photoshop to wordpress theme">Part 10</a> we&#8217;ll create the other pages of our theme and then we&#8217;ll learn all about<a href="http://www.developertutorials.com/blog/php/packaging-a-wordpress-theme-for-distribution-162/" target="_blank" title="Packaging a Wordpress Theme for Distribution">&#8220;Packaging a Wordpress Theme for Distribution&#8221;</a></p>
<!-- Social Bookmarks BEGIN -->
<div class="social_bookmark" style="float:left;">
<div class="d159" style="overflow:hidden">
<div id="socialstyles"><a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://del.icio.us/post?url=http://www.developertutorials.com/blog/php/designing-and-coding-a-wordpress-theme-from-scratch-part-9-159/&amp;title=Designing+and+Coding+a+Wordpress+Theme+From+Scratch+%28Part+9%29" title="Add to&nbsp;Del.icio.us">Del.icio.us</a></div><div id="socialstyles"><a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://digg.com/submit?phase=2&amp;url=http://www.developertutorials.com/blog/php/designing-and-coding-a-wordpress-theme-from-scratch-part-9-159/&amp;title=Designing+and+Coding+a+Wordpress+Theme+From+Scratch+%28Part+9%29" title="Add to&nbsp;Digg This">Digg This</a></div><div id="socialstyles"><a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.stumbleupon.com/submit.php?url=http://www.developertutorials.com/blog/php/designing-and-coding-a-wordpress-theme-from-scratch-part-9-159/&amp;title=Designing+and+Coding+a+Wordpress+Theme+From+Scratch+%28Part+9%29" title="Add to&nbsp;Stumble">Stumble</a></div></div>
</div>
<!-- Social Bookmarks END -->
]]></content:encoded>
			<wfw:commentRss>http://www.developertutorials.com/blog/php/designing-and-coding-a-wordpress-theme-from-scratch-part-9-159/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Designing and Coding a Wordpress Theme From Scratch (Part 8)</title>
		<link>http://www.developertutorials.com/blog/php/designing-and-coding-a-wordpress-theme-from-scratch-part-8-154/</link>
		<comments>http://www.developertutorials.com/blog/php/designing-and-coding-a-wordpress-theme-from-scratch-part-8-154/#comments</comments>
		<pubDate>Tue, 29 Apr 2008 19:44:44 +0000</pubDate>
		<dc:creator>JonGos</dc:creator>
		
		<category><![CDATA[General]]></category>

		<category><![CDATA[PHP]]></category>

		<category><![CDATA[WordPress]]></category>

		<category><![CDATA[code]]></category>

		<category><![CDATA[Design]]></category>

		<category><![CDATA[Development]]></category>

		<category><![CDATA[theme]]></category>

		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://www.developertutorials.com/blog/php/designing-and-coding-a-wordpress-theme-from-scratch-part-8-154/</guid>
		<description><![CDATA[Going From Photoshop to XHTML to Wordpress Theme.  In this multi-part series I'll detail how to create and design a Wordpress theme in Photoshop and take it from just an idea to fully coded.
]]></description>
			<content:encoded><![CDATA[<p><a target="_blank" href="http://www.developertutorials.com/blog/design/designing-and-coding-a-wordpress-theme-from-scratch-part-1-143/">Part 1</a> - &#8220;Tools For The Task&#8221; and &#8220;Preparation&#8221;<br />
<a target="_blank" href="http://www.developertutorials.com/blog/design/designing-and-coding-a-wordpress-theme-from-scratch-part-2-144/">Part 2</a> - &#8220;Layout And Structure&#8221; and &#8220;Designing Wordpress Themes in Photoshop&#8221;<br />
<a target="_blank" href="http://www.developertutorials.com/blog/design/designing-and-coding-a-wordpress-theme-from-scratch-part-3-146/">Part 3</a> - &#8220;Photoshop to XHTML in 24 Hours&#8221;<br />
<a target="_blank" href="http://www.developertutorials.com/blog/design/designing-and-coding-a-wordpress-theme-from-scratch-part-4-147/">Part 4</a> - &#8220;Cleaning Up Your XHTML&#8221;<br />
<a target="_blank" href="http://www.developertutorials.com/blog/javascript/designing-and-coding-a-wordpress-theme-from-scratch-part-5-149/">Part 5</a> - &#8220;Preloading Images with Javascript and CSS&#8221;<br />
<a target="_blank" href="http://www.developertutorials.com/blog/design/designing-and-coding-a-wordpress-theme-from-scratch-part-6-151/">Part 6</a> - &#8220;Marking Up is Hard to Do&#8221; and &#8220;The Anatomy of a Wordpress Theme&#8221;<br />
<a target="_blank" href="http://www.developertutorials.com/blog/php/designing-and-coding-a-wordpress-theme-from-scratch-part-7-153/">Part 7</a> - &#8220;Beginning with PHP for Wordpress&#8221;</p>
<hr />
<b>Putting the Press in WordPress with PHP</b></p>
<p>Wordpress is <i>a state-of-the-art publishing platform with a focus on aesthetics, web standards, and usability</i> as the makers proudly proclaim at <a target="_blank" href="http://wordpress.org">wordpress.org</a>.  The keyword there being &#8216;publishing&#8217; and the most important part of the Wordpress publishing engine is the element that allows content to be published online easily and automatically.  This element is called the <strong>the loop</strong>.</p>
<p><span id="more-154"></span></p>
<p>While I can&#8217;t get into all the operational mechanics of how Wordpress works here, I can refer you to a page that does offer more in depth analysis (<a href="http://codex.wordpress.org" target="_blank">here</a>).  What is important to this tutorial is that the Wordpress theme we designed in Photoshop needs this PHP function (along with a few others) to correctly fetch content from the database.  Let&#8217;s examine four critical functions:</p>
<pre>
&lt;?php query_posts();?&gt;
<strong>Requests the database of content, should be placed near the top of index.php
just after the request &lt;?php get_header(); ?&gt;</strong>

&lt;?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?&gt;
<strong>this is The Loop and it should be placed prior to
where you want your content to print</strong>

&lt;?php the_content(''); ?&gt;
<strong>Calls and prints the content of your blog according to the settings in the
admin section or php functions called before it.  This should be placed wherever
you want your blog posts to go within the &lt;div&gt; tags.</strong>

&lt;?php endif; ?&gt;
<strong>Closes the loop.</strong>
</pre>
<p>Using the code from <a href="http://www.developertutorials.com/blog/php/designing-and-coding-a-wordpress-theme-from-scratch-part-7-153/">Part 7</a> as an example:</p>
<pre>
&lt;?php get_header(); ?&gt;
&lt;?php query_posts();?&gt;

    &lt;/div&gt;

	&lt;div id="post"&gt;
	  &lt;div class="entry"&gt;
	&lt;?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?&gt;

		&lt;div class="posts"&gt;
	&lt;?php the_excerpt(''); ?&gt;
     		&lt;/div&gt;   

	&lt;?php endif; ?&gt;
	  &lt;/div&gt;
     &lt;/div&gt;

&lt;?php get_footer(); ?&gt;
</pre>
<p>You may notice that the &lt;div&gt; tags with <strong>id</strong>  and <strong>class=&#8221;posts&#8221;</strong>elements.  These are styling anything they contain. My <strong>id=&#8221;post&#8221;</strong> is printing my photoshoped content area.  The area with <strong>id=&#8221;class&#8221;</strong> is formating how my content will be formated.  Do I want to justify text?  Do I want to use a text-transform on the first letter?  Change the color of text?  All those types of styles should be applied to this class to be passed on to the text inside the container.</p>
<p>These three lines alone are essentially all you need for index.php in your theme.  However, you&#8217;ll notice that we&#8217;re missing a few important items.  We need to call and style the posts name, permalink, and meta data individually.  This means we need to add the following:</p>
<pre>
&lt;a href="&lt;?php the_permalink() ?&gt;"&gt;&lt;?php the_title(); ?&gt;&lt;/a&gt;
<strong>Requests the post tile and links to it. Place this before the post content.</strong>

&lt;?php the_time('F j, Y'); ?&gt; at &lt;?php the_time('g:i a'); ?&gt;
&lt;?php comments_popup_link('| No Comments', '| 1 Comment;', '| % Comments;'); ?&gt;
<strong>Requests various types of information related to the post.  Place this just after the previous line.</strong>

&lt;?php the_category(', ') ?&gt; &lt;?php the_tags('| Tags: ', ', ', ''); ?&gt;
&lt;?php edit_post_link('| Edit', '', ''); ?&gt;&lt;/p&gt;
<strong>This calls the footer meta information for each individual post.
Place this after the content but before you close the loop.</strong>
</pre>
<p>After placing these codes my index.php looks something like this:</p>
<pre>
&lt;?php get_header(); ?&gt;
&lt;?php query_posts("showposts=2");?&gt;

	&lt;div id="post"&gt;
	&lt;div class="entry"&gt;
		&lt;?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?&gt;

   	&lt;span class="postname"&gt;&lt;a href="&lt;?php the_permalink() ?&gt;"&gt;&lt;?php
 the_title(); ?&gt;&lt;/a&gt;&lt;/span&gt;

    	&lt;p class="postinfo"&gt;

		&lt;?php the_time('F j, Y'); ?&gt; at &lt;?php the_time('g:i a'); ?&gt; &lt;?
php comments_popup_link('| No Comments', '| 1 Comment;', '| % Comments;'); ?&gt;&lt;/p&gt;

	&lt;div class="posts"&gt;
    		&lt;?php the_content(''); ?&gt;
         	&lt;p class="postinfo"&gt;Posted in &lt;?php the_category(', ') ?&gt; &lt;?php
 the_tags('| Tags: ', ', ', ''); ?&gt; &lt;?php edit_post_link('| Edit', '', ''); ?&gt;
&lt;/p&gt;

     	&lt;/div&gt;   

		&lt;?php endif; ?&gt;
	&lt;/div&gt;
	&lt;/div&gt;

    		&lt;?php get_footer(); ?&gt;
</pre>
<p>In Part 9 we&#8217;ll be discussing how to correctly markup header.php, footer.php and footer.php and in Part 10 we&#8217;ll create the other pages Wordpress needs.</p>
<!-- Social Bookmarks BEGIN -->
<div class="social_bookmark" style="float:left;">
<div class="d154" style="overflow:hidden">
<div id="socialstyles"><a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://del.icio.us/post?url=http://www.developertutorials.com/blog/php/designing-and-coding-a-wordpress-theme-from-scratch-part-8-154/&amp;title=Designing+and+Coding+a+Wordpress+Theme+From+Scratch+%28Part+8%29" title="Add to&nbsp;Del.icio.us">Del.icio.us</a></div><div id="socialstyles"><a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://digg.com/submit?phase=2&amp;url=http://www.developertutorials.com/blog/php/designing-and-coding-a-wordpress-theme-from-scratch-part-8-154/&amp;title=Designing+and+Coding+a+Wordpress+Theme+From+Scratch+%28Part+8%29" title="Add to&nbsp;Digg This">Digg This</a></div><div id="socialstyles"><a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.stumbleupon.com/submit.php?url=http://www.developertutorials.com/blog/php/designing-and-coding-a-wordpress-theme-from-scratch-part-8-154/&amp;title=Designing+and+Coding+a+Wordpress+Theme+From+Scratch+%28Part+8%29" title="Add to&nbsp;Stumble">Stumble</a></div></div>
</div>
<!-- Social Bookmarks END -->
]]></content:encoded>
			<wfw:commentRss>http://www.developertutorials.com/blog/php/designing-and-coding-a-wordpress-theme-from-scratch-part-8-154/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>
