In this post, we are going to see How To Add/Manage Widgets In WordPress. Widgets are the main functions used for creating design and structure for our site. WordPress is designed in a way to drag the widget wherever we want to.
Login to Dashboard -> Appearance -> Widgets. We get a Widget page where we can customize the widgets in our website as shown in the image below.
Here we get four areas
1.Available widgets 2.Inactive Widgets 3.Main Widget Area 4.Secondary Widget Area
The area which consists of many widget box which we can drag it to main widget area or secondary widget area. Once we click on the widget we can get an option for making it as main or secondary widget area. Some of the widgets available in the widget page are archives, calendar, categories, meta, Recent Post, Search, Tag cloud. Once we click on the widget it opens as a drop-down box which asks for adding in the main widget or secondary widget area as shown in the image below.
Main Area Widget
We can choose the available widgets and add the widget to the main widget area. The another simple way is by dragging the widget box to the main widget or secondary widget area. For example, if we drag the “pages” widget to the main widget area as shown in the image below.
We get a drop-down list box where we can add a page title, ordering the pages as per page title or page order or by page id. We can also exclude one or many pages by its id as shown in the image below.
Finally, save it. Now we can see the pages widget appear in our website. We can add many widgets as we want which is shown in the image below.
Secondary Widget Area
This is the area where we can notice at the sidebar of the website. Adding the widget to this area is similar to that of the main widget area. Here we are going to add “Recent Post” and “Recent Comments” which can be added by dragging or by choosing from the available widget area as shown in the image below.
In the “Recent Post” or “Recent Comments” widget box, we can add the number of posts/comments which we want to show in the website. Even we can enable the post date checkbox in the “Recent Post” widget box as shown in the image below.
Finally, save it. Now we can see the website modified as shown in the image below.
Note: I done with the theme “Twenty-thirteen”. The secondary widget area is available in this theme. There are additional options which are different for themes which we choose.
Note: We can also reorder the widgets in the main/secondary area.
Deleting Widgets in the Main/Secondary Widget Area
It is simple to delete a widget box in the main widget area. Click on the widget box which we want to delete. For example, deleting “custom menu” from the main widget area. Click the custom menu box and select delete option as shown in the image below.
Another way is simply dragging the “custom menu” back to the available widget area as shown in the image below.
Now we can’t able to see the widget box in our website which is shown in the image below.
The Inactive widgets are for removing widgets from the site while keeping the settings. We can see this area at the bottom of the widget page. Here we make “Post Comment” as inactive Widgets. Now we cannot see the “Post Comment widget box” in the website which is shown in the image below.
We can modify the widget settings with the view of our website simultaneously. For this approach Login to Dashboard -> Appearance -> Widgets. We get a widget page where we can see the “Manage in Customer” so as to get a display as shown in the image below.
We can add the widgets in both main or secondary widget area and we can see the changes automatically as shown in the image below.
Thus, the widgets can be managed.