There’s a slight catch to using bainternet’s Tax Meta Class: the way you save and retrieve data changes depending on your WordPress version.
If you are using the latest version of WordPress then use
get_term_metainstead ofget_tax_meta.
I believe the exact version is WordPress 4.4.
- If your WP version is before 4.4, use
get_tax_meta. - If you are 4.4 and above, use
get_term_meta.
Related Posts:
- Check if a post has any term in this custom taxonomy?
- Contact Form 7 – Populate Select List With Taxonomy [closed]
- Why is my working Custom Taxonomy not in get_taxonomies array?
- Custom taxonomy hide meta box but show in menu
- display posts with same taxonomy term
- Is there a way to disable a term rather than deleting it?
- Custom taxonomy on permalink
- SQL QUERY needed to get POST category (taxonomy) ? – MUST be SQL statement
- Remove Category description textarea
- How to return a list of custom taxonomy terms via the Gutenberg getEntityRecords method
- Create taxonomy with meta term using the WP Rest Api
- How can I set up a category “overview” page?
- Sort posts by number of matched terms
- Get current term’s ID
- Possible to register multiple custom taxonomies in one function?
- Taxonomies not appearing in columns on dashboard
- Echo taxonomy term meta on author.php
- Hierarchical display of custom taxonomy
- How to output the taxonomy term name in a widget
- How to link categories to custom taxonomy terms?
- Advanced Tax Query
- Save Filter for Taxonomies
- Function to limit the number of posts in taxonomy.php
- Is It Possible To Have Shared WordPress Custom Post Types?
- WordPress renames slug of tags used in multiple taxonomies?
- User role permissions based on taxonomies
- Allow only 1 instance of each term in each custom taxonomy
- WP Query with custom taxonomy
- How to prevent posts duplicating when viewing a custom taxonomy term
- get_the_terms() to show all custom taxonomies
- Custom taxonomies making WP very slow – Way to fix?
- Get Taxonmy Term ID For Current Post
- meta_key & meta_value not working with get_pages and custom taxonomy
- Is it possible to create exclusive custom taxonomy?
- wp_insert_post not updating custom taxonomy selected if logged in as a subscriber
- Changing stylesheet depending on custom taxonomy terms
- Taxonomy with_front causes all
- Taxonomy archive showing no results
- Wrapping result of the_terms in a span with a class of the term name
- Taxonomy template shows only 10 posts
- What is faster: custom taxonomy or serialized post-meta for db retrieval? (over 60,000 posts)
- Get taxonomy based on another taxonomy slug
- Extend & Search Native WordPress Image Galleries With Tags and Taxonomies?
- Custom Taxonomy index/archive hierarchy
- Filter custom taxonomy archive posts by 2nd custom taxonomy using select dropdown
- How to show all post related taxonomies
- Getting associated taxonomies
- Multi-select field for Taxonomy can’t save the value
- How to create a custom taxonomy using a shortcode?
- WordPress implode & wp_insert_post question
- Get the taxonomy of the post
- How Parent Taxonomy automatically added to the post when using `wp_set_object_terms()`?
- Get object for a few selected taxonomies
- Loop through custom taxanomy in post and display custom fields from posts
- query_posts that have custom taxonomy and limiting what shows based on the taxonomy
- Dropdown taxonomy lists in admin menu
- Custom Taxonomy Not Saving in Front End Post
- Taxonomy archive template that shows posts from more than one taxonomy
- Taxonomize taxonomy terms?
- How to get the term description in a taxonomy term archive query?
- How to define %category% for custom taxonomies?
- new custom filed not showing in taxonomy
- How do I get the correct URL?
- Custom Taxonomies Archive Page 404
- How to replace custom post type with custom taxonmy in permalinks
- Cloning product not copying custom taxonomies
- Dropdown (with onChange) with custom taxonomies
- Unregistered taxonomy apears still as emtpy filter list
- Get Highest and Lowest get_term_meta() value from Taxonomy Term
- ACF Custom field not showing in Timber Taxonomy page
- How to get a terms and posts associated with another term?
- Displaying subcategories and then posts in taxonomy template
- Ignore punctuation marks in taxonomy order by name
- What’s the url queryvar for a taxnomy archive?
- How to use two same taxonomy in same post differently?
- set_object_terms for custom taxonomy in custom post type – not working
- Resize $term attachment using url
- Custom taxonomy escaping html attr
- Showing list of custom posts of a custom taxonomy
- Show portfolio category slug in url ( if exist)
- switch statement for taxonomy content
- How do you search for a post by custom taxonomy?
- Display taxonomy term slugs
- Can I use multi (sub) levels of relation (AND | OR) on custom query?
- Index page of posts tagged with two separate taxonomies
- How to use tax_query other than by slug or id or solve custom taxonomy tags conflicts with pre-existing tags?
- add custom fields in custom taxonomy meta box in wordpress-3.5.2
- How to permanently delete a taxonomy
- Advanced AND tax_query in sidebar with 2 taxonomies
- create taxonomy
- Alternative for is_taxonomy() to workaround theme’s default sidebar
- What is the current page’s Taxonomy?
- Get custom taxonomy term url on archive page
- get_terms() – unexpected ‘=>’ (T_DOUBLE_ARROW) error
- Display woocommerce product_cat child terms with thumbnails
- query grandchildren taxonomy terms
- Adding new terms to custom taxonomy
- Add custom display condition to Elementor Theme Builder for custom taxonomy children, grandchildren, and great-grandchildren
- Add text in custom taxonomy
- How do I check if a post has a term with a particular ancestor/parent?