How to create a WordPress theme: A WordPress theme tutorial

Want to learn how to create a WordPress theme?  I’ve found an awesome WordPress theme tutorial that rocks, and I want to share it with you.  I’ve used this tutorial to help clear up some of the issues and questions that I have had about WordPress theme development, and if you’re interested in learning how WordPress themes are structured and built, this is an excellent resource for you.

Ian Stuart is the head guy at ThemeShaper.com, and back in 2009 he wrote a series that will walk you through the creation of a custom WordPress theme. There are 11 lessons total, and I was able to go through all of them in a few hours.

Ian did a terrific job of optimizing the theme you’ll create.  Here are a few of the features of the theme he’ll show you how to build:

  • All the search-engine optimization you’ll really need
  • Including google-supported Microformat markup
  • Valid and logical semantic markup structure than can be used to create ANY layout
  • Smart default CSS layouts
  • Dynamic Body, post and comment classes
  • Separated trackbacks and threaded comments
  • 2 widget areas coded to disappear when they’re empty
  • And all the typical WordPress stuff you expect from a theme

Here are all the lessons as well:

  1. WordPress Theme Tutorial Introduction
  2. Theme Development Tools
  3. Creating a Theme HTML Structure
  4. Template and Directory Structure
  5. The Header Template
  6. The Index Template
  7. The Single Post, Post Attachment, & 404 Templates
  8. The Comments Template
  9. The Search Template & The Page Template
  10. The Archive, Author, Category & Tags Template
  11. The Sidebar Template
  12. Reset-Rebuild Theme CSS & Define Your Layouts

It’s thorough, and in the end you’ll have a WordPress theme that is optimized, and ready for use in a production website.

Thank you Ian for putting together such an incredible, and useful tutorial!  You can follow Ian on Twitter also.

About

Wayne John is a health coach for people that want to lose weight, gain weight, improve athletic performance, or simply maintain a healthy lifestyle. Wayne has lost over 55 pounds and improves his current health every day by using simple, straight-forward techniques that anyone can integrate into their lives to achieve the same. Contact Wayne today to realize your own health and fitness goals, or get started now by completing and submitting the free Wellness Profile. He also has been developing websites since 1995 and programming solutions for clients even longer. He'd rather be outside having fun in the sun though.

Tagged with: , , , , ,
Posted in Web Development Tips
17 comments on “How to create a WordPress theme: A WordPress theme tutorial
  1. Adam from Travel SEO
    Twitter:
    says:

    Cool..so most of the part of a morning and I could get through it..hmm..I just might have to take a stab at it.

  2. hey wayne,
    thanks for sharing. this is fantastic. i always wanted to work on my own wordpress theme, so i will give this tutorial definitely a try.

  3. Elise says:

    thanks for the share Wayne. I always learn great stuff in your posts

  4. Jason from Affiliate Marketing Tools
    Twitter:
    says:

    Awesome resource Wayne! Just exactly what I’m searching for these past few weeks. I was really thinking of sponsoring a free wp theme for SEO purposes, but eventually decided to try and do it myself :) Well, actually, by learning this, I’m not only expanding my knowledge about the industry, but as well as the services I can offer. Thanks for the share!

    Regards,
    Jason

  5. Rob from Spokane Web Designer
    Twitter:
    says:

    Great walk-through for making a WordPress site. The SEO part is often what most people forget.

  6. Jes from A Fresh Web Design says:

    Great tutorial list. Thanks for posting! When customizing WordPress, I usually just take the default theme and tweak the code/css until it looks the way I want, but the code ends up kind of messy that way. I’ll definitely check these out!

  7. Kurt Schmitt from Inspirational Sayings and Quotes says:

    Very cool! Thanks for sharing. I haven’t gone through it yet, but at first glance, the tutorial seems well written, with some good resources listed as well. I’ve tried reading through WP’s docs once or twice, but I especially like to learn by doing, so this sounds like it might do the trick. I might just have to try this out when I get the chance.

  8. Mayur from Tips and Resources
    Twitter:
    says:

    These are some nice tutorials. So far i have just tried tweaking the default wordpress 3.0 theme and it worked to some extend until it got all messed up. I am not really into wordpress theme designing but it can be done with some basic knowledge. Also converting the main design image from PSD to HTML looks a bit time consuming.

  9. daus says:

    what such a great post ! thanks for sharing ya, i really appreciated your hardwork for write this post.

    keep up your hardwork.

    and thanks for the tutorial ya

  10. Sarah Jane
    Twitter:
    says:

    Great tutorial list. Thanks for posting! When customizing WordPress, I usually just take the default theme and tweak the code/css until it looks the way I want, but the code ends up kind of messy that way. I’ll definitely check these out!

  11. Jon Wenner says:

    Looks like a very useful resource. I think it’s well worth the time and effort to learn how to customize a WordPress theme for yourself — not least in order to be able to demonstrate true individuality in your website design. There are some fantastic “blank” templates that can act as a starting off point as well.