Viewing 4 replies - 1 through 4 (of 4 total)
  • Hello,
    i need the same thing. Did you find a solution ?
    thx

    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.

    So if I have a field name called “link” in Custom Taxonomy Fields, can I output it from the template (loop.php) like this?

    echo get_metadata('taxonomy', $taxonomy_term_id, $link, TRUE);

    …because this doesn’t work. 🙁

    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.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘[Plugin: Ultimate Taxonomy Manager] Categories's custom fields via php, not from shortcodes’ is closed to new replies.