Tag: custom post types

  • WP_Query pagination problems? Here’s a hack

    It happens every time I use WP_Query. I get a beautiful-looking custom WP_Query. Then I try to add pagination and everything goes to hell. I’ve spent hours looking up solutions. Every time. Nine times out of ten, they don’t work. And for no discernible reason. Here’s a hack that worked for me, and is mostly… (read…

  • Display WordPress Custom Post Types by Meta Value

    This is going to be a developer-centric post. Anyone who isn’t familiar with WordPress development, custom post types and taxonomies and/or WP_Query can probably skip this one. I recently developed a site that uses a plugin that I developed to allow them to list all the products that they manufacture and distribute. The plugin uses… (read…