• Resolved adminmdv

    (@adminmdv)


    Hi,

    When I add the widget “post grid” I automatically get a thumbnail of the image linked to a post.

    Is it possible to remove that thumbnail of the image?

    Thanks in advance!

Viewing 1 replies (of 1 total)
  • Plugin Author livemesh

    (@livemesh)

    There are couple of ways to achieve this –

    1) You do not set the featured image for the post.

    2) You can just add the following code to theme functions.php to leverage the WP filter hook provided by the plugin –

    add_filter('lae_posts_grid_entry_image', 'mytheme_modify_posts_grid_entry_image', 10, 3);
    
    function mytheme_modify_posts_grid_entry_image($entry_image, $image_setting, $settings) {
    
        $entry_image = '';
    
        return $entry_image;
    
    }

    3) You can use the custom CSS to hide the image (not recommended)

    .lae-project-image { display: none; }

Viewing 1 replies (of 1 total)

The topic ‘Remove thumbnail in “post grid”’ is closed to new replies.