Support

Account

Home Forums General Issues taxonomy term color in home page

Unread

taxonomy term color in home page

  • // get the current taxonomy term
    $term = get_queried_object();

    // vars
    $color = get_field(‘color’, $term);

    I’m getting $color in category.php, tag.php or taxonomy.php.
    But I want to access in home page. Please any one can help me

Viewing 1 post (of 1 total)

The topic ‘taxonomy term color in home page’ is closed to new replies.