• Hello
    I made a meta box for my movieDB website exactly like tags box (in the editor) by the inputs and the outputs are the same. Actually, it should be different but it is not. For example, I enter a word in tag box but it shows in both tags box and actors tag box or vice versa.

    This is the meta box code in my functions.php:

    <?php
    function pmkv_actors_tags_metabox(){
        $id = 'pmkv-actors_tag'; // it should be unique
        $heading = 'actors'; // meta box heading
        $callback = 'post_tags_meta_box'; // the name of the callback function
        $post_type = 'post';
        $position = 'side';
        $pri = 'default';
        add_meta_box( $id, $heading, $callback, $post_type, $position, $pri );
    }
    add_action( 'admin_menu', 'pmkv_actors_tags_metabox');
    ?>

    I just added this to functions.php

    what should I do to get the solution?

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘how to make second post tags meta box in WordPress editor?’ is closed to new replies.