A guide to the Hybrid theme

Hybrid is a user-friendly, search-engine optimized parent theme, featuring 14 custom page templates and 8 widget-ready areas, allowing you to create any type of site you want.

What this means is that the possibilities are endless. It is about rethinking how WordPress themes should work. It looks simple on the outside, but you can do nearly anything with enough creativity. Everyone from first-time WordPress users to advanced developers and designers can take advantage of this theme.

What is Hybrid?

I've been dabbling in the art of creating WordPress themes since 2005 and Web site design a couple of years longer than that. In that time, I've come to realize that the reuse of code is a cornerstone of good development practice. Why code the same things over and over when I can build off the same codebase, continually making it better?

Hybrid is a parent theme that focuses on code reuse and upgradability. What this means is that all of the core functionality is housed within a single theme. And, any time one wants to make a modification, it should be done within a child theme. By doing this, the Hybrid parent theme can be upgraded (just like WordPress) without any loss of customizations.

Features

The theme has everything you need to get started building your site. Here's a list of some of the features:

Remember, those are just some of the features. Hybrid is a foundation that should make it easy to launch nearly any WordPress-powered site.

Child Themes

When I call Hybrid a parent theme, I mean it. It is meant to be used as a base theme to build from. What this allows us to do is extend it through child themes.

Yes, you can create your own theme. Even if you're a total noob to WordPress!

Just create a new theme folder in your /wp-content/themes directory. Call it something like My Hybrid or some other much cooler name. So, you'd have a directory like /wp-content/themes/my-hybrid. Then, create a style.css file within your theme folder. At the top, add this information:

/**
 * Theme Name: My Hybrid
 * Theme URI: http://link-to-your-site.com
 * Description: Describe what your theme should be like.
 * Version: 0.1
 * Author: Your Name
 * Author URI: http://link-to-your-site.com
 * Tags: Add, Whatever, Tags, You, Want
 * Template: hybrid
 */

Now, you have your own theme! Of course, you might want to style it.

You can import the parent theme's (Hybrid's) default CSS by adding the following code and modifying from there. Alternatively, you can start completely from scratch.

/* Import the Hybrid parent theme styles. */
@import url( '../hybrid/style.css' );

Theme Support

The most authoritative source for finding out how to use the theme or do some nifty stuff is the theme documentation. I'll constantly update it with tutorials and frequently asked questions.

We also have a vibrant community at the Theme Hybrid Support Forums where you can get help with Hybrid-related issues.

Important Notes

Page Templates: Many of the page templates currently begin with the prefix page-. This may conflict with your pages by overwriting the default template. For example, if you have a page named Bookmarks, the page-bookmarks.php template will be used. Unfortunately, this was a feature added to WordPress after the establishment of a standard template-naming scheme for the theme. These templates will eventually be renamed to have a prefix of page-template- to avoid the rare conflict. Right now, the templates exist for backwards compatibility for the 1,000s of current theme users.

Not enough flexibility?

The Hybrid theme isn't the greatest invention ever. It has limitations for more experienced developers, the biggest being the lack of control over the theme structure. It is a good base for people looking to just use CSS to quickly put out sites though.

If you're looking for more control than just being able to modify the design, you should definitely check out Hybrid Core, which is the theme development framework Hybrid and many other themes are built from. It gives you full control over the markup, design, and scripts for your theme projects.

Copyright & License

Hybrid is licensed under the GNU General Public License, version 2 (GPL).

This theme is copyrighted to Justin Tadlock and Theme Hybrid.

2008 – 2013 © Justin Tadlock.