Skip to content
Read For Learn
Read For Learn
  • Database
    • Oracle
    • SQL
  • C
  • C++
  • Java
  • Java Script
  • jQuery
  • PHP
Read For Learn
  • Database
    • Oracle
    • SQL
  • C
  • C++
  • Java
  • Java Script
  • jQuery
  • PHP

WooCommerce custom taxonomy as meta?

As you can’t use »product attributes« and have two additional »custom taxonomies« just use get_the_term_list() to achieve what you want. The basic usage would be to place below code where you want to show the additional output – take a look at the codex page for information about formatting options.

Code:

//Show list of post specific terms from taxonomy language
echo get_the_term_list( $post->ID, 'language', 'Language: ', ', ', '' );
//Show list of post specific terms from taxonomy location    
echo get_the_term_list( $post->ID, 'location', 'Location: ', ', ', '' );

Related Posts:

  1. WordPress database error: [Not unique table/alias: ‘wp_postmeta’]
  2. How much faster is a tax query than a meta query?
  3. Use custom posts as taxonomy term meta replacement?
  4. Get main parent categories for a product
  5. Is it possible to sort the post based on a custom field?
  6. List Custom Taxonomy Values according to a Post Meta Value
  7. Get main term from a sub term in Woocommerce
  8. get_the_terms() to show all custom taxonomies
  9. Single reusable value for post meta: Custom Taxonomy or Post Meta?
  10. What is faster: custom taxonomy or serialized post-meta for db retrieval? (over 60,000 posts)
  11. Is it possible to store Json data in post_meta and manipulate
  12. Add Custom Taxonomy for Blog Meta Info
  13. Metabox not show in categories custom post type cmb2
  14. How to separate posts in loop?
  15. Creating terms vs custom post meta to save data?
  16. Does using custom taxonomy is more CPU efficient than using meta_data?
  17. wp_query not resetting, last post hanging
  18. Count of posts by different parameters?
  19. Sort taxonomy page alphabetically by meta rather than default post date
  20. Convert post meta to custom taxonomy?
  21. Count tags for current post and save into custom meta field (and update it on post edit)
  22. How to create meta fields with more than 1 relation?
  23. Is it possible to sort the post based on a custom field?
  24. Custom post type term names with ampersand in the term name
  25. Looking for suggestions on creating simple database (Help!!)
  26. get meta fields and taxonomy of any post type
  27. Where to put a migration script to switch post information?
  28. Update fields with post object and custom tax with wp_insert_post
  29. How can I show custom field according to taxonomy?
  30. How to add a custom page template selector to a custom taxonomy?
  31. Custom taxonomy with custom meta value is not sorting correctly (query returns the same value for orderby regardless of sort column click)
  32. How to handle custom taxonomy archive when no posts will have that taxonomy
  33. How can I list all the meta in a custom taxonomy?
  34. Taxonomy Order by Name
  35. Get number of post who belongs in two taxonomies!
  36. Custom permalinks with hierarchical taxonomy – getting PHP warning
  37. Change the permalink URL to include a taxonomy term
  38. How do I exclude posts from custom taxonomy from a custom post type archive?
  39. Custom Taxonomy in REST API
  40. How to limit the number of users who can be added to a user custom taxonomy?
  41. Assign / update custom field value for all posts (How can I assign only to posts without custom field value?)
  42. How to display the “ratingValue” and “ratingCount” values ​generated by the KK Star Ratings plugin into my page’s recipe ld+json schema
  43. Manipulate WP Query using a custom post type and multiple tax_query taxonomies
  44. How to duplicate entire custom post type
  45. Rewrite Rule Working for all but one of the taxonomies created
  46. How to create pagination for custom taxonomy in WordPress
  47. Custom Taxonomy in default RSS feed
  48. ‘No Results Found’ on single post for custom post type
  49. How to show the a custom taxonomy term on single post metadata
  50. Automatically Give All Custom Post Types a Pre-Set Category [duplicate]
  51. Custom Post Type Taxonomy not showing
  52. get current date + 90 days and checking every day
  53. Taxonomies on custom taxonomies
  54. Get list of taxonomies associated with Subscribers
  55. auto populate list of questions if user select a category xyz
  56. I am trying to display information from a custom table from my wordpress users pages
  57. How to join result of different taxonomies?
  58. Hide product categories and taxonomy terms in menu if empty
  59. Using custom taxonomy to tag posts for inclusion in slider
  60. Display related products based on 2 specific product attributes values in WooCommerce
  61. Get Custom Taxonomy Title by Spesific Sub Category via fputcsv
  62. Custom taxonomy forms for user profile
  63. How to target parent product category and its children using WooCommerce?
  64. Get taxonomy based on another taxonomy slug
  65. Return terms from multiple taxonomies using $wpdb
  66. Custom taxonomy query is empty. 0 = 1 in SQL
  67. Page and Post return 404 with custom taxonomy
  68. How to show all possible parents and children of a hierarchical taxonomy term?
  69. Why does a new taxonomy term get created when I assign an existing term to a post?
  70. Order by taxonomy Value [duplicate]
  71. limit value taxonomy based on previous taxonomy value wordpress
  72. Dynamic dropdown select values depending on other custom field value
  73. Extend & Search Native WordPress Image Galleries With Tags and Taxonomies?
  74. Sort order by slug for looped child terms of custom taxonomy
  75. Simple Filter between multiple taxonomys
  76. Checkbox onclick filtering on the same page
  77. Save custom taxonomy data in different table not in wp_options for my own plugin
  78. How to add Post Format Taxonomy Archive page in the menu?
  79. How to add custom label or texts in featured image
  80. How to Rewrite Taxonomy URL to Include the Post Type as the Second Segment of the URL?
  81. Get parent and children taxonomy in different dropbox
  82. Retrieve Custom Taxonomies according to posts selected
  83. Set taxonomy fields on post with AJAX
  84. Include parent and child in category url
  85. wp_insert_term created and set for first once only
  86. Taxonomy Pagination Rewrite
  87. How does WordPress Parent-Child Taxonomy actually Works?
  88. Custom taxonomy archive shows 404 error
  89. Display only child terms of a specific parent term of a custom taxonomy, for each custom post
  90. How to get all taxonomies which can be added in menu?
  91. WordPress Tag or Custom Taxonomy Return All Posts if has that Word in Post Title
  92. How do you reorder the custom taxonomies on the right side of a custom post edit page?
  93. display one post out of each custom category (aka “term of custom taxonomy”)
  94. How to create a dependent drop-down and options in dropdown must be manageable from admin panel
  95. Retrieving an intersection of two terms from two different custom taxonomies via API
  96. Filtering posts by an already registered taxonomy
  97. Query posts by taxonomy with current term
  98. Get custom taxonomy for visual composer shortcode but not working?
  99. How to filter a post in the Tag Cloud widget, using tags of a media library image attached to the post?
  100. Add Image Uploader In Admin Panel
Categories custom-taxonomy Tags custom-taxonomy, plugins, post-meta
Unexpected output using theme customizer
Remove Site Name from wp_title WITHOUT removing from attribute

Recommended Hostings

Cloudways: Realize Your Website's Potential With Flexible & Affordable Hosting. 24/7/365 Support, Managed Security, Automated Backups, and 24/7 Real-time Monitoring.

FastComet: Fast SSD Hosting, Free Migration, Hack-Free Security, 24/7 Super Fast Support, 45 Day Money Back Guarantee.

Recent Added Topics

  • Bug in translation system: load_theme_textdomain() returns true, files are available and accessible but the language defaults to english
  • Custom Elementor controls not appearing in the widget Advanced tab using injection hooks
  • Get the name of the template/*html file used
  • Trying to Add Paging to Single Post Page
  • Sharing media files between live and staging servers
  • How to display the description of a custom post type in the dashboard?
  • Critical error on image display
  • Copying WP data and files into new install?
  • How to determine the DirectAdmin WordPress backup date?
  • How to get list of ALL tables in the database?
© 2026 Read For Learn
  • Database
    • Oracle
    • SQL
  • algorithm
  • asp.net
  • assembly
  • binary
  • c#
  • Git
  • hex
  • HTML
  • iOS
  • language angnostic
  • math
  • matlab
  • Tips & Trick
  • Tools
  • windows
  • C
  • C++
  • Java
  • javascript
  • Python
  • R
  • Java Script
  • jQuery
  • PHP
  • WordPress