[wp-hackers] Advice regarding Custom Post Types and Taxonomies

Mike Schinkel mike at newclarity.net
Fri Aug 10 00:52:48 UTC 2012


On Aug 9, 2012, at 8:45 PM, Ben Lobaugh wrote:
> If need to add additional metaboxes from other plugins...., well there you run into issues :)

Bingo. :)

> Adding custom taxonomies is also just as easy.
> http://justintadlock.com/archives/2011/10/20/custom-user-taxonomies-in-wordpress
> 
> WP_User_Query makes querying users just as simple as WP_Query does. The loops and such are similar
> http://codex.wordpress.org/Class_Reference/WP_User_Query
> 
> Basically, if it is a one to one relationship with a user and a CPT, and that CPT only contains info about the user, you should simply put the extra fields you need on the user's profile page. (The caveat is the same as the metaboxes. If you require external plugins to tweak then a CPT my be the only option)

Again thanks, but doesn't work for us.  We've built a lot of functionality around custom post types that doesn't apply to users, at least not at this time, and maybe not ever.

YMMV.

-Mike




More information about the wp-hackers mailing list