1

I am hoping that someone can help me - How can I set the Class on the Thumbnail images?

I have looked here: In the catList.php file

 $lcp_thumbnail = '<a href="' . get_permalink($single->ID).'">' . get_the_post_thumbnail($single->ID, $this->params['thumbnail_size']) . '</a>';

The default class on the thumbnail looks like this - class="attachment-thumbnail wp-post-image"

It would be great to set the class on the thumbnail image, via the shortcode.

Thanks

1 Answer 1

1

This feature was implemented on List Category Posts version 0.21 :)

thumbnail_class - Set a CSS class to the thumbnail and style it.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.