How to develop and release a core theme for WordPress blogs


Developing a Core Theme

If you’re a theme designer, or just an aspiring one, and you want to develop WordPress-based sites, then you really need a basic core theme. Here’s why:

  1. It is a time saver. Every time you need to start a new WordPress project, you have a basic and easy to edit/alter/break theme to begin with.
  2. It is familiar. When you’ve spent hours and hours hacking a theme, possibly for several different projects, then you’ll feel right at home when going at it again and again.
  3. It is easy to keep up-to-date. If you keep your core theme up-to-date, you won’t have to struggle with new functionality all the time: just update once, and there you have it.
  4. It may make client updates easier. Assuming you’re building your sites as child themes standing on your core theme’s shoulders, updating client sites with new functionality shouldn’t be a problem.

In this article you’re using the Notes Blog Core theme (by yours truly) as an example. You can use it as your own basic core theme to build upon, whether you do this by hacking the theme directly to fit your needs, or by applying the child theme concept to it; this is up to you. The theme is free to use in just about any way you like, from personal sites to a basis for commercial projects.

Should you not want to use Notes Blog Core you can either create your very own basic core theme from scratch (or copy and paste your way, with sensibility of course), or find a theme framework that fits you. There are several to choose from online, and a quick search will give dozens of promising hits. What you do need to be wary of is the license, since you want to be able to use your basic core theme any way you like without paying for every setup or something like that. If your core theme of choice is a premium theme, there is most likely a developer’s license that gives you these rights, but if you’re reading this article, chances are you’re better offspending some time creating your very own core theme.

So what should the core theme do then? Well, everything you think you need on a regular basis, and absolutely nothing more. The last thing you want is a bloated core theme that may look good in itself, or perhaps suit one kind of WordPress site, but be entirely overkill for others. It is a better idea to keep an extras library with stuffyou won’t need all the time, from custom code to small code snippets and template files, and deploy these things only when needed. After all, you want the final theme to be as tight as possible, without being hard to maintain. To sum up:

Say you’re the generous kind and want to share your brilliant core theme, or a variant of it at least, with the general public. Good for you, that’s very much in line with the open source spirit. But if you’re gonna do it, then let’s make sure you do it right!

Releasing a Theme

Releasing a theme to the WordPress community is always appreciated. As of WordPress 2.8, the offi cial theme directory offers theme installation from within the WordPress admin interface, which makes it all the more interesting to host your theme there. That way, the WordPress site will also make sure that sites use the latest version of the theme, and should they not the option to upgrade automatically through the admin interface will present itself. That is assuming you keep your theme up-to-date in the directory, of course.

When you release a theme, it should, of course, be fully functional, preferably validated, and not a complete copy of someone else’s work. See the theme checklist below for more on what you should consider before releasing your theme.

It may be tempting to sell your theme. Commercial (or premium, as they are sometimes called) themes are a reality, and there are licenses for sale with support programs, as well as other solutions that work around the GPL license that WordPress carries. Why should that matter to you and the theme you want to sell? Well, since WordPress is licensed under GPL, that means everything relying on WordPress is also covered. This is rocky ground to say the least, and you should consider how you license your theme carefully. It may also be good to know that the directory on wordpress.org only accepts themes compatible with the GPL license, which has sparked a mass conversion of premium themes to GPL.

Legal Disclaimer

Our website is not responsible for the information contained by this article. Webworldarticles.com is a free articles resource thus practically any visitor can submit an article. However if you notice any copyrighted material, please contact us and we will remove the article(s) in discussion right away.


This article was sent to us by: Gary Drumer at 05172010

Related Articles

1. When to Use Wordpress functions php
When to Use functions.php When, then, is it really a good idea to use functions.php? I have a rule for that too: only use functions. php when the added function...

2. Are you using WordPress as a CMS
WordPress as a CMS Using WordPress for things other than blogging is something that comes naturally to a lot of developers today, but not so much for the ge...

3. Things to Consider When Using WordPress as a CMS
Things to Consider When Using WordPress as a CMS So you’re considering using WordPress as a CMS for a project huh? Great, and probably a good choice too...

4. Trimming WordPress to the Essentials
Trimming WordPress to the Essentials Usually, when doing work for clients or other people within your organization, you’ll have to think a little bit diff...

5. Wordpress Static Pages and News Content
Static Pages and News Content I touched upon static Pages and categories as a news model previously. It is truly a great tool whenever you need to roll out a ty...

6. Making Widgets a Little More Dynamic
Putting Widgets to Good Use Widgets and widget areas are your friends when rolling out WordPress as a CMS. It is perhaps not as important for the small and stat...

7. Wordpress The Header and Footer Templates
The Job Board The first special project we’ll work on is a job board. You have probably seen this kind of site already, where people and companies can pos...

8. When using TDO Mini Forms to build this solution
Receiving the Jobs There are numerous ways to receive the actual content for the job listings. The easiest way would be to just have people e-mail listings to y...

9. Running a Web Shop on WordPress
WordPress and E-Commerce It goes without saying that WordPress can be used to sell stuff. In its simplest form you’ll run a weblog or traditional site wit...

10. Powering a portfolio site with WordPress is a great idea
Building for E-Commerce So you’ve decided to use WordPress as a basis to sell products big or small, a lot or a few, doesn’t matter. Now you need to...