You may already know what are WordPress widgets or may be familiar with the term. It’s also likely that you have discovered it recently and have decided to look for what they are on the internet to satisfy your curiosity. If so then this is the post you have been looking for.
Simply put, WordPress widgets allow you to add features to your Website. Features such as media, gallery, images, text, and so much more. You can add these blocks anywhere on your site. And that also without even touching a single code.
Below, we’ve discussed the WordPress widget in detail. Further, we’ve also mentioned the ways to add and delete WordPress widgets. So, let’s get started.
What are WordPress Widgets?
As mentioned above, WordPress widgets are an element that can be placed within a blog that creates spaces, in order to be able to place elements such as images, social network buttons, a search bar within our blog, galleries, a list with the last published entries, etc.
Note: Widgets and plugins are not the same, although it is possible for a plugin to add widgets, which can make this all a bit confusing.
Where can I add Widgets in WordPress?
Normally, the place where you can add widgets in WordPress depends on the theme you are using. So based on the theme you are using spaces for the widgets can be different. But the most common places where widgets can be placed are:
- Above the content: Certain templates allow you to place widgets just above the content and below the header, a very commonplace for advertising.
- Sidebars: Depending on the template you use, and its design, you will have more or fewer sidebars.
- Footer: Many templates allow you to place widgets at the foot of the page.
What Widgets can I Add in WordPress?
By default, WordPress already brings some widgets, which you can add in any of the available areas of your website. The placement of these widgets depends on the theme that is active because according to its structure, we can add more or fewer widgets, and only in certain spaces.
In case your theme doesn’t provide certain widgets which you might need, there are certain plugins to add those extra widgets for extra functionality. Below are the most common widgets you can find in almost every theme:
- Audio: Displays an audio player.
- Look for: A search form for your site.
- Calendar: A calendar of the entries on your site.
- Categories: Category drop-down or list.
- Recent comments: The most recent comments on your site.
- Gallery: Show a gallery of images.
- Pages: A list of the pages on your site.
- Video: Show a video from your media library or from YouTube, Vimeo, or another provider.
How to Add Widgets in WordPress?
As we mentioned earlier, available widgets can be different depending on the theme you are using. But the process of adding widgets is somehow similar to all of the WordPress themes. For this tutorial, we’ll be using Zakra Theme. The template we are using in this tutorial is Zakra Online Course.
Bonus: Here’s a full guide on how to install Zakra and how to import demos.
There are two ways of configuring the widgets. One is from the WordPress admin panel and another is from the WordPress customizer. Firstly, let’s begin with the Admin panel. To add the widgets we need to go on right ahead to Admin Panel and click on Appearance > Widgets. We can see something similar to this:
In the Available Widgets section, as the name suggests, we can find all the widgets that we’ve available and ready to use. The part on the right, or the widgets area, refers to the different sites where we can put our widgets.
To add WordPress widgets is as simple as dragging it into the section that we want, just like that.
What if we want to delete it? If we want to delete it, it is just as simple as adding it. We simply have to drag it out or we can click on it and press the Delete button and we can see how the widget automatically disappears from the list.
i) How to Control the Visibility of WordPress Widgets?
By default, when we place a widget in WordPress, it can be seen on all pages of our website. To control this behavior, there are different WordPress plugins, which allow us to create conditions or criteria to be displayed or not.
One of the plugins that allow us to perform these actions is the well-known Jetpack Plugin. By clicking on the widget visibility option we can control which widgets to show and where to do it. (As an alternative, we can also use the Widgets Options plugin.)
ii) Recommended WordPress Widgets for your Site
- Categories widget: It is a simple way to organize your content so that people can find what interests them most in a very comfortable or simple way.
- Search widget: Sometimes having a search box on your website can be really useful so that users can easily find the information that interests them.
- Text widget for banners: They allow us to place advertising or show our “major products“.
- Social widgets: They allow us to advertise our social networks.
Remember: If you change the template, you can lose the configuration of all your widgets. To prevent this from happening, enter the widgets panel (Appearance> Widgets) and drag the configured widgets to the inactive widgets area, which is at the bottom. In this way, you can keep all the settings you had.
Wrapping It Up!
WordPress widgets are small pieces of content that we can add to our website, depending on the place in large part on the template that we have active and the plugins that we are using. They are ideal for adding extra content to our site and we should add them as long as they mainly benefit our visitors.
Hopefully, through this article, you are aware of what are WordPress widgets and how it works. If you found this tutorial helpful, please share it on your socials.
Before you go, here’s an interesting article on how to edit Header and Footer on your WordPress website. You can also follow us on Twitter and Facebook to know more about upcoming articles and exciting news.