WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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
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
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
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

Your Answer


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.