Home › Forums › General Issues › List categories with extra fields › Reply To: List categories with extra fields
Hi Tom!
What you got there is a little strange…
The logic you have says:
Get all regular categories, loop through them and in each category fetch the current posts categories then get just the last category object and fetch the custom field of that category.
What exactly are you trying to do? Do you want to display the current posts categories or do you want to display all categories as links(or without links)?
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.