This tutorial shows you how to display different backstretch images using the Minimum Pro theme by StudioPress. By default, the theme only shows 1 image on the front page which uses the body class and displays after the header.
You can replicate this functionality on all single posts, single pages and all archive type pages using custom code.
Lets take a look at the demo video which shows you the result:
This tutorial has been written based on this question from a member of the Genesis community:
I use the Minimum Pro theme and I’d like to change the backstretch-background image to have a different one on each page.
Here’s the code for logged in members:
Trip Juchheim says
The above code isn’t working for me. No image is loading (neither from $single or $fallback) and I have set a custom field background image on the page.
I can only get an image to display by reverting back to using the original code from front-page.php in functions.php, but this doesn’t allow for the use of multiple images.
Brad Dalton says
Trip. Please send access details and i’ll install the code for you.
Update – Code updated and retested.