Custom Field Taxonomies
scribu By scribu

September 26, 2012

Custom Field Taxonomies Plugin

Convert custom fields to tags, categories or taxonomy terms

Custom fields are great for storing various meta data about a post. However, if you routinely need to display posts that have a certain custom field value, you should consider switching to a custom taxonomy, which is better suited for grouping posts.

With this simple plugin, you can convert all custom fields with a certain key to terms in a certain taxonomy, while maintaining the post association.

Note: If you’re looking for the old version, see Custom Query Fields

Links: Plugin News | Author’s Site

Installation

  1. Unzip the archive and put the folder into your plugins folder (/wp-content/plugins/).
  2. Activate the plugin from the Plugins admin menu.
  3. Go to Tools -> CF Taxonomies

Screenshots

  1. The utility

    The utility

FAQ

Error on activation: “Parse error: syntax error, unexpected…”

Make sure your host is running PHP 5. The only foolproof way to do this is to add this line to wp-config.php (after the opening <?php tag):

var_dump(PHP_VERSION); 

Changelog

2.0.3

  • fixed severe bug in custom field dropdown
  • updated scbFramework

2.0.2

  • more detailed error messages
  • convert to any taxonomy with ‘show_ui’ => true

2.0.1

  • fixed error with existing terms
  • proper handling of custom fields with ‘,’ in them
  • more info

2.0

  • new direction: convert custom fields to taxonomy terms
  • more info

1.4

  • added support for ranges: ?price-min=100&price-max=300
  • security enhancements
  • more info

1.3.4

  • fixed “Remove duplicates” button
  • dropped support for WordPress older than 2.8

1.3.3

  • ajax-ed admin page

1.3.2

  • fixed meta_cloud() args

1.3.1

  • fixed “Save taxonomies” button
  • added two hooks

1.3

  • added AND, OR queries
  • fixed compatibility with Smarter Navigation
  • more info

1.2

  • revamped Admin Page
  • option to sort posts by key=value order
  • doesn’t mess with other loops except the main WP loop
  • more info

1.1

  • wildcard support
  • option to show posts that don’t match all key=value pairs
  • more info

1.0

0.9

0.8

0.7

0.6

0.5

Details

  • Version: 2.0.3
  • Active installations: 90
  • WordPress Version: 3.2
  • Tested up to: 3.4.2

Ratings


5 Stars
4 Stars
3 Stars
2 Stars
1 Stars