The author of plugin help me with that. Thanks all.
global $post;
$product_colors = get_the_terms( $post, 'product_color' );
$saved_colors = get_option( 'nm_taxonomy_colors' );
if(isset($product_colors) && is_array($product_colors)){
foreach($product_colors as $color){
$term_id = $color->term_id;
$hex_code = $saved_colors[$term_id];
echo $hex_code . '<br />';
}
}
Related Posts:
- Plugin allowing for artists, events and venues
- auto populate list of questions if user select a category xyz
- Taxonomy question
- Is there a way to add a custom input field for every taxonomy term in WP post editor?
- How to share category taxonomy with custom post type (The Event Calendar plugin)
- Custom Taxonomy in plugin and template
- How can I show drafts in wp_dropdown_pages list?
- How can I save repeatable fields with one value inside an array?
- Add .html extension to custom post type taxonomies
- Custom Post Type causes Page Not Found
- How to get custom field image url of specific size
- How to delete terms on plugin deactivate?
- Datepicker not supporting timepicker
- How WordPress autosave can save plugin fields?
- How can I filter the contents of a metafield before it’s displayed in the admin?
- How to remove duplicate Custom Fields?
- Make the checkbox meta field checked by default
- Show Heirachy of categories in WP Download Monitor
- Custom Taxonomy Tag Search
- Possible to replicate economist.com’s debate section in wordpress? [closed]
- FacetWP group listings by custom field [closed]
- Saving Custom Post types and fields to a custom table
- Custom Field Template seriously messed up in WP 3.1.1
- WordPress category add image field
- Where (or when) should I register a new taxonomy?
- Limit Number of Taxonomy Terms (Images) Displayed
- Widget for adding HTML markup to a page
- Implement Autocomplete for a custom field on WordPress Plugin Frontend
- Assign / update custom field value for all posts (How can I assign only to posts without custom field value?)
- ‘No Results Found’ on single post for custom post type
- is there a way to link one of the field in ACF field group, to a field in a media attachment page? [closed]
- How to create an input field, and base the output on spreadsheet data? [closed]
- Dynamic dropdown select values depending on other custom field value
- How do I hide posts across all loops based on the value of a custom field?
- Custom User meta field display
- “Custom Post Type Permalinks” plugin URL strcuture
- Redirect to another page using contact form 7? [closed]
- Every new post/draft has a custom field variable “yst_is_cornerstone” showing
- Template filter for custom taxonomy terms
- Custom Post Type Fields
- Amazon.com intergration with WordPress?
- Sticky option for custom post types without using custom fields or plugins
- How do we update a custom file upload field with the Advanced Custom Field plugin?
- How to get CPT category checkbox list and show post of selected(multiply) checkboxes via ajax?
- How to add an extra, independent set of custom fields?
- Custom Fields for Page Edits
- Plugin for a static piece of text on homepage
- Parent Child Custom Fields with Advanced Custom Fields
- How can I add user profile fields to my mailpress mailout
- Advanced Custom Fields Plugin – Images not displaying
- Creating New Dynamic Fields for a Certificate (Number Generation, Code Referencing, and more)
- Rename existing cpt and taxonomy with new textdomain
- WordPress Phone Field Check (use numbers, spaces and pluses)
- Can export gallery but can’t import it Wp all import
- Get product categories and add them to a custom taxonomy
- Auto populate a user custom field from another user custom field
- need to find duplicated meta value in custom filed and view the posts that have the same value
- Create a pdf from the entries in DB
- Help with autofilling field
- how to find out which plugin disable custom field for post
- What database state changes happen after a post is manually “updated” with no changes?
- Display posts by alphabetical order
- Register PODS Custom Field with WPGraphQL [closed]
- custom fields not displaying on wordpress site
- Create multiple posts when a custom post is created
- Cannot view Custom Post Type no matter what I try
- Meta Key array building with multiple input values from fields
- Get all user meta_keys and then group users by matching values
- Only return taxonomies that are linked to a category & product
- Why is my custom taxonomy image not displaying?
- Custom plugin issue – Notice: Trying to get property of non-object in
- If I am not writing a theme, how do I add custom fields to a user for a plugin
- Taxonomy Category Icon on index page
- Get only selected custom taxonomy
- How can I call functions from a custom plugin?
- Creating Nested custom fields
- Problem with conditional woocommerce custom checkout field
- Get custom term link archive with prefix
- Do something with thumbnail image on post publish
- Add new post using a page inside the website
- Need help getting a certain value out of a multi dimensional array
- “Tree view” for wp_dropdown_categories() markup
- Save selectlist value (taxonomy) in wp:wp_set_object_terms
- Show similar category portfolio items?
- CPT-onomies CPT_TAXONOMY->get_terms extremely slow with 6K posts
- Using Iris Colorpicker on TinyMCE shortcodes page [duplicate]
- WordPress Meta Query: Relation is not working correctly
- How can I add the custom taxonomy categories to the posts and pages?
- How can i do custom author list?
- Award points if a specific custom taxonomy is selected – Cubepoints
- Advanced Custom Fields Plugin – not displaying images
- How to list the categories by custom taxonomy created?
- Converting a themes featured image to WordPress featured image
- Trying to use Advanced Custom Fields with custom image sizes
- How do I add custom fields to the “Edit page” admin screen?
- ACF Taxonomy Object term Null [closed]
- Integrating WordPress Content into a jQuery Slider
- How to change data format in custom meta box field [closed]
- Outputting custom field query from a plugin to the website header
- Order custom post type by posts with most likes first