Home › Forums › Front-end Issues › Linking Custom Fields – Tag or Archive Layout › Reply To: Linking Custom Fields – Tag or Archive Layout
Yes, you could map a custom field to a tag, you could create an acf/save_post filter outlined here http://www.advancedcustomfields.com/resources/acfsave_post/, get the field value and then add the term to the post using wp_set_post_terms()
. This is essentially what ACF does for a taxonomy field. If I were setting this up I would more than likely use a custom taxonomy called “Country”, this is a perfect example of were it would be a good choice.
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 use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Privacy Policy. If you continue to use this site, you consent to our use of cookies.