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.

Is it possible to add a short description to a custom taxonomy's admin area? For example, I've added a taxonomy that determines what kind of banners are displayed on a post's page. In the meta box for this taxonomy on the Edit/Add Post page I'd like to add a little blurb explaining how it works.

share|improve this question
    
Is the taxonomy set as hierarchical? –  TheDeadMedic Mar 18 '11 at 23:23

1 Answer 1

up vote 0 down vote accepted

I don't know of any hooks to add or filter the metabox so you can either create your own metabox to replace the custom taxonomy metabox or in this case just use JQuery .append()

for example is your taxonomy is named banners and its none - hierarchical (like tags) then:

$('.tagsdiv-banners').append('<p>your short description here</p>');

and if its hierarchical (like categories)

 $('.bannersdiv').append('<p>your short description here</p>');

the only difference is the name of the selector , for none hierarchical taxonomies you use tagsdiv-{$tax_name} and for hierarchical taxonomies you use {$tax_name}div.

share|improve this answer
    
Unfortunately, this is the same conclusion I came to and I suspect that's just the way it is for now. :P –  hereswhatidid Mar 23 '11 at 18:19

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.