Home › Forums › Front-end Issues › Recall the tags that have a connection to the posts with field taxonomy › Reply To: Recall the tags that have a connection to the posts with field taxonomy
You and thank you.
I created a taxonomy field, print 1.
I connected the custom post type “innovators” to the taxonomy field.
So any innovator can have one or more connections to the tag (print 2).
The post innovator type was created as a data sheet.
Now I’m trying to create a google map (print 3) with all the “innovators” post, and I would like to filter the map to tags.
The problem is that, as we see from the print 3, I do not need all tags but only those associated with post innovators, and being post a registry card, it makes no sense to tag a person (because in the archives tags also appear post type “innovators”), so I decided to simply associate a taxonomy with taxonomies field ACF. In this way it creates a relationship between the post and the tag, but the post is not actually tagged.
As a result it could use, instead of a list of tags, currently obtained with get_terms, only list the total tags associated with the tassomomie field (no repeats of course, and with the number of associations).
The final idea is a bit like in print 4.
Thank you and I hope I was a little bit more clear 🙂
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.