Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

I would like to know if it's possible to add taxonomies in the user profile, without hacks.

So far I have been able to add taxonomies to custom post types and all, but now I would like to add it to the user profile.

I know how to add custom fields to the user profile, but so far failed on taxonomies.

The closest I got to find a solution was: http://wordpress.org/support/topic/applying-custom-taxonomies-to-user-profiles

As a newbie trying to find it there is a better solution.

Thank you for reading and helping out.

share|improve this question
add comment

3 Answers 3

up vote 3 down vote accepted

The solution you linked seems about right but i can't tell if its scalable and won't crash on a large scale,

another solution would be to create a non public custom post type with no UI and to act as a "stub" post for each user and keep that post ID in a user meta table, that way you can:

  • make easier queries.
  • use other post features for users like: comments,tags,categories,custom taxonomies and all the functionality built for posts.
  • use post based plugins on a user profile like: voting, rating, ranking...

and i believe its a much better approach.

take a look at Mike's answer to a similar question to get you started.

share|improve this answer
    
Thank you. I will give a go on your recommended solution. Will analyse the user meta table, so far only worked with the post meta table. I assume is more or less the same thing. Thank you Bainternet. –  yeope Feb 27 '11 at 11:09
add comment

You might want to read Justin Tadlock's post on the subject.

share|improve this answer
add comment

In case someone is still looking for a similar solution, you can give a try to User Tags Plugin, It implements the Justin Tadlock's Post easy way.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.