WordPress Theme Development Process
June 27th, 2010
Recently I was developing a new WordPress theme and decided to document the process for my own reference. Upon completion, I thought it might be useful to share this process with other theme designers. Check out the bottom of the post for a further explanation of a few key points.
Theme Process Checklist
- Creative brief
- Information architecture
- Photoshop comps
- Slice comp, saving images
- Setup database on server
- XHTML/CSS homepage template coding
- Browser testing
- Cut XHTML/CSS comp intp .php template files
- Upload & Install WordPress on server
- Upload theme files to server
- Install plugin and enable it
- Tweak admin settings
- Import post formatting template file for testing
- Install and configure plugins
- Test all theme template files
- Install tracking code in footer.php
- Browser testing
- Run through WordPress theme and development cheat sheets and checklists, making any necessary changes
- Browser testing
- Disable maintenance mode plugin and take website live
Creative brief
Having the client fill out a creative brief is critical in the design process. Many times, designers will jump into the job with only some of the details. Trust me, don’t do this. In the end, it’ll mean additional work when you have to go back and change things. In the near future, I’m planning on posting a creative brief template you can use for your projects.
Information architecture
Before you get to far into your project, make sure you create a wireframe and/or a sitemap for the entire theme. Show your client the sitemap and get them to sign off on it. This will save you a potential headache down the road.
XHTML/CSS homepage template coding
I’m not sure if other theme developers do this, but before I start doing any php template coding, I prefer to code the template in XHMTL. That way I can work out any CSS and/or layout bugs. Once my XHTML template is complete, I cut it up into the WordPress template files.
Browser testing
I prefer to test in the following browsers, I would suggest you do the same. MAC: Safari, Chrome, Firefox, and Opera. PC: IE6-8, Safari, Firefox, Chrome, and Opera.
Cut XHTML/CSS comp into .php template files
Below is a list of template files I use when creating a theme. This is only a suggestion, you’re free to use whatever template files you prefer.
- 404.php
- acrhive.php
- author.php
- category.php
- comments.php
- css folder (for additional stylesheets like print.css)
- footer.php
- functions.php
- header.php
- images folder
- index.php
- loop.php
- page.php
- screenshot.png
- search.php
- searchform.php
- sidebar.php
- single.php
Tweak admin settings
When you’re setting up a new blog, there are few admin settings you should tweak. First head over to Settings > General and fill in the fields. Next, head over to Settings > Writing. I like to increase the size of the post box to 30 lines for easier post writing. I’d also suggest setting a default post category. Third, go to Settings > Reading and set how many posts you would like to appear on your homepage. Finally head to Settings > Permalinks and choose a link structure for you blog. I personally prefer to use the Month and Name option.
Import post formatting template file for testing
has a great you can download for free. Once you download it, import the file into your blog and it will create a number of sample posts that show a number of post styles. Check out the above link for more info and to download the file.
Install and configure plugins
At this point of the process, I recommend you install, configure and test all of your plugins. Below is a list of plugins I install on all my theme builds. Feel free to use them if you like:
- askimet (comes installed)
If you have any questions about this process, feel free to post them below. Thanks for reading.
Print This Post
9 Comments on “WordPress Theme Development Process”
Thanks for reading
June 28, 2010 » 11:13 am
Great Post.
That post formatting template is an GREAT idea!
The other thing I started doing is keyword research (to be included in site architecture I guess)
July 26, 2010 » 10:39 am
Yep, that has come in handy for me on several occasions
July 26, 2010 » 11:55 am
“XHTML/CSS homepage template coding
I’m not sure if other theme developers do this, but before I start doing any php template coding, I prefer to code the template in XHMTL. That way I can work out any CSS and/or layout bugs. Once my XHTML template is complete, I cut it up into the WordPress template files.”
I am new to this. I know some CSS and HTML (just learned), but the PHP on wordpress is confusing. Once you have made a design on using XHTML where do you put it in the PHP templates? Why cant I see the XHMTL in the templates? I can in the actual webpages by viewing source, but not in wordpress editor.
July 26, 2010 » 12:44 pm
Hi Dan,
You can’t see the XHTML in the template because the PHP template tags pull it in from your database, based on whatever posts, categories, tags, etc… you have created.
The best way to learn is to probably start with a WordPress framework like Starkers that is a naked, starter theme designed to be the bare minimum you require to get a theme up and running. Check it out at:
July 26, 2010 » 1:55 pm
Dan, I’d also highly recommend checking out this book
July 26, 2010 » 3:51 pm
Thanks for the help. I was looking for a book like that.
July 28, 2010 » 1:08 pm
No problem, glad to help
July 28, 2010 » 2:13 pm
Nice work! informative info.
June 28, 2010 » 2:14 am