Support

Account

Home Forums Front-end Issues Displaying Fields from Post Category or Subcategory Reply To: Displaying Fields from Post Category or Subcategory

  • Hi @JCIDEV

    The $post_id parameter needs to be the $taxonomyName + $termID.

    Your taxonomyName is actually ‘category’, not ‘alabama’ (alabama is your term name)

    Modify your code to:

    
    the_field('test_field', 'category_' . $term_id);
    

    and that should work