This code modification to the Essence Pro child themes enables you to display random header hero images every time the page loads.
Demo Video
Shows the header hero images changing using the image files in the Essence Pro themes images folder each time a page is loaded.
Tested using the bEssence Pro child theme by StudioPress.
Installation & Configuration
There’s 2 steps :
Step 1 : Upload the header-functions.php file to your Essence Pro themes lib folder replacing the default header-functions.php file. You can see the code modification on line 215.
Step 2 : Upload your random hero images to your Essence Pro themes images folder using exactly the same file names as seen in the following screenshot.
Leave a Reply