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 have several custom taxonomies and within two of those ( Company Categories and Photographer Categories ) I have a term that is similar. The Company Category called Boudoir and the Photographer category called Boudoir Photographers.

When I created the Boudoir Photographer term in the Photographer Categories it renamed the Boudoir term in the Company Categories to Boudoir Photography.

Why did this happen? The number of posts for either taxonomy term doe snot change, only its name and the slug.

Thanx in advance!

share|improve this question
add comment

1 Answer

up vote 1 down vote accepted

They are all in your {wpdb->prefix}_terms table and therefore need to be unique. Else you could only get them via ID.

share|improve this answer
1  
But they are unique. "Boudoir" is not the same as "Boudoir Photographer". Unless the first word can't be the same. Or am I missing something? –  dkmojo Jun 17 '11 at 0:15
    
Missunderstood you - thought you wanted to name both with the same slug. So: Hm... Wired. Are you sure your categories don't share the same slug or name? Please update your Q with every detail you can imagine. –  kaiser Jun 17 '11 at 0:55
1  
No problem. I just figured it out. When I first created the Boudoir Photographer term, I simply named it Boudoir. So I deleted this term and created "Boudoir Photography." So it wasn't anything WP was doing - just me overlooking my own mistake. Thanx for your help! –  dkmojo Jun 20 '11 at 17:44
    
N/P. Can happen to anybody. Please mark the A as solution so it doesn't appear under unanswered Qs. Thanks. –  kaiser Jun 20 '11 at 19:38
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.