List all custom field values in archive page
-
Hello,
I have a custom post type PRODUCT with a custom field called COLOR.How can i list all the COLOR values in the archive page?
Basically I want to be able to have a list of all colors associated to products in the current archive, so I can filter them also based on a specific color, but only if the COLOR is associated at least to a PRODUCT in the specified archive (PRODUCT archive, but also in a CATEGORY archive, TAG archive, etc…)
Thanks a lot!
Stefano
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘List all custom field values in archive page’ is closed to new replies.