Home › Forums › Front-end Issues › Displaying a category ID › Reply To: Displaying a category ID
Can I ask you to clarify what post types have what custom fields?
Does the Promo Box post type have a ‘taxonomy’ custom field? If so, what is the name of this field and what is the return type?
Next, where does the code come from that you have shown? Is that the code that is run for a Promo Box?
Most likely, all you need to do is use the get_field on the taxonomy custom field to find the term ID selected
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!
🤔 Curious about the ACF user experience? So are we! Help guide the evolution of ACF by taking part in our first ever Annual Survey and guarantee you’re represented in the results. https://t.co/0cgr9ZFOJ5— Advanced Custom Fields (@wp_acf) May 8, 2023
© 2023 Advanced Custom Fields.