Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
  • #2811

    Hello !

    Could we hide the preview image only in a particular single post ?


    Uploaded with



    There are a couple of ways to do this, the first and most obvious is to not add an image to the post.

    Assuming you do want to add a featured image for use on other areas of the site, you need to modify this code:

    echo '<div class="entry-previewimage rounded preloading_background">';
    echo $preview_image;
    echo '</div>';


    in single.php, adding WordPress Conditional Tags around the code so it won’t show up on specific posts.



    Ok thanks, i’ll try that

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

The topic ‘hide picture preview’ is closed to new replies.