Support

Account

Home Forums General Issues How to add custom field to a category? Reply To: How to add custom field to a category?

  • $queried_object = get_queried_object();
    $grade = get_field("grade", "term_" . $queried_object->term_id);

    I had to remove the last “‘” you had in order for my editor to show the concatenated variable. This doesn’t work for me though.