Skip to content

Announcing: Twenty Twelve Schema.org Child Theme for WordPress

They’ve done it again. The team at Automattic have created a great new default theme for this year’s release of WordPress 3.4, Twenty Twelve. It’s an extremely well designed and well-written theme that incorporates great responsive design, an attractive, text-focused approach, and good best practices. I’ve been waiting to use it on my site since it was announced, and now that it is available in the WordPress.org Theme Repository I have been playing with it.

Of course that means that I need to add all of my Schema.org microdata enhancements back in–I can’t go from having all of that embedded, machine readable data to having nothing! So I applied the same techniques as I did for the previously released Twenty Eleven Schema.org child to this year’s theme, and it is ready for public consumption.

What is Schema.org and microdata? In short, it is invisible, enhanced markup that lets search engines and other system agents read about your content, including authorship, dates, tags, content delineation, etc., in a way that they can understand. To quote from my previous post about the T11 child theme:

Adding microdata to your site has several benefits. First and foremost, you contribute to machine readable data everywhere. The Internet is a wonderful place for humans to browse, but we can make it more accessible and more consumable if we let the computer figure as much of it out as it can. Second, search engines can use this data to get a better understanding of each page that it indexes, and hopefully provide more relevant search results. (Notice that I am not saying you are going to get an SEO boost for doing this. You may, you may not, I have no idea. But if everyone included this data on their sites, the results would be better.) There are no downsides really to simply plugging the data in.

So if you are using the new Twenty Twelve theme and would like to add this microdata to your site, then feel free to download and install the T12 Schema.org child theme on your blog. You can find a download, as well as a link to the source on GitHub, on the Twenty Twelve Schema.org Child Theme dedicated page.

Enjoy, and let me know how you are using it!

Published inProgrammingTechnology

4 Comments

  1. Since blog commenting isn’t as dominant as social media shares these days I thought I would buck the trend and leave a comment.

    I’ve looked at the dedicated page you have up for your theme and just for the sake of scan-ability I would suggest you include a list above the example detailing the microformats that you are implementing into the code. For me – as a developer – it was no problem looking at the code: seeing the changes you made and then understanding the use of each edit but even I had trouble ‘picking out’ the edits at a glance.

    I found this post by searching “twenty twelve child themes” and that will prove to be a highly searched keyword come the 3.5 update – but the demographic of the searchers aren’t usually going to be full time web devs like you and I so just a little piece of advice from one dev to another: include a list of the new mark-up on the dedicated page. 😀

    FYI I didn’t congratulate you on beating me to this lol I notice on the dedicated page you’ve had a few compliments and even suggested that one user forks this on github. I think I may also do that and see what we can all come up with as a collective. WordPress, after all, is one huge collaboration.

    Great additions to the stock code… I will be stealing them haha

    • Thanks William, glad you find it helpful. Definitely fork it, and when you come up with great additions, issue a pull request or open an issue.

      As for denoting which formats have been added, it’s pretty singular. I have only added generic Schema.org markup to the code, so I haven’t been implementing a variety of different formats. Just the one (hence the title). Also, because of that, my target really isn’t the casual WordPress user–I really am targeting more of the developer crowd, mostly because I don’t have the time to support all the casual user questions that come along with it. However, the suggestion is still good, and I’ll see if I can’t make it a little more apparent what is going on.

      • Ahh I get it. Microformats are not something I generally consider my specialty, far from it actually – copy and paste was the way I used them previously lol. I’m not one for turning down free information tho so I looked over the pages again.

        I hadn’t noticed that you’d only used the one type. I noted the numerous different tags like ‘time’, ‘person’ ect. and assumed that they were different things but after your comment (and a much needed re-read!) I understand that they are all part of the one sort of structured mark-up.

        Good call targeting this to the developers because I have just learned a wealth of new, highly important, information that will improve my websites. I’m seeing semantic structures appear in things that I had never even thought of organizing before now.

        Joshua – you have just blown my mind haha

  2. Like William allready mentioned – me too was searchig for “twenty twelve child themes” and got here. Thing that attracted me was mentioning of microformats because I wanted to implement them to one small project I will work on. This job you’ve done is huge help for anyone that want something more than just basic markup 🙂 Keep up the good work! 🙂

Leave a Reply to Joshua Cancel reply

Your email address will not be published. Required fields are marked *