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

WP SITES

2662

Original Genesis Tutorials & 5000+ Guaranteed Code

Snippets

  • Support
  • Newsletter
  • Videos
  • Log in

Premium Member? - Request custom code

Digital Pro Front Page 1 Widget On All Pages

This tutorial enables you to replicate the front page 1 widget area on all pages. The code also creates a unique widget area so you can display different content.

On top of this, you can also display a unique background image behind the new widget area which can be added via a new setting added to the customizer.

Here’s the demo video

Demo Video

Note : You can also use the featured image as a background image on all single posts and pages. Code modification for this is included for logged in users.

Installation

  1. Once you download the functions.php file below, copy and paste the PHP code to the end of the Digital Pro themes functions file.
  2. Add a image named after-header.png to your child themes images folder.
  3. Go to Appearance > Widgets and add a widget to the new widget area named Front Page Copy

Here’s the code for paid members:

Register for full access

Digital Pro Theme

Reader Interactions

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