Support

Account

Forum Replies Created

  • Hello again đŸ™‚

    So I’m within the loop to get the content of a post, on single.php.

    This post has a custom field which is from a custom taxonomy. The custom taxonomy is “ville” and the custom field is “arrondissement”.

    I manage to get the ID of the term. But I would like to output the name of it, not the ID.

    <?php the_field(‘arrondissement’, $term); ?>

  • It’s “ville”

    Doing so, output nothing though:

    $taxonomy = ‘ville’;
    the_field(‘arrondissement’, $taxonomy.’_’.$term->term_id);

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