By default, the serenity themes home page includes a featured left and right widget areas which split the content area at the start of the home page.
In this tutorial. i’ll provide the code which enables you to add a new widget area after the header and before the 2 default featured widgets.
Here’s the new look which also includes a second home bottom widget area as another option.
And here’s the code.
Please copy the PHP code from the view raw link.
- The home.php code goes in your child themes home.php file around line 8-9.
- The functions.php code goes at the end of your child themes functions.php file.
Its best practice to use a code editor like Notepad++ when copying and pasting code.