Tag: Building Quality WordPress Themes

  • Building Quality WordPress Themes – Theme Check Plugin

    by

    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 WordPress.org 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,…

    Read More →

  • Using stripslashes() with Theme Options

    Using stripslashes() with Theme Options

    by

    **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…

    Read More →

  • Limiting WordPress Search to Custom Post Types

    Limiting WordPress Search to Custom Post Types

    by

    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…

    Read More →

  • Conditional Tags for Custom Taxonomies in WordPress

    Conditional Tags for Custom Taxonomies in WordPress

    by

    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(…

    Read More →

  • Building Quality WordPress Themes – Theme Unit Test

    Building Quality WordPress Themes – Theme Unit Test

    by

    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…

    Read More →

  • WordPress 3.1 and Post Formats

    WordPress 3.1 and Post Formats

    by

    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…

    Read More →

  • Building Good WordPress Themes – Error Logging

    Building Good WordPress Themes – Error Logging

    by

    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…

    Read More →

  • Building High Quality WordPress Themes

    Building High Quality WordPress Themes

    by

    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…

    Read More →