‘WordPress Templates WordPress Skins WordPress Themes’ Category

Ian Stewart On Child Themes – Part 2

6
responses

This is the second part of a 2 part interview with Ian Stewart on child themes. Enjoy.

5. Speaking of child themes and theme frameworks, can you explain how one would upgrade a child theme when a theme framework is involved?

From the end users perspective there’s really no change in how you use a Child Theme as opposed to a regular theme and there’s really no change in how you upgrade that theme. Even if a theme framework is involved.

But the process of upgrading that Child Theme can be improved on. One thing I do in the pre-designed Thematic Child Themes I release commercially is add in a function that looks for a “variant.css” file in the wp-content directory. That function lets you make minor changes like adding background images and changing colors within variant.css without touching the original Child Theme CSS, making it ready to be upgraded itself without headache or incident—just like the framework it’s building on top of.

6. How do you see theme frameworks and child themes affecting the premium theme market?

Hugely. I see theme frameworks affecting the commercial theming market hugely. Frankly, if you’re making money through WordPress themes, either by selling pre-designed themes or creating custom ones for individual clients, and you haven’t taken a good hard look at using Child Themes in your business you’re wasting your time.

Consider this scenario: your company, or Theme Club, or who-knows-what, releases a GPL Theme Framework through the WordPress Themes Directory that the whole community can enjoy. You create a WordPress Child Theme for an individual client that builds on top of that framework, or maybe release a pre-designed Child Theme for it commercially on a Theme Club site. And because you’re awesome, money rolls in.

Now, when WordPress eventually changes—for the better, of course—you’re going to have to update some of that theme code. But! you’re probably only going to have to update the code in your Parent Theme—just like I mentioned in the example earlier with ThemeShaper.com and Thematic. What does that mean for your business? Because you’ve released the framework through the Themes directory every one of your clients will receive automatic notification of the upgrade and—thanks to changes in WordPress 2.7—they can download and install the upgraded theme almost instantly with the click of a button in the WordPress admin. Now, if you’re cutting theme maintenance down you’re freeing up more time to work on other areas of your business. Like, designing more Child Themes and making more money.

And even if you’re not releasing your theme framework through the WordPress Themes Directory, frameworks and Child Themes are still going to make your life easier. As professional WordPress theme developer Darren Hoyt says, “anyone who builds a quantity of WordPress sites throughout the year would be crazy to not already have their own baseline theme” (http://www.darrenhoyt.com/2008/09/18/exploring-wordpress-frameworks-and-child-themes/). And the easiest way to make changes to that baseline theme, while treating it like a real framework, is by using a Child Theme.

7. Do you think that if this trend becomes popular, would end users see a battle between the best theme frameworks via theme authors?

Absolutely. Everyone that’s ever released a WordPress theme knows about the warm feeling you get from people—often a lot of people—actually using your work (that’s not facetiousness, it’s one of the main reasons I think people keep on releasing themes). But there’s also a whole host of other benefits like increased site traffic, link building and authority in the community that provide you opportunities for making money by releasing themes for free or commercially. Sometimes a lot of money. All those benefits start to compound when you start talking about releasing a theme framework. A popular theme framework has the potential to become a self-advertising, lead-generating, service-selling machine. I think theme authors are starting to realize what that can mean for them which means, in turn, that we’ll probably soon see a whole bunch of theme frameworks popping up.

But really, a theme framework is just a good WordPress theme. We should hope there’s a battle to create the best GPL theme framework. That’s a battle where everybody in the WordPress community wins.

8. Would you care to share any other knowledge or information with our readers that you would like to cover with regards to this topic?

There’s actually a fair bit of information out there now on how to work with Child Themes. I’ve compiled a quick list of links that should give you all the information you need to get started.

Any WordPress Theme Can Be a Blank Framework (http://themeshaper.com/wordpress-theme-blank-framework/)

How I used a WordPress Child Theme To Redesign My Blog The Smart Way (http://themeshaper.com/functions-php-wordpress-child-themes/)

A Revolution in Theming: WordPress Theme Frameworks (http://themeshaper.com/revolution-wordpress-theme-frameworks/)

How To Protect Your WordPress Theme Against Upgrades (http://themeshaper.com/how-to-protect-your-wordpress-theme-against-upgrades/)

The WordPress Codex (http://codex.wordpress.org/Theme_Development#Theme_Style_Sheet)

Designing for The Sandbox (http://code.google.com/p/sandbox-theme/wiki/DesigningForSandbox)

Creating WordPress Child Themes (http://wangenweb.com/2008/07/creating-wordpress-child-themes/)

Theme Inheritance (http://extralogical.net/2008/08/theme-inheritance/)

How to make a “child theme” for WordPress. A pictorial introduction for beginners (http://op111.net/p53)

Exploring WordPress Frameworks and Child Themes (http://www.darrenhoyt.com/2008/09/18/exploring-wordpress-frameworks-and-child-themes/)

Frameworks, Child Themes, Filters, and Hooks? (http://wpcandy.com/articles/frameworks-child-themes-filters-and-hook.html)

Brainstorming the Ultimate WordPress Theming Framework (http://ptahdunbar.com/my-projects/brainstorming-a-wordpress-theming-framework/)

Carrington (http://crowdfavorite.com/wordpress/#themes)

[Continue Reading...]

Ian Stewart On Child Themes – Part 1

25
responses

Child themes are a trend which appears to be gaining traction everywhere you look. Theme authors such as Ian Stewart, Justin Tadlock and Darren Hoyt are just a few of the influential people pushing this concept. In order to try and grasp an understanding of child themes, I interviewed Ian Stewart of Themeshaper.com. His responses were so long, this interview will end up being published in two parts. Here is part 1.

1. First off, could you please explain what Child themes are in the simplest way possible?

A Child Theme is a WordPress theme that installs and activates just like any other WordPress theme—with 2 crucial differences. Firstly, it requires no PHP template files of it’s own to work. That’s because it uses the template files of a defined Parent Theme. The Parent Theme must be installed—but not activated—in your blog’s themes directory for the Child Theme to work.

Secondly, as of WordPress 2.7, template files located in your Child Theme folder will be used instead of the template file in your Parent Theme folder. Don’t like how the header is coded up for a particular theme you want to edit? Copy the header.php file from your Parent theme into your Child Theme folder and make the change there. WordPress, as of 2.7, will look for header.php (or any possible template file) in the Child Theme first and use the Child Theme template file instead. This new feature in WordPress 2.7 makes custom theming really exciting and even easier.

It’s really very simple to make your own Child Theme. So simple, I can tell you and your readers how to do it right here in four ridiculously easy steps. It’ll help you get your head around using a Child Theme if you follow along (with a test blog—this’ll be easy but our test theme isn’t going to be pretty).

1. Make a folder in your blog themes directory called “achildthemetest”.

2. Create a “style.css” file in that folder with the following code copy-pasted into that “style.css” file.

/*
Theme Name: A Child Theme Test
Theme URI:
Description: Trying out a Child Theme with the classic theme
Author:
Author URI:
Template: classic
Version:
*/

/*
For the sake of simplicity we're going to import
the classic stylesheet and override the styles.
You don't have to do this though. You can just
start fresh with new CSS or copy over large chunks of
the original styles and edit them here.
*/
@import url(../classic/style.css);

/*
Now, for a demonstration, let's make all the anchors red.
*/
a {
color:red;
}

3. Refresh your blog’s theme directory in the WordPress admin. You should see a theme called “A Child Theme Test”. It’s using the classic theme as a Parent Theme. If you look at the code above you should see a line that starts with “Template” it’s there that we defined that Parent Theme as “classic”, the folder name of our Parent Theme (which could be any installed theme).

4. Activate your new Child Theme and check out your blog. Are all the links in the main content area red? Congratulations. You just made a WordPress Child Theme. You can now edit your WordPress theme of choice—in this instance, the Classic theme—through CSS alone without having to modify any of the original template files. (If you’re a more advanced WordPress developer you can also include a functions.php file in your Child Theme that lets you interact with WordPress and your themes just like a plugin. But that’s another story altogether.)

2. What are some of the benefits that child themes offer versus stand alone themes?

There’s 2 main benefits for the end user when it comes to using a Child Theme versus editing a theme directly: Simplicity and Upgrade-readiness. To explain, I’ll tell you why I use a Child Theme of my own theme, Thematic, on ThemeShaper.com. That’s right, I’m not even editing my own theme directly on my own WordPress Theme blog.

Firstly, it really is just simpler. I currently have only 2 files in my Child Theme folder: style.css and functions.php. Everything else is coming from the same Thematic template files anyone can download and use. When I want to change the look of my theme, I do it in style.css. If I want to get really serious with theme changes, like, plugin-serious, I write some simple code in functions.php. I don’t think about my Parent Theme and, excepting the XHTML it eventually outputs and displays in my browser, I don’t even look at it. Except! Except when it comes time to upgrade.

When I need to upgrade Thematic, my Parent Theme, I can do so without worries. That’s because I haven’t touched the original template files. I haven’t edited the header. I haven’t edited the footer. I haven’t edited single.php. Or index.php. All my theme edits have been made in the stylesheet and functions file of my Child Theme.

Look at it this way: I have another blog I manage with a really fresh and distinctive design that I get compliments on all the time. Unfortunately, I made that design by hacking up and heavily modifying The Sandbox version 0.6. If I wanted to upgrade to a newer version of The Sandbox I’d have to recreate that design. That means I’d have to pull the theme apart, find all my changes, and reintegrate it with a newer version of the theme. If I’d made the modifications in a Child Theme upgrading would mean uploading a newer version of The Sandbox and, well, that’s it really. How long does it take to upload a theme? 10 seconds? When you’re using a Child Theme, upgrading turns from a day long affair into a 10 second chore that can be done while you’re reading weblogtoolscollection.com.

3. Based on what I’ve seen, the child theme trend is really starting to gain traction thanks in large part to you and other theme designers. How long has the ability to develop child themes been available for WordPress? If it’s been available to develop for some time now, why is it that we are only now starting to see heavy development in this area?

As far as I can tell, Child Themes have been available since version 2.1. But I first heard about Child Themes when I entered the Sandbox Designs Competition (http://sndbx.org/). Every entry there is a Child Theme that defines The Sandbox as it’s Parent Theme and modifies the theme with CSS alone. Consequently, I think a lot of the credit for popularizing Child Themes needs to go to Scott Wallick (http://www.plaintxt.org/), co-creator of The Sandbox and organizer of the Sandbox Designs Competition.

But that brings us to why I don’t think there’s been much talk about Child Themes: I think there’s sort of a lack of faith amongst theme authors and users when it comes to what you can actually do with CSS. WordPress developer and theme author Ben Eastaugh thinks that “one reason it hasn’t been more widely publicized is that [modifying Parent Themes with CSS] wasn’t, as it stood, terribly useful” (http://extralogical.net/2008/08/theme-inheritance/). I’d disagree with that in principle but that sort of sums up the feeling of theme authors that have been ignoring this feature.

And, by the way, if you don’t think Child Themes can really do anything with CSS alone make sure you check out the winning entries in The Sandbox Designs competition (http://sndbx.org/results/) or the oft-mentioned and linked to CSS Zen Garden (http://www.csszengarden.com/).

But regardless of what you think you can do with CSS alone, now that WordPress 2.7 let’s you overwrite Parent template files from your Child Theme I expect we’ll be seeing more and more people using them.

Plus, there’s a few other WordPress developments in the works that’ll likely further popularize this method of theme modifying. Namely, the WordPress.com Themes Marketplace and allowing GPL Child Themes to be released through the WordPress Theme Directory.

4. Before we move on, could you explain what a theme framework is? Perhaps providing a few examples for the readers.

In my mind, a Theme Framework would be a theme that, at the very least, was made with clear intentions of being used to develop further themes. A starting point theme if you will. I think a good Theme Framework also shows consideration of, or planning for, what can be done with Child Themes, now and in WordPress 2.7+. And that’s because, really, you shouldn’t be touching a framework if you can help it.

Think of WordPress as a framework where the contents of the database are output in a controlled fashion by your theme. We don’t go in and tinker with the WordPress core in order to make our themes work better (well, some people do but that’s another story again). The same thing with a theme framework. We can modify the theme framework with our Child Themes and leave the framework pristine for easy, safe upgrades.

This concludes part 1 of the interview. Stay tuned for Part 2 which will be arriving shortly.

[Continue Reading...]

WordPress Theme Releases for 10/03

10
responses

Desk Space

wood-bg-dark-150x150

Desk Space is a premium free and feature rich WordPress theme. It comes with a robust set of built in features and plugins, including the ability to switch out the background wood finish color to one you like.

Spicy Typography

spicy-typography-screenshot

Two column, widget ready, fast loading theme.

Under Water

underwater

Two column, Blue, White, Purple, Grey and Black widget, ready fixed width theme

Simply Ornate

simplyornate

Two column theme designed with the main focus being on patterns and typography and comes in 5 flavours.

[Continue Reading...]

Revolution Theme Going Open Source

14
responses

Revolution Theme Going Open Source: Brian Gardner’s Revolution Theme for WordPress is going 100% Open Source. All the themes that are currently on Brian’s Revolution site will no longer be available as or October 31st and will be replaced with a set of new themes that will be developed and released under the GPL. The original Revolution themes will continue to be supported for those who have purchased them in the past. The new GPL themes will also be sold in packages that include support, access to customizations, tutorials and other items. Brian explains his decision in the linked post, talks about his plans for the future of Revolution and explains why he chose to remove the original Revolution themes from his site.

I have met Brian at various conferences and we have become friends. In our past discussions on valid and financially viable models for theme developers and designers to adopt, Brian had expressed his concerns on adopting the GPL for his themes. Not that I had anything to do with this decision (I did not) but I had asked him to take a closer look and I had assured him that the community he could build around GPL themes would be supportive and would respond very positively. I applaud this move. Matt also posted about this change. Disclosure: Revolution Theme is an advertiser on this blog.

[Continue Reading...]

WordPress Theme Releases for 09/30

2
responses

StayPressed

staypressed

StayPressed is a free WordPress theme, with a double-column right hand-sidebar and a magazine style – kept simple, to let your blog content do the talking

Case

caseshot

Case is a dark WordPress theme with blue accents. It has an Ajax box in the sidebar that allows you to switch between categories, tags, recent comments, and recent posts without reloading the page and without taking up a lot of space, which keeps your blog nice and clean.

Iris

irispreview

Iris is a a two column WordPress theme with Iris like colors. The theme is mostly purple, with pink, and blue, with nice gradients and textures. It has nice rounded corners on every post to separate them and drive focus to the content. It is widget ready and ready to demo and download.

Designredux

designredux

Two column, black and white theme

Jin

Jin

Two column gravatar and widget ready theme  with ability to post images directly to the frontpage

Free Autumn

hello-autumn-theme-400x218

Three columns autumn theme with simple illustration for the header and maple leaf icon for the sidebar title.

PassionDuo

passionduo

Three column blue and white theme with a right and left sidebar

Ships Ahoy

shipsahoy

Ships Ahoy is three column, widget-ready theme.

With the impending release of WordPress 2.7, Otto has written a very nice article explaining how to get a theme ready for 2.7 to take care of the comments enhancements.

[Continue Reading...]

WordPress Theme Releases for 09/25

5
responses

Aqueous

aqueous

Three column, blue and white theme with a fluid later, designed for higher resolutions.

Talian Reloaded

talian-screenshot-banner

Talian is a 3 colomn premium theme with several new features (Post styling options, mini social bookmakers) and option pages e.g. custom sitemap, custom archives and custom link pages

WP Foto

wpfoto

Wp Foto theme is single layout theme designed for photo blogger. It uses custom fields for displaying thumbnail in home page, archive page, category and tag page.

Mediterranean

mediterranean

Mediterranean is a two column, widget ready WordPress theme, with right-hand sidebar, from an original XHTML template by DemusDesign.

[Continue Reading...]

WordPress Theme Releases for 09/22

3
responses

Pro Vehicles

pro-vehicles-theme

Simple two column WordPress theme

Alpen 3column

alpen

Three column, gravatar ready theme with two right sidebars

PClean

pclean

Two Column widget enabled minimalist wordpres theme

Clean News

clean-news

Inspired on Wired Magazine look, Clean News is a theme with a large content area, but it also has a wide sidebar that allows to display even a 300px width ad. Home and single sidebars are independent, both widgetized, so you can easily choose what and where to display. A lot of white space to make your content stand out, low weight and no plugins required. It will load in the blink of an eye.

[Continue Reading...]

WordPress Theme Releases for 09/19

5
responses

8some

8some

Two column fixed-width WordPress theme, with lefthand sidebar, enabled for widgets…

WP Strict

WPStrict

WP Strict is a real Magazine/Blog/Webfolio hybrid with two different page templates, custom fields and four different widgetized areas.

SEO Basics

seo-basics

Orange, black, and gray combined to create a clean, great-looking theme. Supports rotating 125×125 sidebar ads, widgets, gravatars, and microformats.

It’s a Boy

its-a-boy-header-screenshot

Two column, fixed width, widget ready green, black and white theme.

Red Lite

redlit

Red Lite is a simple 2 column red and grey WordPress theme.

Portfolio Press

portfolio-wordpress-theme-0918

Two column, black and grey theme with gravatar functionality with an exteremely small size.

[Continue Reading...]

WordPress Theme Releases for 09/17

2
responses

Otomot Garaj

garaj_theme

Otomot Garaj Theme is a simple video theme. You can watch own videos in your website.

Three Columns Blue

threecolumnsblue

It’s a 3 column, fixed width, widget ready theme.

Mini

mini

Simple, three column, white, widget and gravatar ready theme

Dark Blue

darkblue

Widget ready, 2 columns, fixed width, clean theme with right sidebar.

[Continue Reading...]



Obviously Powered by WordPress. © 2003-2013

css.php