WordPress.org

Ready to get started?Download WordPress

Forums

Fresh & Clean: remove featured image from post (14 posts)

  1. perperas
    Member
    Posted 1 year ago #

    I have 2 problems, please help me! I am using Fresh & Clean theme..I am a little new to wordpress FYI

    1) everytime I create a new post and set a featured image, the image appears in the top left corner of my post and I can not for the life of me figure out how to remove it.

    2) It only seems if I choose a 2 column style layout with widgets on the side, my posts are also a 2 column layout, however when I publish a page, I have the option for a full page layout or my default 2 column style. Anyway to get that same option when i publish a post? I would like some post full page and some 2 column.

    Thank you soooo much
    http://www.VentureRealEstate.net is my site

  2. Shane Gowland
    Member
    Posted 1 year ago #

    ) everytime I create a new post and set a featured image, the image appears in the top left corner of my post and I can not for the life of me figure out how to remove it.

    Features images are designed to appear in a pre-defined part of the site's layout. If you want to put pictures in your actual blog post; see: Inserting Images into Posts and Pages

    To remove a featured image; go to the Edit Post screen and (in the right sidebar) click the "Remove Featured Image" option.

    I'm not quite sure on #2. You will probably need to contact the theme author for that one.

  3. perperas
    Member
    Posted 1 year ago #

    Thanks but not really what I was looking for. I know how to enable and disable the feature image. I want the feature image to be on my main page, just not in the post as well.

  4. Shane Gowland
    Member
    Posted 1 year ago #

    My apologies, sometimes it's hard to guess the "tech-savvy-ness" of the people who request help here.

    In that case; you will need to edit 'single.php' in your theme's template files. Look for the chunk of code that calls "the_post_thumbnail()" and remove it - including formatting.

    If you're going to be editing themes, I suggest looking into Child Themes

  5. perperas
    Member
    Posted 1 year ago #

    Thank you very much! I tried removing it but with no luck. Can you tell me what to remove?

    <?php get_header(); ?>
    <div id="main">
    <?php if (have_posts()) : while (have_posts()) : the_post(); ?>
    <div class="post single">
    <h1 id="single-title"><?php the_title(); ?></h1>
    <div id="byline">
    Posted by <?php the_author() ?> On <?php the_time('F jS, Y') ?> / <?php comments_popup_link('No Comments', '1 Comment', '% Comments'); ?>
    </div><!-- /Post Byline -->
    <div class="postcontent">
    <?php if ($xs_disable_thumbnails_posts == "true") { ?>
    <?php } else { ?>
    <?php if ( has_post_thumbnail() ) { ?>
    <div class="thumbnail-wrap">
    <?php the_post_thumbnail('singe-post-image'); ?>
    </div><!-- END thumbnail-wrap -->
    <?php } } ?>
    <?php the_content(); ?>
    <p id="post-admin"><?php edit_post_link( $link, $before, $after, $id ); ?></p>
    </div><!-- /Postcontet -->
    <?php get_template_part( 'post','relatedposts') ?>
    </div><!-- /Post -->
    <div class="clear"></div>
    <?php comments_template(); ?>
    <?php endwhile; ?>
    <?php endif; ?>
    </div><!-- End Main -->
    <?php get_sidebar(); ?>
    <?php get_footer(); ?>

  6. Shane Gowland
    Member
    Posted 1 year ago #

    Remove
    <?php if ($xs_disable_thumbnails_posts == "true") { ?>
    <?php } else { ?>
    <?php if ( has_post_thumbnail() ) { ?>
    <div class="thumbnail-wrap">
    <?php the_post_thumbnail('singe-post-image'); ?>
    </div>
    <!-- END thumbnail-wrap -->
    <?php } } ?>

  7. perperas
    Member
    Posted 1 year ago #

    I appreciate all your help on this, but I removed the code and still appears

  8. Shane Gowland
    Member
    Posted 1 year ago #

    If that was single.php; it's almost impossible for that not to have worked.

  9. Andrew
    Forum Moderator
    Posted 1 year ago #

    At the end of the file, try adding,

    <?php echo 'YAAARRRGHHH!!';exit; ?>

    What is outputted?

  10. perperas
    Member
    Posted 1 year ago #

    Got it!!!! Thank you thank you thank you!!!!! I did not realize there was 2 single post sections, i was using the wrong one. Thanks again!!!!

    You do not know how to remove "related Post below" so my other posts do not appear at the bottom do you?

  11. awideman
    Member
    Posted 1 year ago #

    Hey Perperas, I'm having a similar problem. I'm making changes to single.php but they are not affecting the layout of my blog posts.

    What do you mean there are 2 single post sections? I can't seem to find the second one. Where is the one that worked for you?

    Thanks for your help in advance! :D

  12. scwilson86
    Member
    Posted 9 months ago #

    I am having a similar issue. It's showing up as a thumbnail in the upper left hand side. My code looks different. This is what I have:

    [code removed - please use the code buttons]

  13. WPyogi
    Volunteer Moderator
    Posted 9 months ago #

    @scwilson86 - please start your own thread per:

    http://codex.wordpress.org/Forum_Welcome#Where_To_Post

    Please also read the rest of the forum welcome about what info to include in your post and how to post code on these forums.

  14. scwilson86
    Member
    Posted 9 months ago #

    Oh sorry.

Topic Closed

This topic has been closed to new replies.

About this Topic