Home › Forums › General Issues › Get taxonomy name from 'Taxonomy' field and insert into custom loop as category? › Reply To: Get taxonomy name from 'Taxonomy' field and insert into custom loop as category?
Thanks John. I will try this in the morning and let you know.
In regards to templates, what you have suggested is exactly what I’ve done and what I was avoiding was making more then one ‘page template’ file.
When I refered to creating pages for the 10 categories I meant in the sense of adding 10 pages via the wp backend. I would then use the one page template I’ve created called ‘Exercise Category’ this page template would have the ‘Taxononmy’ field from ACF so I could link the two; page and the specific category loop together. Thus meaning I dont have to create 10 page templates and hard code the category into each loop on each page.
I hope im making sense!
Appreciate the help
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.