WordPress.org

Forums

User Taxonomies
Support taxonomies for multiple post types (2 posts)

  1. jordan314
    Member
    Posted 2 years ago #

    Hi,
    WordPress supports taxonomies for multiple post types, see http://wordpress.org/support/topic/one-taxonomy-for-multiple-post-types.
    I modified:
    if($object != 'user') return;
    to:

    if(is_array($object))
    		{
    			if(!in_array('user', $object)) return;
    		}
    		else
    		{
    			if($object != 'user') return;
    		}

    And now I can use the same taxonomy for users that I use for other post types.

    http://wordpress.org/plugins/user-taxonomies/

  2. boxcarpress
    Member
    Posted 1 year ago #

    I don't think it's a good idea to share taxonomies between posts and users. See: http://wordpress.org/support/topic/dont-share-taxonomies-between-users-and-posts?replies=1#post-4921419

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • User Taxonomies
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic