How to remove featured image from post?

Viewing 8 posts - 1 through 8 (of 8 total)
  • #2583
    mol8
    Participant

    Hi I would like to know if there’s any way to remove the featured image from the post, but still keeping it in the slider?

    #2584
    Daniel Tara
    Keymaster

    If you just want to remove it from the single post view, then delete the call to [code]the_post_thumbnail()[/code] from loop-single.php

    #2585
    mol8
    Participant

    That’s what I want to do, remove it just from the single post view. But I haven’t found any call to [code]the_post_thumbnail()[/code] in loop-single.php

    this is what I hace in loop-single.php

    [code]<?php
    /**
    * The Loop for single posts
    *
    * @package WordPress
    * @subpackage Minimatica
    * @since Minimatica 1.0
    */
    ?>

    <?php if( have_posts() ) : the_post(); ?>
    <div class=”title-container”>
    <h1 class=”entry-title”><?php the_title(); ?></h1>
    </div><!– .title-container –>
    <div id=”container”>
    <article id=”post-<?php the_ID(); ?>” <?php post_class(); ?>>
    <?php get_template_part( ‘content’, get_post_format() ); ?>
    </article><!– .post –>
    <?php get_sidebar(); ?>
    <div class=”clear”></div>
    </div><!– #container –>
    <?php endif; ?>[/code]

    #2586
    Daniel Tara
    Keymaster

    Sorry, it is located in content.php

    #2587
    mol8
    Participant

    thnkx

    #7372
    trashmonkey
    Participant

    This has been irritating me no end!
    Perhaps there could be an option in a future release to fix this? It would be a valuable option in a post.
    This is a really well put together theme.
    Ian.

    #7490
    kosta
    Participant

    I removed it in my child theme and it didn’t work… could I be doing something wrong?

    thanks for any help

    #7935
    stargazer713
    Participant

    @kosta Try removing the code from the official theme too, not just your child theme.

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

You must be logged in to reply to this topic.