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.

Need some help from you.

It's a matter of classification.

Here is the deal:

I've got a custom post type about movies and I set up some custom taxonomies (non hierarchical, so acting like tags) for the crew. So I've got "Director", "Screenplay writer" and others.

I.e. Movie: The rise of Wordpress Director: John Doe Screenplay writer: John Smith

Everything works good, when I click on a term I get a sort of "personal page" of the person (I also add some custom fields to the term page in Wordpress so I can add additional info such as a picture, the website link and something else).

So here is the question. What if the Director of a movie is also the screenplay writer? I mean, at the moment I've got to duplicate the term, one for each taxonomy.

I wonder if there is a way to do such thing: Define a general taxonomy like "crew" where each term is a single person. Then pick up every term associating it with the role.

Someone has an idea about that?

Even different approaches will be appreciated!

Bye guys, thank you for your great support Carlo

share|improve this question
add comment

1 Answer

up vote 2 down vote accepted

Since it looks like the "personal pages" are important in your project, I suggest a different approach. Use two distinct custom post types, one for the movies (the same you are already using) and one additional for the crew. You can create relationships between these custom post types using custom code or a specific plugin, i.e. Posts 2 posts or ZigConnect. When you create a binding between a movie and a person you can select the role (director, etc) as an additional field.

share|improve this answer
    
Hi Marco, thank you. Great suggestion, it was exactly what I was looking for. I think I had to study a little bit more that relationship issue cause it looks really interesting. Thanks again. –  Carletto0282 Nov 26 '11 at 8:56
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.