Categories

Featured templates

WordPress Cherry 3.x. How to remove featured image on portfolio post page

Guillaume Dumas August 11, 2015
Rating: 5.0/5. From 2 votes.
Please wait...

WordPress. How to remove featured image on portfolio post page

This tutorial is going to show you how to remove featured image on portfolio post pages in WordPress templates:

WordPress._How_to_remove_the_featured_image_on_a_portfolio_post_page-1

In order to remove the featured image on a portfolio post page, you should perform the following:

  1. Copy the loop-single-portfolio.php file from the directory wp-content/themes/CherryFramework/loop to wp-content/themes/themeXXXXX/loop. If the latter doesn’t exist, you should create it.

  2. Download and open up the wp-content/themes/themeXXXXX/loop/loop-single-portfolio.php file in any code editor.

  3. Assign the span12 class to the $left_block and $right_block variables:

    $left_block = 'span12';
    $right_block = 'span12';	
    			

    WordPress._How_to_remove_the_featured_image_on_a_portfolio_post_page-2

  4. Remove the code from lines 13-52:

    <div class="<?php echo $left_block; ?>">
    // content...
    </div>			
    			

    After you removed the code, only the entry-content division should be left in the first row:

    WordPress._How_to_remove_the_featured_image_on_a_portfolio_post_page-3

  5. Save the changes to the loop-single-portfolio.php file and re-upload it to the server.

    The featured image is gone:

    WordPress._How_to_remove_the_featured_image_on_a_portfolio_post_page-4

Feel free to check the detailed video tutorial below:

WordPress. How to remove featured image on portfolio post page

Wordpress Design Templates
This entry was posted in WordPress Tutorials and tagged featured, image, page, portfolio, WordPress. 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