Tagged: function
I never want a post OR page’s featured image to display in the single post / page view.
Have found many answers involving simply hiding it with css and a couple suggesting editing parent theme files but would prefer and a simple function to add to child theme functions.php to acheive this.
Is it possible?:
Many thanks.
Hi M1000000!
Please go to Enfold/includes folder and open loop-page.php file and loop-portfolio-single.php file and find
if($thumb) echo "<div class='page-thumb'>{$thumb}</div>";
and comment it out as following
// if($thumb) echo "<div class='page-thumb'>{$thumb}</div>";
Cheers!
Yigit
Hi Yigit – yes, already visited this option.
Was hoping to be able to filter this out in child theme functions.php rather than through template files though.
Hi!
It is currently only possible via either custom CSS or editing the file.
Please feel free to request such feature here – https://kriesi.at/support/enfold-feature-requests/
Best regards,
Yigit
OK, thanks.