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)

You must be logged in to reply to this topic.