Building Quality WordPress Themes – Theme Check Plugin

We’re continuing on our topic of writing quality WordPress themes by looking at the Theme Check plugin. Theme check was originally developed to give people writing themes for the repository a way to check their themes for compatibility with the theme review requirements before they uploaded their theme for review. If you’re not aware, […]

Using stripslashes() with Theme Options

**Update:** This is not the right way to do this. Use WordPress functions to sanitize data. April 27, 2012 While I might be showing a bit about my PHP naivety but while working with theme options recently I found that some of my content had a just before a single quote. Now I knew it […]

Limiting WordPress Search to Custom Post Types

I have now written a more extensive article on WordPress search at [WP Theme Tutorial][search]. While working with custom post types I’ve found the need a few times to search only within the custom post type. A great example would be on a list of community resources. On the resources page it would make sense […]

Conditional Tags for Custom Taxonomies in WordPress

WordPress 3.0 gave us custom taxonomies and since we’re using them regularly we’re also getting into conditional tags with our custom taxonomies. Conditional tags for taxonomies differ from conditional tags for regular categories or tags. Below is an example of using a conditional tag for the standard ‘misc’ category found in WordPress. [php] if( is_category( […]

Building Quality WordPress Themes – Theme Unit Test

A while ago I wrote about error logging in WordPress. Today we’re going to look further at testing your theme by using the WordPress Theme Unit Test. The Theme Unit Test is really just a sample data file to download with a bunch of things for you to check on your theme. I just have […]

WordPress 3.1 and Post Formats

WordPress 3.1 is just around the corner so let’s take a quick look at one of the new features that we’ll get to take advantage of with the new version. What are Post Formats Basically post formats are little bits of meta information meant to change the display of the posts. So a link post […]

Building Good WordPress Themes – Error Logging

We’re working on something like a series providing tips and talking about building solid WordPress themes. Today’s short tip is about setting debug options in your wp-config.php file. WP_DEBUG handles error display in WordPress. If you’re building a theme you need to make sure that no errors are a result of your theme. You can […]

Building High Quality WordPress Themes

Lately I’ve been working through WordPress documentation on the recommended best practices for building WordPress themes. I figure that going through all the recommendations of WordPress not only teaches me how to be a better WordPress developer but also lets me server my clients better (and doing the best work for my clients is what […]