Find out how to add widget areas to the footer in any Genesis Framework child theme using code.
Genesis allows you to insert widget areas inside the footer that are very useful for placing links to social networks, a sub menu or any other information you need.
If the Genesis child theme you are using in your project does not support this feature, don’t worry. It’s easy to enable it by following these steps:
Code to display widget areas in the Genesis footer
Insert this snippet at the end of the functions.php file:
To see this and another 965 code snippets of this website, login or subscribe here.
This supports 3 widget areas. Of course you can change the number to get the amount you want.
However, whenever you add a new element to the website you must make sure that it is displayed properly. In this case, you only have to insert the following snippet in style.css:
To see this and another 965 code snippets of this website, login or subscribe here.
With this code snippet you apply basic styles. However, depending on the theme you’re using, you may need to make small adjustments to the code to make sure it looks right.
Conclusions
The widget areas at the bottom of the page are very practical when placing social networks, a secondary menu or any other information.
Does your Genesis Framework child theme not support them by default? Now you know how to add them with code.
If you have any question, please leave it in the comments. And if you want to give me a suggestion for future snippets, please send it through the contact form.
Benefits of being a subscriber. 🙂