Hi, Astony.
Please try this (‘link’ string instead of $link variable)
echo get_metadata('taxonomy', $taxonomy_term_id, 'link', TRUE);
…and make sure that $taxonomy_term_id is the correct ID of existing taxonomy term.
Thanks,
Evgeniy.
Hi all,
You should use taxonomy metadata to get custom taxonomy fields. So, it looks like this:
$custom_field_value = get_metadata(“taxonomy”, $taxonomy_term_id, $custom_taxonomy_field_name, TRUE);
Best regards,
Evgeniy.