Support

Account

Home Forums Front-end Issues Taxonomy Custom Field

Helping

Taxonomy Custom Field

  • I’ve created a custom field for a custom taxonomy I made. I need to echo the value of that custom field in my wordpress template.

    $term = get_cat_ID( single_cat_title('',false) );
     $template = get_field( 'list_template' );

    $term is returning the taxonomy id which is awesome, but I now need to find the value of ‘list_template'(my custom field) for that taxonomy id.

    Any help???

    • Elliot

    • September 30, 2013 at 3:22 pm

    Hi @jaymesdowner

    Please see this article to load data from a term:
    http://www.advancedcustomfields.com/resources/how-to/how-to-get-values-from-a-taxonomy-term/

    Thanks
    E

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.

We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Cookie Policy. If you continue to use this site, you consent to our use of cookies.