New Topic

Reply To: Clickable featured images at category view + read more button

Home › Forum › Customization › Clickable featured images at category view + read more button › Reply To: Clickable featured images at category view + read more button

#2231

StartupWP
Support

Referring to https://startupwp.com/topic/featured-images-in-category-view/, wrap:

<?php if ( has_post_thumbnail() ) { the_post_thumbnail(); } ?>

With:

<a href="<?php the_permalink(); ?><?php if ( has_post_thumbnail() ) { the_post_thumbnail(); } ?></a>

Then, you can simply manually add the read more here too:

<a href="<?php the_permalink(); ?>Olvass Tovább</a>