Duplicate Serenity Themes Home Featured Bottom Widget

There’s 2 steps involved when duplicating home page widgets for the Serenity child theme by StudioPress.

  1. Duplicate the code for the home featured widget in the home.php file
  2. Duplicate the PHP code which registers the home-featured widget in your functions.php file.

Home Page Template – home.php

Here’s the home.php code which needs to be pasted after the existing code in the file:

Functions File – functions.php

And here’s the code which needs to be added to the other PHP code in your child themes functions.php file which registers the second-featured-bottom.

No need to add any CSS as we have used the existing selector i.d’s which apply to the original home page widget we have just duplicated.

Result

Here’s the widgets page on the backend after registering a new Second Home Featured widget for the home page.

home featured bottom widgets

And here’s the front end using the Calender widget in both featured bottom widgets on the home page.

home page widgets

You can also add another widget area after the header and before the 2 left and right featured widgets areas.

Other Options

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.