• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar

WP SITES

2665

Original Genesis Tutorials & 5000+ Guaranteed Code

Snippets

  • Support
  • Newsletter
  • Videos
  • Log in

Premium Member? - Request custom code

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

Register for full access

Related Code

  • Interior Pro – Add Custom Hero Image On Single Posts & Pages

Interior Pro Theme

Reader Interactions

Comments

  1. spnfxdan says

    June 25, 2016 at 11:18 pm

    Works like a charm Brad, thank you! 🙂

    Log in to Reply

Leave a Reply Cancel reply

You must be logged in to post a comment.

Primary Sidebar

PHP Code

template_include

get_body_class

if else

array

class_exists

foreach

sprintf

add_action

printf

variable

Advertise · WPEngine · Genesis · Log in

  • How Premium Membership Works
  • Sign Up
  • Support
  • Subscription Details/Invoice
  • Tagged Tutorials
  • Access-Download Problems