Forum Replies Created

Viewing 1 replies (of 1 total)
  • Hi Zayed,
    I’m new on wordpress;
    i download the plugin, i installed it and I changed the colors of my category, but I don’t understand where i have to insert the following code:
    <?php
    $categories = get_the_category();
    $separator = ”;
    $output = ”;
    if($categories){
    foreach($categories as $category) {
    $rl_category_color = rl_color($category->cat_ID);
    $output .= ‘<div class=”featured-cat” style=”color:’.$rl_category_color.’;”>’.$category->cat_name.'</div>’.$separator;
    }
    echo trim($output, $separator);
    }
    ?>
    Thanks in advance.

Viewing 1 replies (of 1 total)