How to display the default header image on singular posts in Business Pro

A user asked:

I am trying to edit Business Pro so the individual blog posts use the default header image instead of pulling the featured image into the header. Is this possible or something you’ve already covered? I’m stuck.

On single post pages in Business Pro, featured image will appear as the page header below the site header. The default header image (can be changed in the Customizer) will appear when there is no featured image.

If you would like to display the default header image regardless of whether a featured image is present or not, simply edit includes/helpers.php and change

if ( ! $url ) {

to

if ( ! $url || is_singular( 'post' ) ) {

inside the business_custom_header() function definition.

This site uses cookies to offer you a better browsing experience. By browsing this website, you agree to our use of cookies.