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
- Advanced search form with filters for custom taxonomies and custom fields
- How to Add Custom Fields to a Custom Post Type?
- Help Creating a Slideshow Custom Post Type with Custom Meta Boxes?
- Custom Taxonomy as checkbox or dropdown
- Custom Post Type – Taxonomy Dropdown Menu?
- What should I use – Taxonomies, custom fields, Post Type?
- wp_dropdown_categories in custom post type with custom taxonomy
- How can I add a column/s to wp_posts table?
- clients list using wordpress
- Custom Taxonomy Template Post List with Sort Order
- echo value from ‘select’ field type into page template using cmb2?
- WP_List_Table Inside Metabox Not Working on Submit
- Find callback function for custom taxonomy metabox
- How to do a custom bookmarks post type?
- Use Custom Post Type as Custom Field
- Saving multiple Metabox contents
- Using ‘strtotime’ function to convert a custom-meta-box to a date-stamp
- add_meta_box: Datepicker like the one for postdate?
- Is there any performance consideration when using Custom Post Types?
- Custom post type / custom fields
- how to set default value for checkbox in wordpress
- Formatting custom meta box date from YYYY/MM/DD to a more readable alternative
- Custom Posts Hierarchy? (State/City/Restaurant)
- Automatically populate a hierarchical taxonomy from a custom field
- wp_query to find posts by year and month
- Dynamically add / duplicate custom meta in custom post types
- WordPress custom meta field for custom post not storing data
- How to Duplicate (multiple meta box)?
- window.send_to_editor and jQuery .attr() conflicts with multiple custom upload image meta boxes
- List of Posts in a Custom Field
- Save an array from drop-down in custom meta box
- dynamically add a custom field or metabox to custom post type [duplicate]
- How do I associate a custom post type with another through a taxonomy or storing an ID in a custom field?
- Found 2 elements with non-unique id (#_ajax_nonce) and (#_wpnonce)
- Show custom post type relationships by taxonomy
- 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
- How to make custom taxonomy into drop down select in a custom metabox
- How to display products name in a non-alphabetical order, in a custom field (taxonomy)?
- Ordering values entered in Custom Taxonomies
- Show fields based on taxonomy selection in editor
- 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
- 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’)…?
- 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”?
- 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]
- 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?
- Adding an extra parameter [string] to my posts’ permalink?
- 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?
- Add a meta field to the list of results for a custom post type
- Empty meta-box returns publishdate if no value is set?
- Order custom posts by taxonomy, then by meta_key
- 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
- ACF – Retrieve custom taxonomy from a relationship field
- Display Posts that fit a certain criteria on Category pages
- 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?
- Query posts by multiple custom fields
- check_admin_referer not working in custom meta box for custom post type
- Create Inclusions and exclusions
- Avoid another meta box in my custom post type
- Best way to use Category & Custom Fields?
- Search form to find custom meta box generated data
- 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
- Order by custom field attribute
- Custom post type and custom taxonomy archive inaccessible
- WP_Query arguments: Loop through custom post type – get all entries except excluded meta_key?
- loop through custom post-type with two meta_keys
- Custom Post Type + Custom Meta Query Not Showing 2012 Posts
- I want to understand plugin implementation of custom posts / taxonomies / metaboxes
- How to consume external API from WordPress post editor and display the response data in the custom field?