Interior Pro – Use Featured Image As Hero Image On Single Posts & Pages

This solution enables you to replace the default hero image which displays in the background of the site header of the Interior Pro with a featured image, if added.

If the single post or single page does not contain a featured image, the default hero image pulled from your child themes images folder ( or added/changed via the customizer ) will display.

Here’s the demo video:

And here’s the instructions for members on how to modify the code.

The only changes you need to make are all done in the lib > output.php file of the Interior Pro child theme by StudioPress.

There’s 2 steps:

1st Step

Related Code


Comments

One response to “Interior Pro – Use Featured Image As Hero Image On Single Posts & Pages”

  1. Works like a charm Brad, thank you! 🙂

Leave a Reply

Join 5000+ Followers

Get The Latest Free & Premium Tutorials Delivered The Second They’re Published.