Adding multiple widgets in wordpress

Widgets are the most common part used in WordPress. Adding multiple widgets WordPress is must have requirement if you are developing a website for someone so they can manage the content from admin under widget section.

In the previous tutorial, I have explained you how to add widgets to the page. In that we had added a single widget. If you don’t know how to add single widget, you can refer to this link. If you are done with that then follow these steps:

Step 1:

As we have done with adding the following code in our function.php file:

Inside this file, add another code as given bellow:

Your final code will be:

 

 

Loading