Support » Fixing WordPress » Removing featured image thumbnail from post

  • Hi guys,

    I have an issue where I want to use a featured image to show in the slider on my home page. However, when I add a featured image it seems to add it also as a thumbnail on that specific post. is my website. It’s still under construction so please forgive me 🙂

    If you take a look at the home page slider, these are the images I need to show, but if you click on the images a thumbnail appears on that page. Does anybody know how to remove this thumbnail?

    Any help is greatly appreciated.

    Thank you.

Viewing 6 replies - 1 through 6 (of 6 total)
  • Hi, I think you’d need to manually remove this from the theme’s page.php or post.php file depending on whether it’s a post or page.

    You can access the relevant file via the WordPress admin area >> Appearance >> Editor >> You’ll then see an option to select the file on the right. This is the code that makes up the page/post and there should be area that has “the_post_thumbnail();” in it. If you remove that section it will remove the featured thumbnail. If you’re not sure what to remove paste a copy of the code here and I’ll be able to advise.

    Hi Sam,

    Thanks for the reply. I created these pages as posts but I cannot see a post.php file. I can see the page.php file which must be link to the two pages I created (About us & Contact us).

    I have located “the_post_thumbnail();” in several files such as functions.php and loop.php in the form of “<?php the_post_thumbnail( ‘homepage-thumb’ ); ?>” I deleted these and updated the file, the website remains the same though.

    The code is pretty long. Should I still post it here? Thanks for your help with this 🙂

    My bad, if it’s a post it will be the single.php file you need to edit – that controls the post. Can you see the_post_thumbnail in the single.php file?

    Thanks a lot for all your help, I really appreciate it. There is not a lot of code in the single.php file. Unfortunately the_post_thumbnail is not here. I can locate the_post_thumbnail in the loop.php file. Removing <?php the_post_thumbnail( ‘homepage-thumb’ ); ?> from the loop.php file did not do anything that I can see. I will post both codes below.

    The single.php is as follows;

    [70 lines of code moderated as per the Forum Rules. The maximum number of lines of code that you can post in these forums is ten lines. Please use the pastebin]

    Quick question, if i want to remove the featured image but I’m not using the featured image on a post but on a portfolio plugin… where should I remove that code from, what file? I installed a portfolio plugin to show my pictures

    LamXavier… its actually a combination of two things..

    in your case, its being called by content-gallery.php and looks like this…
    <?php minimatica_post_gallery(); ?>


    My suspicious is that on the post, say for example, your post 17, “Urban” when making the post, you checked off gallery view on the right hand side of the “new post” screen.

    Since you have next gen gallery running aswell…
    You have 2 choices…
    you can change the post format back to standard..once you change that, you will remove
    <?php the_post_thumbnail( ‘single-thumb’ ); ?>
    from content.php …

    HOWEVER…If your gonna use nextgen Gallery From here on out…

    I would edit the content-gallery.php file, and pull out
    <?php minimatica_post_gallery(); ?>
    and use nextgen, and you also will only mess up the gallery post template, as opposed to you content.php file…

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Removing featured image thumbnail from post’ is closed to new replies.