Reply To: Icons per status/custom fields/taxonomy

Home Forums Feature Requests Icons per status/custom fields/taxonomy Reply To: Icons per status/custom fields/taxonomy

#13635
Chris
Keymaster

There’s no way for me to know whether the has_term() call is working. You can try printing the output to see if the function is actually being called and whether the term is being found. Use echo or error_log(), something like:

echo "postid: " . $poi->postid . "term: " . has_term('459_veh','crimes', $poi->postid);