Home › Forums › General Issues › Show Custom Field results from one post type in template of another › Reply To: Show Custom Field results from one post type in template of another
I still don’t really follow how that will work. In the example, that requires you put in a key value of ‘Melbourne’. That is great if you only have one value called ‘Melbourne’, but I have 30 different artists.
How can I tell which artist page I am currently on before I show the value for that particular artist without setting up 30 different templates?
Does that make sense?
If I am on the Metallica page, I ONLY want to show Metallica releases. With 30 artists, do I need to set up 30 templates to call the specific artist value on each one?
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!
© 2022 Advanced Custom Fields.