• Hello,

    I would like to click on a thumbnail image on my homepage to open the portfolio item instead of pressing the small arrow on the bottom right corner of each thumbnail. Any ideas on how this could be done?

    Thanks in advance,
    Yiannis

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter thej134

    (@thej134)

    Intended to put the link on the word homepage not thumbnail >.<

    Taner

    (@tanergarden)

    If you wrap the image into an anchor link it should work.

    <a href="<?php the_permalink(); ?>">
    <?php the_post_thumbnail(); ?>
    </a>

    For example. So change the div that it’s wrapped in to an anchor link.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Open portfolio link on thumbnail click’ is closed to new replies.