Support Forum
Support › MB Term Meta › MB Term Meta doesn't work
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,
I have the same issue. Bought the term extension and it's not working on 4.5 for any taxonomies, custom or built-in.
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.
Thanks for your info @appnet. I will check it now with WordPress 4.5 and get back to you asap.
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.
Thank you very much for your info. I've just updated the extension with that fix 🙂
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,
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.
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.
Hi @themeum, this is an error in the Group extension. To fix that, simply update Meta Box and Meta Box Group to the latest version.
Thanks for quick response. I already short out. 🙂
Thanks Anh,
The MB Term Meta is working perfectly.