- Web templates
- E-commerce Templates
- CMS & Blog Templates
- Facebook Templates
- Website Builders
WordPress Cherry 3.x. How to remove featured image on portfolio post page
August 11, 2015
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:
In order to remove the featured image on a portfolio post page, you should perform the following:
-
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.
-
Download and open up the wp-content/themes/themeXXXXX/loop/loop-single-portfolio.php file in any code editor.
-
Assign the span12 class to the $left_block and $right_block variables:
$left_block = 'span12'; $right_block = 'span12';
-
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:
-
Save the changes to the loop-single-portfolio.php file and re-upload it to the server.
The featured image is gone:
Feel free to check the detailed video tutorial below:
WordPress. How to remove featured image on portfolio post page