• Resolved maxgx

    (@maxgx)


    i’ve got a few terms/taxonomies set up, i’ve assigned to them some custom fields, i’ve managed to output a list of the terms, but i’d like to get at their custom fields too.

    this is what i’ve done in the loop to get at the terms:

    $terms = get_the_terms( get_the_ID() , "creative");
    $count = count($terms);
    if ( $count > 0 ) {
        foreach ( $terms as $term ) {
            echo $term->name;
        }
    }

    now, say “creative” has custom fields such as “website”, “email”, “bio”, etc, how do i get to output those?

    thanks for any help!

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘how to display terms’ custom fields’ is closed to new replies.