The code modification in this tutorial enables you to conditionally remove the page header image without removing any of the functionality or classes included within the
showcase_page_header() function which you’ll find starts on line 320 of the showcase-pro > functions.php file.
Based on this question from a member of the Genesis community:
Hi all, I’m stuck in a little puzzle on the Showcase Pro theme. I’m trying to turn off the featured image in the header, but only on pages (not posts). I’ve tried fiddling with both the PHP that brings in the image and the CSS that displays it, but so far I’ve only been able to make the entire section vanish, not just the image.
The following code is the modified function which you can swap out with the original function starting on line 320 of the showcase-pro > functions.php file.
The above PHP code removes the page header image only on single pages. Change the
is_singular('page') conditional if needed to suit your own requirements.
Video Installation Guide
Shows you how to modify the code for the
This tutorial provides the solution which enables you to display a custom image in replace of the featured image.Subscribe for Free & Premium Genesis Tutorials