How to Add Widgets to WordPress – Applying All Methods

In this blog post, I am going to show you how to add widgets to WordPress

Widgets are small containers (at least that's how I think about it) where you can add code to display so many things on either the top, left, right, bottom (footer) sides of your WordPress site

There are few affiliate links, if you click a link and make a purchase, I may receive a commission at no extra cost to you

In this post, I am going to discuss what you can do with WordPress widgets, how to use them and how to optimize your widgets for your best benefits on your WordPress site so let us begin

What you can do with widgets

First WordPress widgets are shown on your current theme on side bars and footers based on how your theme defines their locations, some themes can have 1 or more side bars located to the left, right or both sides and so when you go and check your widgets, you will find one or more widgets for each location based on its name like Sidebar – Wide – Top or  Sidebar – Narrow

WordPress add widgets to WordPress

In this WordPress site, I am using Sidebar – Narrow and that's because I decided to select the narrow bar on my theme (I just like it this way)

Anyway with WordPress widgets you can do the following

I will not be able to list everything you can do, this is just few examples)

You can have an autoresponder (newsletter) on the side, add banners, insert Google Adsense

Or any advertising platform, list recent posts/archive/calendar

These are ready made widgets

You don't need to write code inside

You just drag and drop them inside the desired location) as shown below

How to use or add widgets to your WordPress site

WordPress has 2 ways to add widgets and both of them are very easy, I will start with selecting the Widgets screen by going to Appearance menu then Widgets, this will load the Widgets screen

I will start with the drag and drop method

1) Left click on the desired widget and start dragging while you still holding the left mouse button down (clicked)

2) Continue dragging close to the final Sidebars or Footers (final destination)

3) Once you reach your final destination

Make sure all the widget is inside the place where you plan to insert your widget then release the left mouse button

add widgets to WordPress using drag and drop

Other way is by using accessibility mode as shown below

Remember although the drag and drop method with no doubt is easier sometimes when using the touchpad on a laptop

I will go for the accessibility mode as it is more convenient in this case

1) Go to Screen Option and click on the arrow right next to it (the facing down arrow)

2) Screen Option will expand, click on the Enable accessibility mode link

3) Widgets will start to show extra button called Add while the inserted widgets will show button called Edit, click on Add beside the Archive widget as an example

4) Under the list of all the locations (final destinations of sidebars and footers) select anyone by clicking the option beside it, if you have existing widgets like 5 widgets, your position drop down list will shown from 1 to 6 where if you select 6 then your widget will be added to the bottom of the listed widgets while if you select let me say 2 , it will add it on the second position pushing the second one place down, you have to click on Save widget button to save your changes

5) Archives will show on the final destination

another method of adding widgets

How to remove widgets from your WordPress site

Removing is even easier than adding the widgets themselves

Also there are 2 ways, you can go the widget which you want to remove and click on it, then click on the delete button

controlling from side bar

The other way around is to drag and drop it to the left side

But remember if you want to keep it later

I highly recommend to drag and drop it to the inactive widgets

It is similar to deactivating a plugin so you still have it but currently unused

How to optimize your widgets to get best results

First you noticed that widgets once you ad them, they will show up on everywhere on pages, posts, home page and archive page and you can control that by using a plugin called Widget Options it works very well with widgets by adding a tabbed packed with features to manage widgets appearance and visibility and also control the logic of showing/hiding specific widget based on conditional tags

Also I did not notice this until I found it on a WordPress blog site, if you scroll down through any page, widgets will not move with you causing users to miss seeing your widgets, there is a plugin to fix that and it is called Q2W3 Fixed Widget I know it is not a meaningful name but it is worth installing this plugin

Finally if you learned how to add widgets to WordPress

Please share it with your friends using social media