This tutorial goes over how to add a new widget area to your WordPress theme. You will learn how to register a new widget area called ‘Contact’.
In this short video tutorial we will add some code that will register a contact widget to your WordPress theme. Below you will find the code that I have in my widgets.php
file. As I mentioned in the video, if you are trying to add a custom widget area to a theme and can’t find where to put the code, simply search for widgets_init
in the theme files.
The next tutorial goes over how to create a custom WordPress page template that uses this contact widget area.