Support » Theme: Blogside » How to make Featured Image able to link

  • Resolved koonkrub99

    (@koonkrub99)


    Dear sir,

    Please let me know how to make Featured Image able to link.
    Is it possible to change code?

    Thank you and regards,
    Koon

Viewing 2 replies - 1 through 2 (of 2 total)
  • Theme Author Alexander Agnarson

    (@alxmedia)

    Hi,

    You would edit /inc/post-formats.php with a child theme and add a link around the code on line 45. After where it says:

    
    <div class="image-container">
    

    You need to add:

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

    Daer Alexander Agnarson,

    Incredible, thank you for your reply. I have to learn more about child theme in WordPress.

    Thank you and regards,
    Koon

Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.