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?
I was confused when you said “page templates” If you have a template for taxonomy-{$custom-taxonomy}.php
then you don’t need to do a query to get the posts in the custom taxonomy. WP already does that for you, you just need to create a loop to show the posts, basically the same as category.php, you can even copy that to start from.
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.