The code in this tutorial adds a widget after the header on all pages excluding single posts and the front page.
The widget includes a full width background image like the front page 1 widget area.
The tutorial has been written based on the following question from a member of the Genesis community :
Hello I’m using the Gallery Pro theme and I want to be able to have the same type of full width front-page image on my sub pages. Also I want to be able to have a widget that will allow me to add a button to the image similar to the “Front Page 1” widget. Is this possible? Thanks in advanced for any help.
Here’s the demo video.
Demo Video
Adds a full width widget with background image after the header on all pages excluding the front page & single posts.
Unique Content & Background Images
You can also use the code below in replace of the code included in the download file if you want to add a unique image as the widget background on each page. When no image added, a default named after-header.jpg is used from your images folder.
Or
Here’s a entire tutorial which includes the code for adding unique content & unique images.
Code Installation
Simple, 1 step code installation :
From the download folder, copy & paste the PHP code to the end of the Gallery Pro themes functions.php file.
You can then add HTML to a text widget in the new After Header widget area.
Register or login to access the download folder for members :
Leave a Reply
You must be logged in to post a comment.