New Landing How can we help? Themeforest Theme Support Dante add external url to featured image wordpress

Viewing 6 posts - 1 through 6 (of 6 total)
  • Posted in: Dante
  • #282186
    bnksmile
    Member
    Post count: 21

    Hi there,

    I would like to add an external URL to the featured image on posts. A featured image on different posts may link to different URLs. If a user clicks the image then it links he/she to that URL for further information. I found one ticket similar to this topic but a while ago and not sure how to do it.

    I’ve found a few links following:
    https://wordpress.org/support/topic/how-to-add-an-external-url-to-a-featured-image; and
    https://www.iceablethemes.com/forums/topic/featured-image-url/

    I was trying to find the places that they mentioned in single.php but I couldn’t find it. I need your help if it is possible.

    Thank you.
    Best,

    #282187
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    Hi

    Unfortunately I’m not aware of how you would do this, there will likely be a plugin with this functionality.. have a look

    – Kyle

    #282189
    bnksmile
    Member
    Post count: 21

    Hi Kyle,

    There was a ticket #103115 that the support team answered but I am not sure where to add the code. I found a few explanations as mentioned in my ticket and see if you could help.

    Many thanks.
    Regards,

    #282190
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    Got a link to that ticket?

    – Kyle

    #282193
    bnksmile
    Member
    Post count: 21
    #282196
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    That wouldn’t actually work as the image does not have a permalink set.. this is a pretty difficult customisation, you would need somewhere in the backend to set your link, then you would need to add the output of the link to the php file. Unfortunately this customisation is beyond our scope of support as it’s more work than a basic customisation.

    We recommend you seek a freelance developer to help you

    – Kyle

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

You must be logged in and have valid license to reply to this topic.

License required for one of the following items
Login and Registration Log in · Register