Support

Account

Home Forums Front-end Issues Displaying a category ID Reply To: Displaying a category ID

  • Hi @Debatewise

    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