MB Term Meta doesn't work

Support MB Term Meta MB Term Meta doesn't work

Viewing 13 posts - 1 through 13 (of 13 total)
  • Author
    Posts
  • #2749
    hansenginehansengine
    Participant

    Hi there,

    I'm trying to configure some meta values for custom taxonomies, but it doesn't work.

    I bought the bundle, i installed the plugin, then MB Term Meta add-on.

    Here is my code:

    add_action( 'init', 'create_corpo_raices_taxonomies' );
    
    function create_corpo_raices_taxonomies() {
    
       register_taxonomy(
            'clientes',
            'property',
            array(
                'label' => __( 'Clientes' ),
                'public' => true,
                'rewrite' => true,
                'hierarchical' => true,
                'show_ui'               => true,
                'update_count_callback' => '_update_post_term_count',
            )
        );
    }
    
    add_filter( 'rwmb_meta_boxes', 'corpo_raices_meta_boxes' );
    function corpo_raices_meta_boxes( $meta_boxes ) {
    
    	$prefix = 'corpo_raices_';
    
            $meta_boxes[] = array(
            'title'      => __( 'Datos del Cliente' ),
            'taxonomies' => 'clientes',
            'fields'     => array(
                array(
                    'id'   => '{$prefix}nombre_cliente',
                    'name' => __( 'Nombre', 'corporaices' ),
                    'type' => 'text',
                ),
            ),
        );
    
        return $meta_boxes;
    }

    I have more simple metaboxes using the Tab Add-on and Column, but MB Term Meta is not working.

    Could you please, help me with this?

    PD: I'm running WP 4.5

    Thanks,

    #2750
    appnetappnet
    Participant

    I have the same issue. Bought the term extension and it's not working on 4.5 for any taxonomies, custom or built-in.

    #2751
    appnetappnet
    Participant

    I think this is an issue with 4.5 as another plugin I was testing that adds an image field to terms isn't working either and it was before the update.

    #2752
    appnetappnet
    Participant
    #2756
    Anh TranAnh Tran
    Keymaster

    Thanks for your info @appnet. I will check it now with WordPress 4.5 and get back to you asap.

    #2759
    appnetappnet
    Participant

    I was able to edit a few lines in term-meta-box.php and got it working. Lines 34 (load-edit-tags.php -> load-term.php), 235 (edit-tags -> term), and 236 (removed completely) were all that was needed editing.

    #2769
    Anh TranAnh Tran
    Keymaster

    Thank you very much for your info. I've just updated the extension with that fix 🙂

    #2772
    hansenginehansengine
    Participant

    Hi Anh,

    How can i get the latest version? I bought the bundle but when i see de MB Term Meta plugin the "Buy Now" button appears.

    Thanks,

    #2775
    Anh TranAnh Tran
    Keymaster

    Please go to "My Account" page (click on your avatar or "My Account" link in the top right) and you can download the latest version of the extension.

    #2777
    themeumthemeum
    Participant

    latest version show this error

    Fatal error: Call to undefined method RW_Meta_Box::is_saved() in /home/safadevelopers/public_html/demo/wp-content/plugins/meta-box-group/meta-box-group.php on line 58

    Please suggest a solution.

    #2778
    Anh TranAnh Tran
    Keymaster

    Hi @themeum, this is an error in the Group extension. To fix that, simply update Meta Box and MB Group to the latest version.

    #2779
    themeumthemeum
    Participant

    Thanks for quick response. I already short out. 🙂

    #2782
    hansenginehansengine
    Participant

    Thanks Anh,

    The MB Term Meta is working perfectly.

Viewing 13 posts - 1 through 13 (of 13 total)
  • The topic ‘MB Term Meta doesn't work’ is closed to new replies.