Home › Forums › Front-end Issues › Getting CF assigned to category › Reply To: Getting CF assigned to category
Thanks for your reply and sorry for that long post 🙂
I rewrote the code using only get_field
and it works… I used get_post_meta
because I found a snippet somewhere. My issue is that get_field('country_nav_menu')
doesn’t seem to “get” the field value when it is assigned to a category. It works fine when assigned to a post, but not to a category.
Thanks for you time!
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.