Blog Featured Image – Go directly to the article

Support Forums for LiveMesh Themes & Plugins Forums Enigmatic Theme Support Blog Featured Image – Go directly to the article

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #1138
    Arnaudk
    Member

    Hi,

    Is there a simple way to make that when you click on an featured image (in a homepage of a blog for exemple) then goes directly to the article instead of having the choice between zooming on the image or access the article?

    In the case of a blog, it does not make sense to allow people to zoom on image, they prefer to go directly to the article by clicking on the image.

    Thanks !

    #1141
    livemesh
    Keymaster

    Hi,

    You need to make the following change in thumbnail-functions.php file located in framework/functions/ folder.

    Change line number number 28 to

    function mo_show_image_info($context) {
    
        return ($context == 'portfolio');
    
    }
    

    Thanks.

    #12206
    yammy
    Member

    Instead of that, I did that to have it suppressing zoom for both portfolio and blog:

    thumbnail-functions.php:28

    if( ($context == ‘portfolio’) || ($context == ‘starter’) ) {

Viewing 3 posts - 1 through 3 (of 3 total)
  • The forum ‘Enigmatic Theme Support’ is closed to new topics and replies.