Slide In - How to add anchor to thumbnails?

I have activated thumbnails on the Slide In plugin, but they are not clickable. I think this would be a great feature. Could you please add this to the Feature Requests?

Also, any custom code would be helpful in the meantime.


  • Michael Bissett

    Hey @Chris, hope you're doing well today! :slight_smile:

    Sure, I can move this over to the Features and Feedback section here on the forums (and have done so), but in the meantime, could you try adjusting line 13 of:


    So that instead of this:

    ($related_has_thumbnails ? '<img class="wdsi-slide-thumb" src="' . $image . '" />' : '') .

    It reads like this:

    ($related_has_thumbnails ? '<a href="' . get_permalink($related->ID) . '"><img class="wdsi-slide-thumb" src="' . $image . '" />' : '') .

    And seeing if that works for you? :slight_smile:

    Please advise,

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.