Categories

Featured templates

WordPress Blogging themes. How to remove featured image from single portfolio page

Rating: 5.0/5. From 2 votes.
Please wait...

This tutorial is going to show you how to remove featured image from the single post pages in WordPress Blogging themes.

WordPress_Blogging_themes._How_to_remove_featured_image_from_single_post_page_1

In order to remove images from the single posts perform following changes:

  1. Connect to your server using FTP or hosting cPanel File Manager.

  2. Locate wp-content/themes/theme_name/template-parts/content-single.php file (where theme_name is the name of your theme). Download it to your computer and open it with any code editor (we recommend that you use Notepad++ or Sublime Text).

  3. Use CTRL+H to search for "post-thumbnail" figure class. You’ll locate the following code:

    <figure class="post-thumbnail">
    	<?php style_park_post_thumbnail( false ); ?>  
    </figure><!-- .post-thumbnail -->

    Here is an example of a code you may also find:

    <figure class="post-thumbnail">
    	<?php               
    	$utility->media->get_image( array(                       
    	'size'            => 'bitnews-post-thumbnail-large',                     
    	'class'            => 'post-thumbnail__img wp-post-image',                      
    	'html'            => '<img %2$s class="post-thumbnail__img wp-post-image" src="%3$s" alt="%4$s" %5$s >', 
    	'placeholder'    => false,                       
    	'echo'            => true,                    
    	));              
    	?>    
    </figure>
  4. Remove/comment lines above.

  5. Save the changes to the file and re-upload it to the server.

  6. Refresh your site to see the changes applied. You’ll see that the featured image is gone:

    WordPress_Blogging_themes._How_to_remove_featured_image_from_single_post_page_2

Feel free to check the detailed video tutorial below:

WordPress Blogging themes. How to remove featured image from single portfolio page

Go over our full collection of WordPress Themes, in case you want something more!

Wordpress Premium Themes
This entry was posted in WordPress Tutorials and tagged image, portfolio, remove, WordPress, WordPress Blogging themes. Bookmark the permalink.

Submit a ticket

If you are still unable to find a sufficient tutorial regarding your issue please use the following link to submit a request to our technical support team. We'll provide you with our help and assistance within next 24 hours: Submit a ticket