Elliot Jay Stocks

Elliot Jay Stocks is Senior Designer at Carson Systems and his work is regularly published worldwide. He's also a writer and musician... of sorts.

Free ‘Starkers’ Wordpress theme

Written at 5pm on 27.01.08
Filed under Web Design / Tutorials & Resources / ALL CATEGORIES / Wordpress
39 comments

Article illustration for Naked Wordpress theme

starkers |ˈstärkərz| [ adjective [ predic. ] informal chiefly Brit.; 1. completely naked : “they ran starkers across the stage!” ]

Whenever I create a new Wordpress-based site, I find myself going through the same routine: installing the latest version, making a copy of the ‘default’ theme, and then tearing out all the styling and unnecessary HTML before starting on my own theme. It’s a process many of you probably go through; at least those of you who make your own bespoke themes.

It dawned on me the other day that this is an incredibly laborious process and it was about time I did something about it. Wordpress is an incredibly well-written blogging engine and its standards-centric build is great, but it’s still full of markup that just doesn’t need to be there. It’s time to discard the robes and get naked!

Download button

It’s worth noting that Darren Beale did something similar, but he still retained some basic formatting. My theme has no formatting whatsoever, meaning you have a complete clean slate on which to work. In fact there’s even some resetting done in the stylesheet, leaving you to build everything from the ground up and not worry about browser defaults coming into play.

For those looking for a beautifully-designed free theme, I’m afraid you’ve come to the wrong place, but this will hopefully assist those of you who make your own Wordpress themes regularly.

Features

  • All non-semantic, presentational class names removed
    (e.g: class=“center”, class=“alignleft”)
  • All non-semantic, presentational HTML elements removed
    (e.g: <hr />, <br />)
  • All unnecessary elements removed
    (e.g: <div class=“entry”> disappears entirely; <h3 class=“comments”> simply becomes <h3>)
  • Elements converted where necessary
    (e.g: <small> becomes <p>)
  • Code indentation / tabbing cleaned up to better represent nesting
  • Browser defaults reset in the stylesheet to give a true ‘clean slate’

Disclaimers

  • This theme is provided ‘as is’, with no promise of support, although I’ll help out when I can.
  • If you do need support, use the comments area below. Please do not email me.
  • All functionality remains the same as the ‘default’ theme supplied with the WP installation (Wordpress v2.3.2 and ‘Wordpress Default’ theme v1.6 (by Michael Heilemann))
  • Dummies photo from iStockPhoto

I hope you guys find this useful. Please let let me know if you do by commenting below! I certainly plan on using it myself for the foreseeable future.

39 comments

Comments RSS | Jump to the comment form

  • Sean Delaney

    27.01.08

    Gravatar icon

    #

    Hi Elliot

    You seem very busy - i’ve had about 7 twitter txts from you today already!

    I was actually thinking of doing this myself today and have been looking at the default wordpress theme trying to work out how I’m going to strip it down.

    I think your blog post just came at the right time and it will save me alot of time so I’ve downloaded your clean slate theme!

    Cheers

    Sean

  • Jina Bolton

    27.01.08

    Gravatar icon

    #

    Have you looked into Sandbox? It has very minimal styling and is filled with Microformatty goodness. Speaking of — is Starkers free of Microformats now? I think I’d have left that in, but hey, it’s not my theme. :D

  • Elliot Jay Stocks

    27.01.08

    Gravatar icon

    #

    Wow - that was quick!

    @ Jina: Thanks - I hadn’t heard of Sandbox (looking into it now). And no, don’t worry, I didn’t remove any microformats (not that there are many in the default theme anyway). :)

  • ia

    27.01.08

    Gravatar icon

    #

    To answer your question on Twitter (heh), I think that yes, I almost always modify the base theme because some code in it just feels like excess baggage. At least in certain projects. (I must rant about things like why not enclose the whole comments_template block with #comments just for good measure. But that’s just me.)

    I think the default needs a bit of updating. Just a tiny bit, since WordPress is ahead of other (crappy) CMSs out there.

    I do agree that Sandbox looks nice, but say if you want control over where your dates, categories, etc. go, you’d have to edit the theme anyway. I love Sandbox, but if you’re going to release a theme that’s supposed to please many other people, it’s nicer to customize those things (much like Widgets :).

  • prisca

    27.01.08

    Gravatar icon

    #

    Elliot, thanks so much for sharing your template - been meaning to create one myself, for ages now… always start when I set up a new WP site, notice the same process, stripping out etc - decide to finally keep a clean copy of the template. And…. - then get carried away adding my design … and its too late, again… and again….

    for my next one I’ll use yours now - thanks :) much appreciated :)

  • Grant

    27.01.08

    Gravatar icon

    #

    Yep, I always find myself starting from the default theme and feeling like I’m wasting a lot of time. Thanks for sharing your work - it’ll be helpful.

  • xo

    27.01.08

    Gravatar icon

    #

    Thanks for sharing! It will literally save me hundreds, if not thousands of hours of time. :D

  • patrick

    27.01.08

    Gravatar icon

    #

    Thanks! I think this will really come in handy.

  • Myke Cave

    27.01.08

    Gravatar icon

    #

    Most of my designs follow a basic style as far as layout is concerned so after a while I’ve created my own default theme that I just duplicate any time I start a new project to save.

    I’ve never thought of using Sandbox or stripping down the default theme. I like to build from scratch or use my own base template.

    I’ll be interested in going through your theme and seeing what if anything I can pull from it…

  • Sulcalibur

    27.01.08

    Gravatar icon

    #

    Thanks dude.

  • Tom Hoad

    27.01.08

    Gravatar icon

    #

    Wow it was only today I was gutting the wordpress theme, so I’m going to take a look at this and see if it will save me some hours.

    What would be cool (and helpful) would be a barebones, non-formatted or minimal formatted CMS/blogging software. Just the scary stuff running in the background, but something that can give you ultimate control over styling without getting too deep into the ‘hardcore’ stuff :)

    Does this sort of thing exist already?

  • […] I finally made a new layout. Based heavily on a pattern and palette from Colourlovers (I need to link it) and Elliot Jay Stocks’s Free Bare Wordpress theme. […]

  • Darren Hoyt

    27.01.08

    Gravatar icon

    #

    Whenever I create a new Wordpress-based site, I find myself going through the same routine: installing the latest version, making a copy of the ‘default’ theme, and then tearing out all the styling and unnecessary HTML before starting on my own theme.

    Very strange timing — I’ve been sitting here all afternoon building a custom baseline Wordpress theme for these exact purposes.

    So far I’ve grabbed some essential bits from K2, Sandbox, SEO-Sandbox, Cutline and a few others and combined them with my own CSS framework. As Jina said, Sandbox is worth checking out to adapt some of the Microformats stuff.

    Anyway, I installed the Starkers theme and had a few suggestions (if you’re taking them!) …

    It looks like you’re using ‘functions.php’ leftover from the Kubrick theme. This file actually has some security vulnerabilities, not to mention most of it doesn’t apply to the Starkers theme. The ‘functions.php’ file for Sandbox actually contains lots of helpful bits which really leverage WP as a CMS. The functions file for K2 also has some tricky stuff in there, esp if you’re fond of building control panel options.

    Consider getting rid of other files which come with Kubrick but rarely get used: ‘attachments.php’, ‘rtl.css’, etc. Consider adding files which get used with every site, like print.css.

    For SEO/organization purposes, consider using more advanced conditionals for the <title> tag

    Separate trackbacks from comments in the ‘comments.php’ template

    Insert conditionals which print sublevel nav if you’re on a parent Page

    These are just some features I know I use over and over, maybe they’ll be helpful to others too.

  • Matt Munsey

    28.01.08

    Gravatar icon

    #

    Interesting, I don’t know why I never thought of doing this my self, considering half my client sites were built using Wordpress.

    I will have to take a look at yours when I get to coding my new site up, now that I have decided to stick with Wordpress instead of moving to Expression Engine.

  • Hamish M

    28.01.08

    Gravatar icon

    #

    Very cool Elliot.

    I’m actully using a modified version of the aforementioned “Sandbox” theme. It works great, and I encourage you to look at it and see what you can borrow (if anything) — I’ll definitely keep this theme in mind for my future projects.

  • Hning

    28.01.08

    Gravatar icon

    #

    Thanks for sharing your design elliot. It will increase my knowledge coz i do like reviewing design from other. Still in learning process… Anw, your site design is awesome, very awesome. But, i thought IE cant accept your ’semi transparent’ :)

  • […] the full details, a feature list, and to download the template proceed to Elliot’s Blog. Posted By: […]

  • Dave Stewart

    29.01.08

    Gravatar icon

    #

    I’d disagree with you on “Wordpress is an incredibly well-written blogging engine”.
    In my view, the API sucks badly! Mixed-up naming conventions, mixed up OOP and procedural coding practices, functions that return markup with formatting, functions that output directly to the page with no option to cache…
    You can muddle through, but a lot of it (I’m no expect) appears to me to be badly thought out, perhaps in the name of backwards compatibility?
    Good work on the theme though. Will check out that and Sandbox.

  • Jason Milburn

    29.01.08

    Gravatar icon

    #

    Sweet, thanks. I’ve only done one Wordpress theme, my own, but I’m sure this will come in handy next time.

  • […] nice wordpress themes for developers: 1. Starkers 2. Prologue Jan 29An entertaining episode from ImprovEverywhere. Mission: The Moebius Jan 29Say […]

  • Jermayn Parker

    30.01.08

    Gravatar icon

    #

    sandbox theme is nice but this theme promises to be stark naked were the sandbox theme is NOT!!!

    Its full of excess junk that is so pointless and to be honest probably holds more junk than the default theme.

    I am looking forward in using your theme man!
    Thanks

  • Dave Stewart

    30.01.08

    Gravatar icon

    #

    ======= BEVEL ALERT =======

    “When was the last time you used a Bevel, Elliot?”
    “Oh, about 5pm on 27.01.08, when I built a “download” icon for my `Free ‘Starkers’ Wordpress theme` blog post”

    Haaaaaaaahaaaaaa…

  • Scott Nelle

    30.01.08

    Gravatar icon

    #

    Nice one, Elliot. I’ve done something similar at work meant to solve a slightly different problem but it never occurred to me that it would be useful to others.

  • Jonny Haynes

    31.01.08

    Gravatar icon

    #

    Excellent work Elliot, you’ve just saved me a long night in front of my mac. I was about to do the same for fresh rebuild.

    Many thanks, and keep up the good work!

  • Hning

    31.01.08

    Gravatar icon

    #

    Elliot,

    OOT: If i open with IE there is added banner to not use IE. Is it a plugins? Or a self ceation. Thanks.

  • […] after I finished this draft I was over at Elliot Jay Stocks’ site and he posted about ripping out all the unnecessary do-dads in WordPress to give you a clean slate before […]

  • Elliot Jay Stocks

    31.01.08

    Gravatar icon

    #

    I’m glad you lot are finding this theme useful - I had no idea there’d be a demand for such a thing!

    I’d like to thank Jina again for telling me about Sandbox. Quite a few of you mentioned the theme and I’ve now spent a while looking into it. Right now, I can’t wait to try it out - although not as ‘naked’ as I’d like it to be (and so I may well make my own simplified version) the dynamic class name stuff it boasts is very cool. As soon as I’ve experimented with it, I’ll blog about my findings.

    @ Tom Hoad: I think the CMS you described pretty much sounds like Wordpress, to be honest. But if you don’t want to touch any code at all, Expression Engine appears to hide the code away a bit more, so it might be worth looking into that. This is what I’ve been told, anyway.

    @ Darren Hoyt: Thanks for the suggestions. As it currently stands, ‘Starkers’ is simply a cut-back version of the K2 theme, but now that I’ve looked into Sandbox, I’m seriously considering making a new ‘base’ theme. If so, I’ll try and incorporate some of your suggestions.

    @ Dave Stewart (1): I’ll have to take your word for it about the WP backend, mate - I’m afraid I was talking about it in terms of markup rather than PHP.

    @ Jermayn Parker: I don’t know… to me it seems like the stuff in Sandbox is also pretty relevant if you want to use its dynamic class names. But you’re right: it’s not naked. My advice to people would be this: if you want a good, solid base theme to work from that has advanced functionality you might want to tap into, use Sandbox. If you just want a plain, easy-to-use version of the K2 theme, use Starkers.

    @ Dave Stewart (2): Oi, cheeky! ;) But yes… *ahem* … well spotted.

    @ Hning: It’s a bit off-topic, but the IE thing is simply achieved by using conditional comments to serve up an IE-specific sylesheet. Take a look at the source code for more details.

  • […] Elliot Jay Stocks » Free ‘Starkers’ Wordpress theme I going with a theme for links today. I am prepping to build a new theme. So I figured I would track down a few really basic themes good for starting with. […]

  • Dan

    15.02.08

    Gravatar icon

    #

    Have you guys checked out Matt Brett?.
    He builds websites and then just attaches them to Wordpress. This is not as hard as it sounds. Some great info on the Wordpress site on doing this.
    Just trying your theme out now…..Cheers.

  • Riccardo

    16.02.08

    Gravatar icon

    #

    Thanks Master Elliot!!! :)
    I’m discovering the amazing possibilities of WP…

    ps: can u organize a web designer conference in london please?there are always based in the states…:( like aneventapart I might ask too much?

    see ya
    riccardo :)

  • Kevin deLeon

    29.02.08

    Gravatar icon

    #

    Great idea Elliot. I have often thought about doing this, and just never gotten around to it. It’s amazing how lazy one can be, even when it would save you work in the end haha.

    Will definitely be putting this guy to use. Thanks!

  • Shane

    02.03.08

    Gravatar icon

    #

    Nice one Elliot - many thanks. It’ll probably be a start point for me when developing future themes.

  • geraint

    06.03.08

    Gravatar icon

    #

    Hi Elliot,

    Love the site and i love the template but what puzzles me is why you haven’t stripped all the bespoke functions that are used in the kubrick theme to configure the header color… as in this template there completely obsolete.

    Thanks for the starting point tho!! great idea..

  • Camilo

    11.03.08

    Gravatar icon

    #

    Great Idea! I have never thought of something like this. I’ll use it. Thanks for sharing

  • Rob Smith

    14.03.08

    Gravatar icon

    #

    Cheers Elliot really useful stuff

  • Rod Falk

    21.03.08

    Gravatar icon

    #

    Great looking theme! I really like the layout. This will really come in handy. Thanks!

  • Kyle Meyer

    03.04.08

    Gravatar icon

    #

    Heya, forgot to mention to you at some point that both Typesites and my forthcoming blog design are both started with Starkers, and I’ve recommended it to more than a few new WP folks.

    As mentioned above, removing functions.php would be a good improvement (or, at the very least, empty it and just leave open/close PHP tags). The other thing that would be nice is if the comments.php file was updated now that Wordpress 2.5 has built in gravatars.

    Excellent stuff, and very much appreciated. :)

  • Benji

    03.04.08

    Gravatar icon

    #

    This was easy for me cause i use blueprint so i was able to create my own theme, ’cause editing some can be a pain!

  • Tim Norton

    29.04.08

    Gravatar icon

    #

    Thanks a bunch for the theme! I will use it a lot, in fact I used it this weekend creating my new theme. It’s a lot easier to start building than to be building and stripping down at the same time, trying to meet somewhere at a happy middle, but not being happy with it.

Have your say




You can use these XHTML tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <code> <em> <i> <strike> <strong>

Safari hates me

Search

Speaking engagements

Recent posts

Categories

Blogroll

UPDATED! I’ve been known to while away a few hours on these blogs, most of which are written by my friends in the industry...

Recent Comments:

Recent Reads

I've finally got round to blogging about life in Norway: http://moourl.com/zrmyz Complete with lots of photos on Flickr, too! 3 hrs ago

Flickr

View all of my photos on flickr


Last.fm


TOP

© 2004 - 2008 Elliot Jay Stocks
All right reserved. Full credits here.
Please consider supporting: