Tagged: 

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #494195

    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.

    #494208

    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

    #494256

    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.

    #494285

    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

    #494304

    OK, thanks.

Viewing 5 posts - 1 through 5 (of 5 total)
  • The topic ‘remove featured image from page & post content everywhere through child function’ is closed to new replies.