i created a plugin with a custom post type.

I added a new custom taxonomy also under that post type .

How can i add the meta boxes based on different taxonomy.

if( is_object_in_term('', 'name of the taxonomy ','term_name' ) ) {

add_action( 'admin_init', 'add meta box method name' );

But that did not work

  • Can you explain why you need to do this? There may be better ways of solving your original issue
    – Tom J Nowell
    Oct 29, 2014 at 20:00
  • i am making a video gallery with playlist. default page will add , edit option with list videos .I use Reusable Custom WordPress Meta Boxes for add video screen . I added a new taxonomy for playlist . i want different screen for the playlist . how can i do that
    – zod
    Oct 29, 2014 at 20:16


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.