Starting from WordPress 4.4, you can use add_term_meta function to store metadata for a term. This is basically a key-value pair information which is stored in wp_termmeta
table.
Original Answer(Prior to WP 4.4)
WordPress doesn’t have the option to add extra information to taxonomies. There isn’t any taxonomy_meta
table. So, you have two options.
- Create a new custom table and save the extra information(image link) there.
- You can also use
options
table to store the information.
You can follow this post of as it shows how to implement what you are trying to do: http://en.bainternet.info/wordpress-taxonomies-extra-fields-the-easy-way/
Related Posts:
- Combine multiple custom user taxonomy in single url
- Taxonomy , subtaxonomy,child taxonomy of a product woocommerce
- How do I taxonomy terms based on terms they are used alongside?
- Taxonomies on custom taxonomies
- Custom Taxonomies Archive Page 404
- SQL QUERY needed to get POST category (taxonomy) ? – MUST be SQL statement
- Advanced Tax Query
- How to display custom taxonomy in multiple columns?
- Custom taxonomies making WP very slow – Way to fix?
- Sorting taxonomy columns by meta value numeric
- Get Taxonmy Term ID For Current Post
- Changing stylesheet depending on custom taxonomy terms
- How to display custom taxonomy images on index.php?
- Custom taxonomy [year] is directing to yearly archive
- Getting associated taxonomies
- How to add images to taxonomy terms? [duplicate]
- one post per term taxonomy
- I have custom post type with custom taxonomy. But not found the taxonomy page..
- Query custom taxonomy for category including children
- How can I get Taxonomy Images to work with ‘orderby’ argument?
- How to get related taxonomies based on a category with mysql query?
- Prioritise Pages over Taxonomy Term Root Archive, but not Taxonomy Term Child Archives
- Tracking the name of a custom taxonomy
- Add terms to a taxonomy archive from within the same taxonomy
- Fill New Taxonomies
- Taxonomy archive, categorised by other taxonomy, not hiding empty taxonomies
- Resize $term attachment using url
- Add image to taxonomy and output to homepage
- How do you search for a post by custom taxonomy?
- How to get multiple Taxonomies not All Taxonomies?
- WordPress Taxonomy Menu
- Get taxonomy image for Toolset custom taxonomy through Toolset Views Shortcode
- wp_get_object_terms count on taxonomies within an category archive
- Make custom post type display with custom taxonomy in url
- Complex Taxonomy scheme
- Querying posts globally based on custom taxonomy with its own taxonomymeta table
- How to display custom taxonomies in posts?
- Hook to process a new taxonomy tag before it is created?
- Custom taxonomy on permalink
- How do I filter posts by taxomony using AJAX
- Multiple users – only allow them to manage their own terms for custom taxonomy when logged in
- How to return a list of custom taxonomy terms via the Gutenberg getEntityRecords method
- Get current term’s ID
- How to modify default taxonomy field to a single text field?
- How to set hierarchical terms to a post using wp_set_object_terms
- How do I display a tag cloud with both post tags AND a custom taxonomy?
- How to link categories to custom taxonomy terms?
- List taxonomy / category count showing list published posts only
- Save Filter for Taxonomies
- Improving WP_Query performance for multiple taxonomies
- How can I display all post IDs from the taxonomy?
- Allow only 1 instance of each term in each custom taxonomy
- get_terms: determine if taxonomy term has children
- Set a taxonomy as private
- “show option all” on list categories doesn’t display taxonomy
- Advanced Query Logic With Multiple Taxonomies
- Is it possible to get all term items from a custom taxonomy regardless of post attachment status?
- Wrapping result of the_terms in a span with a class of the term name
- Taxonomies image
- What is faster: custom taxonomy or serialized post-meta for db retrieval? (over 60,000 posts)
- Get taxonomy based on another taxonomy slug
- Retrieve Custom Taxonomies according to posts selected
- Add Image Uploader In Admin Panel
- Tell the difference between a term and page when they have the same ID
- How to use multiple archive templates for a taxonomy?
- WordPress implode & wp_insert_post question
- how can i display taxonomy instead of category on my web page?
- Taxonomy Meta Box in User Profile?
- Get only immediate children (and not grandchildren) of a hierarchical custom taxonomy term
- How to group all terms children’s in custom taxonomy?
- Corrupted nav-menu?
- Register `product_cat` taxonomy for default post post type
- Custom Taxonomy Not Saving in Front End Post
- Don’t display taxonomy if empty
- List terms of custom taxonomy if matches other taxonomy
- Featured Images for Tags?
- Taxonomize taxonomy terms?
- Showing relevant categories on custom taxonomy template
- Exclude taxonomy term from list of current taxonomy terms
- Set two terms for a post when they differ only by an accent
- Rewrite Search URL Permalink For CPT Custom Taxonomies
- Listing Cities A custom taxonmy by selection order
- Template taxonomy-{taxonomy}.php doesn’t show my posts
- list all post who have mutual taxonomy as current taxonomy!
- Custom Taxonomy Not Being Recognized by is_tax()
- How can I rewrite a custom taxonomy archive slug
- WP Tax query & order by tax query not working
- How to truncate the description in the admin panel for a custom taxonomy
- What’s the url queryvar for a taxnomy archive?
- set_object_terms for custom taxonomy in custom post type – not working
- Get all users attached to a taxonomy
- List active taxonomy terms
- Display taxonomy posts
- Remove taxonomy menu without removing the metabox?
- How can i set post_per_page in my taxonamy?
- Select default taxonomy on dropdown
- get_terms() – unexpected ‘=>’ (T_DOUBLE_ARROW) error
- get_term_children specific no id
- Add text in custom taxonomy
- How do I check if a post has a term with a particular ancestor/parent?