Possible solutions:
-
Check if there’s a prefix which you setup for the custom field (https://en.bainternet.info/tax-meta-class-faq/#comment-1107)
-
Go to the Tax-meta-class/Tax-meta-class.php file and find the function you’re calling and debug the issue:
// Tax-meta-class.php public function get_tax_meta($term_id,$key,$multi = false){ $t_id = (is_object($term_id))? $term_id->term_id: $term_id; var_dump ($t_id); // debug this $m = get_option( 'tax_meta_'.$t_id); var_dump ($m); // debug this if (isset($m[$key])){ return $m[$key]; }else{ return ''; } }
-
Check the wp_options table and search the option_name column for the option (the parameter of get_option(‘tax_meta_foo_bar’) above). It’s either not there or you’re missing the prefix for get_option not to return a value.
Related Posts:
- How to select one major category (or custom taxonomy) for a custom post type?
- Permalinks: custom structure for taxonomy – tags?
- Reusable metabox backend and frontend
- Custom Post Type meta data getting deleted on bulk editing taxonomies
- PHP Warning with Custom Fields
- How do I associate a custom post type with another through a taxonomy or storing an ID in a custom field?
- Visual editor issue by having multiple tiny mce editors in a CPT
- Found 2 elements with non-unique id (#_ajax_nonce) and (#_wpnonce)
- A better way to add a meta box to custom post types
- Why are taxonomy terms not saving when using custom meta boxes with radio button taxonomy selectors?
- Plugin – Combine Meta Box Input Fields into single saveble record
- Show custom post type relationships by taxonomy
- Meta Query Filtering not working on Custom Meta Box using Radio Buttons
- Dynamic dropdown select values depending on other custom field value
- Grouping metadatas into one
- Metabox not show in categories custom post type cmb2
- Repeatable Fields Metabox with Textarea (or wp_editor)
- How to use TinyMCE Editor for one of my custom post meta field?
- Hierarchy and access control for Custom Post Types (CPT)
- First custom field value (out of several) displayed twice after query
- Cannot save CPT meta box
- How to make custom taxonomy into drop down select in a custom metabox
- Adding Page Templates to post but it ignored it
- How to display products name in a non-alphabetical order, in a custom field (taxonomy)?
- Ordering values entered in Custom Taxonomies
- Listing custom terms in custom post meta
- Show fields based on taxonomy selection in editor
- Custom “radio button meta box” not saving correctly
- Add additional field to custom post_type
- Custom Post Meta from custom metaboxes is randomly being deleted
- Add a custom meta box for client to order CPT posts how they want
- Custom post type’s extra fields – how to handle?
- Display Repeatable Meta Box Content
- create custom meta box with default value
- Creating custom post type with custom taxonomy and custom fields programatically
- What do the numbers mean at the end of add_action(‘save_post’)…?
- Targeting categories in custom fields
- A meta box (in a custom post type) with two different type of fields
- Custom taxonomies to define versions of a product
- Custom Taxonomy Search result page
- How to get_term_meta on single custom post?
- Category Search / Custom Post Type search on my website. Custom Post Types that are “page-like”?
- Many to many to many custom post relationships
- Display a post from custom post type only if all the selected taxonomies and custom field value matches the record
- How to fetch custom post types with its full data on wordpress?
- Removing numerous Meta boxes from numerous CPTs
- How to populate a Gravity Forms Custom Post Field (dropdown type) with custom taxonomy terms? [closed]
- Custom post type name and assigning custom taxonomy
- Display custom meta on page that has been check in custom post type
- How can I output WPAlchemy repeating fields meta values in my page template?
- How can I modify a custom post type and custom page template for a child theme if all content seams to be handled by theme’s ‘native’ plugin?
- Get A Custom Field From A Custom Taxonomy Of A Custom Post Type [closed]
- Building a Portfolio and need some direction
- Custom post types category
- Adding an extra parameter [string] to my posts’ permalink?
- Custom Taxonomy dont save in a frontend form for post a custom post
- Problem On Retrieving Post Meta Data on Custom Column [closed]
- Add a class to post_class if more than one post shares same meta_value_num
- How to display posttypes and taxonomy in standard posts, not in a separate label?
- Making a form for user to add new custom post with custom taxonomies and custom fields
- Add a meta field to the list of results for a custom post type
- Should i use custom post type for a custom footer?
- Empty meta-box returns publishdate if no value is set?
- Order custom posts by taxonomy, then by meta_key
- Saving metabox keys and storing values as array
- Confusion about how to use Custom Post Types, Custom Taxonomy or Category?
- Custom Post Type Meta Box Text Input Field Won’t Save When Blank
- Displaying Posts Using a Custom Query with a Custom Field and a term_id
- Writing a custom Glossary plugin
- How do I ensure that post_type and Taxonomy use the same slug?
- add_filter get array data before display in custom post_type
- Custom taxonomy terms as children of multiple custom post types
- ACF – Retrieve custom taxonomy from a relationship field
- Display Posts that fit a certain criteria on Category pages
- How to avoid duplicate posts queried from custom meta?
- Custom Metabox Info Not Saving
- Display Custom Field or Custom Taxonomy in front page /post/product
- wp_insert_post deleting previous post custom meta
- I want to create a metabox under custom taxonomy
- Problem with multi checkboxes value in metabox?
- Adding a Section for Visitors
- Custom taxonomy with custom post type archive page
- Add other all taxonomies as meta boxes to custom post type
- Query posts by multiple custom fields
- Simple Data picker meta box
- Custom taxonomy template for custom fields loop [closed]
- check_admin_referer not working in custom meta box for custom post type
- Create Inclusions and exclusions
- What’s the most efficient way to get two queries based on an if statement?
- Avoid another meta box in my custom post type
- Need some suggestion/help with custom post types project
- Best way to use Category & Custom Fields?
- Delete custom post type metadata without deleting the post in admin area
- Search form to find custom meta box generated data
- Custom meta-box for all custom post types
- Add different meta box based on taxonomy
- predefined custom field on registration page
- Show Custom Post Type taxonomy term that matches custom field
- custom taxonomies are not showing up in get_taxonomies
- Storing/querying custom date data