Child Themes, Hooks, Actions, Filters simplified

May 27, 2010 | No Comments Yet

Ready to take it to the next level with WordPress? Here’s a 5-minute guide on essential advanced features to WordPress theming: child themes, hooks, actions, and filters.

The old, boring way is you open the theme files, starting from index.php, changing all <h2> tag to <h1>, then moving to the other files: archives.php, tag.php, category.php, doing the same thing over and over again, hoping you don’t miss anything.

Gah!

That is not clever because a) it’s too much work, and b) when the theme is updated, you’re screwed.

Wouldn’t it be better if you could just a) write the change once, have it applied globally, while b) at the same time not modifying the theme’s code?

Of course the answer is yes. Understanding how these four concepts in WordPress work is essential to building on a theme framework, creating plugins and widgets, and make developing with WordPress faster.

Leave a Comment | Tags: , , , , ,

P2 Theme updated

November 23, 2009 | No Comments Yet

The minimal, no-fuss microblogging theme P2 (descendant of Prologue) has been updated, which now has easier customization (including child theme support) and accommodates post types (ala Tumblr).

One of the first areas we thought could be improved was the ease of customization. Most people like to add their own personal touch to a theme, currently P2 is hard to customize beyond the standard design. We’ve added new options to allow you to hide the sidebar and even set a unique header image. All these options allow you to personalize your own P2 to match your tastes.

We’ve also introduced post types into P2. Now you can post different types of content and have them formatted and displayed in a way that fits the content beautifully. There are settings for standard posts, single images and galleries, as well as links and quotes. Selecting which post type to use is as simple as clicking the correct tab above the post box.

WordPress.com users can now enjoy the new version while self-hosted WordPress.org users can grab it here, while its page at WordPress Extend hasn’t been updated yet.

Leave a Comment | Tags: , , , , , ,

Include child themes in the WordPress Themes Directory?

November 11, 2009 | No Comments Yet

Patrick Daly examines the possibility of including child themes into the official WordPress Themes Directory, including previous discussions on it.

The inclusion of child themes in the official WordPress Themes directory is good idea because it gives themes greater flexibility and makes theme management easier for users. There’s a few problems to overcome before allowing child theme submissions into the directory, but nothing a little more brainstorming can’t resolve. I think with enough support from the community we could get this implemented rather quickly (who can even know what that means though?).

It will definitely mean modifications to the way to integrate them alongside the usual parent themes, but that’s what child themes are doing anyway—they’re changing the way we look at themes. If WordPress can officially push for this feature by way of the official theme directory, it’s a great step in easily developing themes on already available theme frameworks.

Meantime, check out Themelets, a site that features everything on WordPress child themes.

Leave a Comment | Tags: , , ,

BuddyPress to ship with a theme framework; will WordPress be next?

August 25, 2009 | No Comments Yet

Social networking platform BuddyPress has modified its theme structure to contain by default a theme framework, basically a parent theme which custom themes can override with child themes.

In BuddyPress 1.1 there will be one single theme to handle everything. BuddyPress will ship with a theme framework that acts as a parent theme. The default theme will be a child theme based on this framework and contains only images and css. Building a new BuddyPress theme will be as simple as creating a child theme based on the framework. If you’re not familiar with child themes a quick google search will bring up lots of useful information.

This makes theme development for a relatively more complex CMS much easier. But what’s more interesting about this is there are several WordPress theme frameworks already out there, and it looks like the BuddyPress development team has taken a cue from that. My question is: should future versions of WordPress also ship with a default theme framework just like BuddyPress? For those who aren’t familiar with the benefits:

When building a new theme you don’t need to re-create every template file. You can override specific template files where needed. Most importantly though, your theme will update automatically with the latest functionality when the framework theme is updated.

In the meantime, however, check out these 3rd-party theme frameworks for WP.

Leave a Comment | Tags: , , , , , ,

20 WordPress theme frameworks

July 27, 2009 | 1 Comment

Codefusion Lab lists 20 WordPress theme frameworks that can speed up your theme development process. Some highly reputable WordPress theme designers are behind these frameworks, so you can be guaranteed of quality platforms to build your WordPress theme on.

If you’re not a theme designer, don’t fret: several frameworks have child themes you can use straight out of the box, or if you feel like using super-customizable, option-filled starter themes, this is the collection to check out.

Leave a Comment | Tags: , , ,