Support » Fixing WordPress » Double images in post header: ¿WP or theme issue ?

  • Resolved abzu2


    I frequently select the featured image to be the same as the header image of a post. In numerous themes that I have tested, both images are displayed. One above the heading of the post and the other below. See screenshot

    Removing the inserted image above the post header eliminates the double image scenario and only the featured image is displayed, which in my case is the same image. If I remove the featured image, no image is displayed in the desired position in the post. Ignore what code is required to solve this problem and where to insert it and whether this is an issue with some WP or theme file.

    I have contacted some theme authors and have yet to receive a solution to this problem.

    TIA for any advice on how to solve this undesired issue.

    The page I need help with: [log in to see the link]

Viewing 6 replies - 1 through 6 (of 6 total)
  • Go to on theme or child theme folder and open single.php file and find class=”featured-header-image” below this class you will find the_post_thumbnail or get_the_post_thumbnail function and remove it. It and check your page it will be removed from your header.

    Andrew Nevins


    WCLDN 2018 Contributor | Volunteer support

    Theme issue. Your theme support is here:

    Thanks for your kind reply.
    Fail to see in my single.php file class=”featured-header-image” nor post_thumbnail or get_the_post_thumbnail function

     * The template for displaying all single posts.
     * @package Lucienne
    get_header(); ?>
    <div id="primary" class="content-area">
      <main id="main" class="site-main" role="main">
        <?php while ( have_posts() ) : the_post(); ?>
        <?php get_template_part( 'template-parts/content', 'single' ); ?>
    				// If comments are open or we have at least one comment, load up the comment template.
    				if ( comments_open() || get_comments_number() ) :
        <?php the_post_navigation( array( 'next_text' => __( '<span class="meta-nav">Next Post</span> %title',  'lucienne' ), 'prev_text' => __( '<span class="meta-nav">Previous Post</span> %title',  'lucienne' ) ) ); ?>
        <?php endwhile; // End of the loop. ?>
      <!-- #main --> 
    <!-- #primary -->
    <?php get_sidebar(); ?>
    <?php get_footer(); ?>

    Thanks for your reply. Fail to see any support from themefurnace for their theme Lucienne, which I am trying to use. Posted my issue, that seems quite common, to
    I am sure there is some code or elimination of, that will solve the problem. Been using Elucidate which did not have this issue, but wanted to change the theme.

    • This reply was modified 2 years, 3 months ago by abzu2.
    • This reply was modified 2 years, 3 months ago by abzu2.

    Was looking at the single.php file and not the content-single.php file that I failed to see. It was hidden under template parts. Your solution solved my problem. Excellent.
    Thank you very much.

    Welcome Buddy. Glad to see your problem is solved.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Double images in post header: ¿WP or theme issue ?’ is closed to new replies.