Here is an alternative for this plugin:
https://www.ads-software.com/support/plugin/colorful-categories
When i use code to show category color, i get black color instead the color i choose.
<?php
$category = get_the_category();
$the_category_id = $category[0]->cat_ID;
if(function_exists(‘rl_color’)){
$rl_category_color = rl_color($the_category_id);
}
?>
<h1 style=”color: #<?php echo $rl_category_color; ?>;”><?php the_title(); ?></h1>
<p style=”background: #<?php echo $rl_category_color; ?>;”>Awesome Category Color!</p>
So de above code don’t work for me.
Hey,
The plugin looks to work great, the only problem I have is that there’s no support document. How exactly do you call the set colour on the homepage?
Thanks,
NG
]]>