This tutorial goes over how to add new widget areas in our WordPress theme to use in the footer. We use these widget areas to make a 3 column layout in our WordPress theme footer.
Add widget areas to footer
- Go into
inc/widgets.phpand duplicate the sidebar widget area for the 3 new footer widget areas. Your
widgets.phpfile should look like the following:
- Edit the footer.php file to include the new footer widget areas. Your
footer.phpfile should look like the following:
- From the Dashboard, go to Appearance -> Widgets and add widgets to the new Footer areas to verify everything is working.