Home › Forums › General Issues › Display posts by category › Reply To: Display posts by category
This is really a general WP question and not related to ACF.
First off, if this is showing only posts in one category then you need should have a taxonomy template "taxonomy-{$taxonomy}.php"
or a term template "taxonomy-{$taxonomy}-{$term}.php"
https://developer.wordpress.org/themes/basics/template-hierarchy/
If you are trying to show multiple terms and sort the posts by term, this is not something that is native to WP. You need to get the list of terms and then loop over them doing a separate post query for each term, https://wordpress.stackexchange.com/questions/151669/sort-posts-by-category
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.