Support

Account

Home Forums Front-end Issues Displaying a relationship field on a custom post type taxonomy page Reply To: Displaying a relationship field on a custom post type taxonomy page

  • The template (taxonomy-product_type.php) is supposed to display items in a particular taxonomy. My custom post type is “products” and my taxonomy is “product_type”. So for example, it should just show me items in the “book” or “toys” category when I go to each URL.

    Everything works fine when I remove the relationship data, it loops through all the right entries. But once I add in the ACF code it breaks.

    I just changed the code and it does output the relationship data for the first entry. But then it shows empty HTML (h2, pre tags) for the other posts in the loop. So the same thing seems to be broken…