Home Forums Theme support Featured Image not clickable

This topic contains 3 replies, has 2 voices, and was last updated by  7Theme Support 3 years, 9 months ago.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • Hey!

    I’m using the Eastend theme. The featured image has a cool feature where the caption and description appear on the photo, however, I can’t make them clickable.

    I would love to add a link to the whole image, or even just the caption and description headers that appear. How can I do that?

    Hm, I think you can only modify the php / html code, unfortunately you can’t do that with just some clicks.

    The file where you have to make the changes is “slider_image.php”

    Okay. I’m more than happy to do that. I’m not very good at code yet. Do you know the code I should input there?

    Replace this:

    <img src='<?php echo $image['0']; ?>' alt='' />

    with this:

    <a href="put_your_link_here"><img src='<?php echo $image['0']; ?>' alt='' /></a>

    Please note: changes in the php files normally are not covered by free support!

Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.