toggle menu

ACF Filed for taxnomy data not get by function get_field("taxnomy_name");

Dhananjay Kumar |23 Jan at 10:01

ACF Filed for taxnomy data not get by function :
get_field("taxnomy_name");

get_field("taxnomy_name",term_id);

get_field("taxnomy_name",post_id);

  • 0 like
  • 1 comment

Dhananjay Kumar23 Jan at 10:01

Get the Answer and the correct answer is.
$object = get_queried_object();
get_field("field_name",$object->taxonomy . '_' . $object->term_id);

Posted:

23 Jan at 10:01

Viewed:

2467 times

Active:

23 Jan at 10:01