Dear Customers! We're out of the office from the 6th of October to the 11th of October. We sincerely apologize for the inconvenience. For WordPress 5.5.* related issues, please visit this article

Okay
  Public Ticket #1261060
Featured Images Link
Closed

Comments

  • James started the conversation

    I would ever so grateful if the featured images listed on the blog page linked to the post, not a pop-up of the image. Also, it would be equally as great if the image did not link at all inside of the article. Is that configurable?

    -James

  •  255
    Joanna replied

    Hi James,

    Sorry about the late reply!

    To remove the image lightbox you will need to do this:

    You will need to edit this file: north\framework\functions\blog-functions.php

    On lines 409-411 where it says:

    <div class="single_item mp-gallery">        
        <a href="<?php echo $imgurl[0]; ?>" title="<?php echo get_post_meta( get_post_thumbnail_id($post->ID), '_wp_attachment_image_alt', true); ?>">            
        <img src="<?php echo $imgurl[0]; ?>" alt="<?php echo get_post_meta( get_post_thumbnail_id($post->ID), '_wp_attachment_image_alt', true); ?>">
    </a>
    

    Change it to:

    <div class="single_item">
            <a href="<?php echo get_permalink( $post->ID ); ?>" title="<?php echo get_post_meta( get_post_thumbnail_id($post->ID), '_wp_attachment_image_alt', true); ?>">
                <img src="<?php echo $imgurl[0]; ?>" alt="<?php echo get_post_meta( get_post_thumbnail_id($post->ID), '_wp_attachment_image_alt', true); ?>">
            </a>
        </div>
    

    Then save, upload and replace to the same directory in your server via ftp/hosting control panel.


    Kind regards,
    Joanna
    Veented Support

    Find a helpful article for your theme here: https://veented.ticksy.com/articles/#article-categories

    Check out our latest article: How to Improve Page Loading Times

    Don't forget to hit the like button below if you are happy with your support answer :)