Hey everyone, I hope you're all having a great day! I need some assistance with a slider I'm creating on my WordPress site. I can't seem to figure out how to display the category of each post that appears in the slider and have it stand out. Does anyone have any tips on how I can achieve this? Below is the code I am currently using:
<div id="slides">
<?php if (function_exists('yg_randomposts')) {
$parameters = array(
'limit' => 10, //Number of posts to show
//'excerpt' => 60, //excerpt length (letters)
'actcat' => true, //get posts current
'cusfield' => 'post-image', //custom field name of thumbnail image
'w' => 250, //width
'h' => 250, //height
'firstimage' => true, //get first image of post content
'atimage' => true, //get first attached image of post
'defimage' => 'http://watchthefeed.com/wp-content/uploads/2012/04/random-post-default.jpg' //default thumbnail image
);
//print random posts
yg_randomposts($parameters);
} ?>
</div><!--slider container-->