Tax-Meta-Class
Tax-Meta-Class copied to clipboard
A class for creating WordPress taxonomies custom fields
Function 'delete_taxonomy_metadata' line 1707 should be: `public function delete_taxonomy_metadata($term,$term_id) { delete_option( 'tax_meta_'.$term_id ); if ( function_exists( 'delete_term_meta') ){ $meta_keys = array_keys(get_term_meta($term_id)); foreach ($meta_keys as $meta_key) { delete_term_meta($term_id, $meta_key); } }...
Hi all, there's a error during save repeater block with file field. Inside method 'save_field_repeater' is connector to undefined (missing) method 'save_field_file_repeater'. Please fix asap. Cheers, Kamil
Instead of `$my_meta->addPosts('posts_field_id',array('post_type' => 'post'),array('name'=> 'My Posts '));` the necessary argument would be `$my_meta->addPosts('catpage',array( 'args' => array('post_type' => 'page')),array('name'=> 'My Pages '));` https://github.com/bainternet/Tax-Meta-Class/blob/a8acfdb6b8fef22d1eefdbe75481e73d2c44d445/Tax-meta-class/Tax-meta-class.php#L1600 To change this I'd suggest: ``` $temp...
The documentation at https://en.bainternet.info/wordpress-taxonomies-extra-fields-the-easy-way/ is incorrect. It refers to using `get_tax_meta` to retrieve saved data. Since the update to use the taxmeta table, `get_term_meta($term_id, $field_id)` is the correct function to...
Hi I have just added hungarian translation.
Fix illegal string offset in show_field_image function
Hi, if I try to delete a Menu_(.../wp-admin/nav-menus.php?action=delete)_ I got this message below. `Warning: Missing argument 2 for delete_term_meta(), called in .../wp-content/plugins/Tax-Meta-Class-master/Tax-meta-class/Tax-meta-class.php on line 1710 and defined in ..../wp-includes/taxonomy.php on...
The meta key parameter is required. https://developer.wordpress.org/reference/functions/delete_term_meta/
- [ ] Make repeater block use script tag template. - [ ] Allow custom add more/remove labels. - [ ] Use dashicons instead of images. - [ ] Add...