HostOnNet Blog

Remove the featured image from the post page in WordPress

Looking for Linux Server Admin or WordPress Expert? We can help.

Today I was working on a website Tips for Happy life for Youtube Vlogger Annie Yujin. She just wanted to remove the featured image from her post page.

We can do it by removing the thumbnail code from the theme. But if we do that the thumbnail will not show in the archive page also.

wordpress blog archive

The website was built with siteorigin theme. So I modified the single.php file in /wp-content/themes/siteorigin-corp/


get_template_part( 'template-parts/content', get_post_format() );


get_template_part( 'template-parts/content-single', get_post_format() );

The Theme has a content.php file in template-parts folder, which I copied and then renamed as content-single.php file. Then removed following code and uploaded to /wp-content/themes/siteorigin-corp/template-parts

<?php if ( has_post_thumbnail() ) : ?>
<?php siteorigin_corp_entry_thumbnail(); ?>
<?php endif; ?>	

Remove featured thumb

About Sibi Antony

Bootstrap and Android LOVER. I've been creating things for the web for over 10 years, from the period of flash and table based layout web sites till mobile and tab friendly web sites.
Posted in Wordpress. Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.