Close

Account

Documentation

Forum

Menu

Make Featured Image on Posts a Clickable Link

  • Post count: 1
    dave_steepmedia
    January 24, 2015 at 7:42 pm #8579

    Hi,

    Is there any way to make the featured images on posts a clickable link so that you can click the image to open the post?

    My site is vaguedirection.com

    Cheers.

    Post count: 1933
    Rai
    February 3, 2015 at 1:23 pm #8803

    Hi Dave,

    Well, it will need little tweaks on code. You need to edit file at minimy-themes/content.php and go to line 19 :

    <?php the_post_thumbnail('large') ?>

    Replace those code with this:
    <a href="<?php the_permalink(); ?>"><?php the_post_thumbnail('large') ?></a>

    Let me know if you had trouble.

    Thank you

You must be logged in to reply to this topic.