Josh Pollock
Josh Pollock writes about WordPress, does theme and plugin development, serves as the community manager for the Pods Framework and advocates open source solutions for sustainable design. You can learn more about him on his website and by following him on twitter @Josh412.
  • Code
    Adding Custom Fields To WordPress ProgrammaticallyWordpress
    Learning the basic methods for creating and setting the values of custom WordPress meta fields programmatically is the first step to creating powerful plugins or complex content management sites.Read More…
  • Code
    Using The WordPress Custom Field User InterfaceWordpress
    In the first post in this series, I covered what custom fields are and why they are important. I also gave an overview of the various ways to add them to WordPress posts. In this article, I will cover the Custom Fields User Interface.Read More…
  • Code
    Exploring WordPress Custom Fields and Why They're ImportantValidating wordpress preview
    WordPress' post meta table is an almost totally blank slate waiting for you to use it to power a content management site or a plugin. In this series I will show you various ways to create and update custom post meta fields.Read More…
  • Code
    Creating and Submitting a Patch to WordPress CoreWordpress core patch
    If you are someone who uses WordPress to earn a living and to tell your story, seeing a change that you wrote added to the WordPress code base is a pretty exciting thing. I know it was for me. In this tutorial, you will learn the few simple things you need to know in order to create a patch for WordPress that can be accepted into the core software.Read More…
  • Code
    Getting The Most of Post Formats: Content Organization ToolsPostformats
    Recall what I said before about post formats not being an organizational tool? I change that up a bit: As long as you're marking your videos as videos, images as images, etc., you might as well use that to organize your site, instead of adding redundant taxonomies.Read More…
  • Code
    Getting The Most of Post Formats: Bulk Updating Post FormatsPostformats
    Now that I've convinced you of how cool post formats are with my previous posts in this series, you might be worried about having to go back through all of your posts, opening each one and manually setting its post format. Let me show you how to automate the process.Read More…
  • Code
    Getting The Most of Post Formats: Designing for Content PartsPostformats
    So far in this series I've introduced you to what post formats are, and how to use different templates for different post formats in the loop. In this post I will show you how to set apply different css to parts of a post's content based on the post format.Read More…
  • Code
    Getting The Most of Post Formats: Using Post Formats In The LoopPostformats
    Learn how to effectively control the main WordPress loop to get the most of post formats.Read More…
  • Code
    Getting The Most of Post Formats: What Are Post Formats?Postformats
    In this series, I will be introducing you to WordPress post formats, dispelling some of the confusion surrounding them and showing you how to put theme to use in your themes. Post formats may be misunderstood, and have a misleading name, but they are still one of the more powerful tools at a theme developer's disposal. Once you understand post formats you will be able to use them to ensure that all of the different types of posts on a site that your theme is used on display properly, while avoiding using unneeded custom post types that limit data portability.Read More…
  • Code
    Mastering WordPress Meta Data: Querying Posts and Users by Meta DataMetadata
    So far in this series you've learned how to access WordPress meta data, and work with the arrays in which they are returned. We don't just add custom fields to WordPress posts so we can display this information, but it also so we can sort by it. Now that you know how to retrieve and display meta data, it's time to learn how to customize the WordPress loop to return only posts with specific meta values.Read More…
  • Code
    Mastering WordPress Meta Data: Working With LoopsMetadata
    In the first two parts of this series, we covered what meta data is in WordPress and how to work with the arrays that are typically returned. Now that you've learned to do the detective work necessary to find the structure of an array, it's time to learn to use loops to automate the process of outputting an array. Once you learn this important skill you will never have to write repetitive HTML markup again.Read More…
  • Code
    Mastering WordPress Meta Data: Understanding and Using ArraysMetadata
    In the first part of this series, we covered what WordPress meta data is, how it can be retrieved, and the various data types (such as objects or arrays) in which it can be returned. Now it's time to learn about the different types of arrays. When you write an array manually you know what its structure is an what the name of each index is. But when you are building arrays by querying a database, you are going to need to do some detective work to determine the structure of the data returned and the names of the indexes.Read More…