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!
- The topic ‘List all custom field values in archive page’ is closed to new replies.