WordPress.org

Plugin Directory

CPT-onomies: Using Custom Post Types as Taxonomies

Use your custom post types as taxonomies. Create powerful relationships between your posts and, therefore, powerful content.

1.3.4

  • Changed default CPT-onomy labels to match the custom post type labels.
  • Added 'custom_post_type_onomies_cpt_onomy_labels' filter which allows users to change the CPT-onomy labels.
  • Fixed issue when using an array as your query orderby.
  • Fixed issue with CPT-onomies not showing all of the correct results.
  • Fixed issue with "other" custom post type settings not displaying their values.
  • Fixed issue with get_adjacent_post() that was causing issue with next_post_link() and previous_post_link().
  • Added 'admin_column_title' CPT-onomy setting.
  • Added 'custom_post_type_onomies_cpt_onomy_admin_column_title' filter which allows users to change the CPT-onomy admin column title.
  • Added 'name_admin_bar' custom post type label setting.
  • Added 'delete_with_user' custom post type setting.
  • Added warning messages for when CPT-onomy terms might be conflicting with taxonomy terms.
  • Added action button to delete conflicting taxonomy terms.
  • Changed CPT-onomy capability prefixes to include ‘cpt_onomy_’ to help decrease compatibility issues with regular taxonomies.

1.3.3

  • Fixed bug that was causing issues for multiple tax queries.
  • Optimized queries to help with memory problems.
  • Fixed PHP Parse error in cpt-onomy.php file for those who are running PHP < 5.3.0.

1.3.2

  • Fixed a few WordPress 4.1 bugs.
  • Brought register_cpt_onomy() outside the manager class for ease of use.
  • You can now attach CPT-onomies to media.
  • Added hook to flush rewrite rules whenever settings are changed and an upgrade is run.
  • Added 'Show In Admin Bar' setting to custom post type registration.
  • Added 'Meta Box Title' property to CPT-onomy settings, to allow you to customize the title of your CPT-onomy meta boxes.
  • Added 'custom_post_type_onomies_meta_box_title' filter which allows users to change the meta box title.
  • Fixed a bug with admin drop down filters not tied to 'show_admin_column' setting.
  • Removed CPT_ONOMIES_URL constant and replaced with plugins_url().
  • Updated jQuery Validate script to version 1.13.1.
  • Added functionality so when using autocomplete to assign CPT-onomies and term doesn't exist, clicking "Add the term" auto-populates the post title for the new term.
  • Reinstated the ability to make the CPT-onomy admin columns sortable. Disable the columns from being sortable by returning false to the 'custom_post_type_onomies_add_cpt_onomy_admin_sortable_column' filter.
  • Added ability to order posts queries by a CPT-onomy.
  • Changed enqueueing of scripts and styles to use plugins_url() and made sure no versions were used.
  • Fixed bug that was causing memory problems for those with a lot of posts.
  • Added/fixed rewrite rules for pagination and feeds.

1.3.1

  • Documentation has moved to wpdreamer.com.
  • Fixed a bug with WP < 3.5 'show_admin_column' setting not tied to actually showing the column.
  • Fixed Bulk and Quick Edit to work with WP >= 3.5 register_taxonomy() 'show_admin_column' columns.
  • Added 'cpt_onomy_created_object_term_relationship' action, allowing users to run code when relationships are created.
  • Added 'cpt_onomy_deleted_object_term_relationship' action, allowing users to run code when relationships are deleted.
  • Tweaked 'supports' setting to prevent default (title and editor) behavior if no 'supports' are selected. Must have WP 3.5 or greater.
  • Fixed the "Redefining already defined constructor" issue for PHP5.
  • Edited CPTonomy_Walker_Terms_Checklist::start_el() to match Walker::start_el() and align with strict standards.
  • Removed all instances of default function parameter values in Javascript.
  • Fixed issue with wp_set_object_terms() not working with CRON.

1.3

  • Added multisite custom post type manager.
  • Added setting to assign the meta box format, i.e. autocomplete, checklist or dropdown.
  • Added "Show Admin Column" to the CPT-onomy settings.
  • Deprecated the ability to make the CPT-onomy admin columns sortable in order to align with new, default WP taxonomy admin column functionality.
  • Deprecated the 'custom_post_type_onomies_add_cpt_onomy_admin_sortable_column' filter.
  • Added support for the "Gravity Forms + Custom Post Types" plugin.
  • Added the ability to only include/assign specific terms by passing term IDs to a filter. See documentation for more information.
  • Added wp_set_post_terms() to the CPT-onomy class.

1.2.1

  • Cleaned up/fixed a bug with $cpt_onomy->wp_set_object_terms().
  • Fixed a bug when assigning terms to CPTs with long names.
  • Fixed a bug when excluding terms from being assigned to new posts via checklist.
  • Fixed bug that sometimes caused fatal error during activation.
  • Added the exclude terms filter to the bulk and quick edit.

1.2

  • Minor bug fixes.
  • Custom archive pages can be created pretty easily. See documentation for more information.
  • Non-public custom post types can now be used as CPT-onomies.
  • Added the ability to customize settings by removing options and setting default property values using various filters. See documentation for more information.
  • Added the ability to exclude terms from being assigned by passing term IDs to filter. See documentation for more information.
  • Added the ability to remove assign CPT-onomy terms meta box from edit screen via filter. See documentation for more information.
  • Added the ability to remove CPT-onomy dropdown filter from admin manage custom post type screen via filter. See documentation for more information.
  • Added the ability to remove CPT-onomy column (and/or it's sortability) from admin manage custom post type screen via filter. See documentation for more information.
  • Fixed a bug with the capability type setting. BE SURE TO RE-SAVE YOUR SETTINGS IF YOU USE THIS PROPERTY.
  • Fixed a bug with the 'read_private_posts' CPT capability. BE SURE TO RE-SAVE YOUR SETTINGS IF YOU USE THIS PROPERTY.
  • Changed cpt_onomy.php filename to cpt-onomy.php to match cpt-onomies.php. I'm not sure why I gave it an underscore to begin with.
  • Added the ability to set CPT-onomy term description using 'term_description' or '{$taxonomy}_description' filter'.

1.1.1

  • Fixed bug with autocomplete box.
  • Fixed bug when editing "other" custom post types.
  • Fixed bug with custom CPT-onomy archive slug.

1.1

  • Added support to programmatically register CPT-onomies.
  • Added support for autocomplete and dropdown CPT-onomy term selection.
  • Added support to customize the CPT-onomy archive page slug.
  • Added support to change term link in tag cloud widget.
  • Added support to exclude term ids from wp_get_object_terms().
  • Added get_term_ancestors() to the CPT-onomy class.
  • Added support for Internationalization.
  • Tweaked the UI.
  • Fixed a few bugs.

1.0.3

  • DO NOT UPDATE IF YOU ARE NOT USING WORDPRESS 3.1 OR NEWER!! If you're using a version older than 3.1., and having issues, download CPT-onomies 1.0.2. for bug fixes.
  • Added support for Bulk Edit and Quick Edit.
  • Added the ability to sort and filter by CPT-onomy on the admin "Edit Posts" screen.
  • Fixed a bug where tax queries wouldn't work with CPT-onomies AND taxonomies.
  • Fixed a bug with wp_get_object_terms() not working for multiple object IDs.
  • Fixed a bug with custom 'Has Archive' slugs not registering correctly.
  • Added backwards compatability/fixed bug for adding the help tab prior to WordPress version 3.3.

1.0.2

  • Fixed a few bugs with the "Restrict User's Capability to Assign Term Relationships" feature.
  • The WordPress function, wp_count_terms(), now works with CPT-onomies and doesn't require the CPT-onomy class.
  • Added get_objects_in_term() to the CPT-onomy class.
  • Added previous_post_link(), next_post_link(), adjacent_post_link(), prev_post_rel_link(), next_post_rel_link(), get_adjacent_post_rel_link() and get_adjacent_post() to the CPT-onomy class with the ability to designate "in the same CPT-onomy".
  • Added support for tax queries when using The Loop.

1.0.1

  • Fixed bug that didn't delete relationships when CPT-onomy "term" is deleted.

1.0

  • Plugin launch!

Requires: 3.1 or higher
Compatible up to: 4.1.5
Last Updated: 2015-3-21
Active Installs: 3,000+

Ratings

5 out of 5 stars

Support

2 of 6 support threads in the last two months have been resolved.

Got something to say? Need help?

Compatibility

+
=
Not enough data

1 person says it works.
0 people say it's broken.

0,1,0
100,2,2 100,3,3 100,2,2 100,1,1
100,1,1 100,2,2
100,2,2 100,1,1
100,4,4
100,3,3
0,1,0 50,2,1
100,2,2 100,3,3
100,1,1
100,1,1
100,3,3
100,1,1
100,2,2
100,1,1
100,1,1
100,1,1
50,2,1
0,2,0 100,1,1 100,1,1
100,1,1
100,1,1