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:

Was This Tutorial Helpful?

Free

$0

Access only to all free tutorials per month.



Monthly

$75

Access to 10 premium tutorials per month.


Tutorial Request


Includes code guarantee and coding support.

Yearly

$500

Access to 15 premium tutorials per month.


Monthly Tutorial Request


Includes code guarantee and priority coding support.