Hide the featured image in a post
-
Hi,
I had a blog on wordpress.com for testing purposes (https://letoilefeline.wordpress.com/2014/07/02/groscalin/), and everything went well with the Skylark theme.
But when I switched to a self-hosted site with a proper WordPress installation (https://letoilefeline.fr/?p=596), blog posts changed: there is now a big and cropped featured image at the top of all posts. I can’t hide it. I read on other threads (https://www.ads-software.com/support/topic/how-do-i-stop-the-featured-image-showing-in-post-as-well) that you can delete a piece of code in single.php but all single.php contains is this :
<?php get_header(); ?> <div id="primary" class="site-content"> <div id="content" role="main"> <?php while ( have_posts() ) : the_post(); ?> <?php get_template_part( 'content', 'single' ); ?> <?php skylark_content_nav( 'nav-below' ); ?> <?php if ( comments_open() || '0' != get_comments_number() ) comments_template( '', true ); ?> <?php endwhile; // end of the loop. ?> </div><!-- #content --> </div><!-- #primary .site-content --> <?php if ( 'image' != get_post_format() && 'gallery' != get_post_format() && 'video' != get_post_format() ) get_sidebar(); ?> <?php get_footer(); ?>
I don’t know what to do.
Any idea?
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Hide the featured image in a post’ is closed to new replies.