Home › Forums › Front-end Issues › List Posts Based on Field Value › Reply To: List Posts Based on Field Value
Your comment about the custom post type not supporting more than one category confuses me. What you’re trying to do would be best done using a custom taxonomy that’s attached to your custom post type. http://codex.wordpress.org/Function_Reference/register_taxonomy. Using a custom taxonomy would give you a way to have pages bases on each term easily.
To do it using a custom field you’ll need to create templates for each of the “Tags” and do a custom WP_Query for each. For more information on querying posts based on custom fields see this how to: http://www.advancedcustomfields.com/resources/query-posts-custom-fields/
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users
Helping others is a great way to earn karma, gain badges and help ACF development!
We’re reaching out to our multilingual users to ask for help in translating ACF 6.1. Help make sure the latest features are available in your language here: https://t.co/TkEc2Exd6U— Advanced Custom Fields (@wp_acf) May 22, 2023
© 2023 Advanced Custom Fields.