JPD2

Created by: Josh Pollock

Rating:
Downloaded: 2k times

Makes caching the results of a WP_Query, WP_User_Query and WP_Meta_Query, via the transients API easy. Realize increased performance, by caching the results of your queries, with one simple function.

All saved queries are automatically reset when any post is updated.

Basic usage:

  • Specify arguments for the query ($args)
  • Give the query a name ($name)
  • $query = jpd2_better_query( $args, $name );
  • Use $query like you would any other WP_Query object.
  • See FAQ for other usages

Screenshots

    Categories

    Get New Themes & Resources