Photolite Theme: How do I remove the Featured Image from my posts?

Premium WordPress Themes Support Themes Forum Photolite Theme: How do I remove the Featured Image from my posts?

This topic contains 2 replies, has 2 voices, and was last updated by  FlyThemes 3 months, 1 week ago.

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

    Janet
    Participant

    I cannot figure out how to remove the featured image from my posts. I want a featured image for each post because it’s used for a plug-in I have. However, the featured image is now showing up at the top of each post at full-size, in addition to the properly placed duplicate in the post.

    Would you please tell me how to fix this problem?

    Thank you.

    P.S. Here is a link to my journal home page. It has a listing of my blog entries which show up with a snippet of text and the featured image, which I love. But when you click on the link, the featured image is the first thing you see and I would like to remove it.

    Janet’s Journal

    #5332

    Janet
    Participant

    I found some help online which solved my problem:

    I discovered that the file I needed to alter was:

    Content-single.php

    The advice I got:
    Have a look at standard.php in includes/post-formats/ and you should find something like <?php the_post_thumbnail(‘thumbnail’); }?> which you can remove.

    This was the code I found which seemed right to me:
    <?php
    if (has_post_thumbnail() ){
    echo ‘<div class=”post-thumb”>’;
    the_post_thumbnail();
    echo ‘</div><br />’;
    }
    ?>

    This is the snippet I replaced the removed text with:
    <?php
    if(!is_single()){
    if ( has_post_thumbnail()) { the_post_thumbnail(‘thumbnail’);}
    }
    ?>

    This solution worked perfectly!

    Is there anything in this code that needs to be altered or changed for the integrity of this theme?

    #5372

    FlyThemes
    Keymaster

    Hi

    No there is no need to change it works fine.

    Thank You

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

You must be logged in to reply to this topic.