Often overlooked by WordPress users and Developers, WordPress Widgets can be very useful sometimes. If you’re still don’t know anything about Widgets or How to Add WordPress Widgets in Pages or headers, this article also shows you how to add and use them. Keep reading as This article will guide you through the basic things related to WordPress Widgets.
Table of Content :
- What is a Widget in WordPress?
- How to Use Widgets in WordPress?
- How to Add WordPress Widgets? – Widget Areas
- How to Add WordPress Widgets in Pages
- How to Add WordPress Widgets In Header
What is a Widget in WordPress?
Widgets in WordPress lets you add content and features to your website’s footer, Sidebars, and other areas. WordPress comes with some default widgets such as Recent Posts, Categories, Tag cloud, Search, etc. Many plugins also add their own widgets.
WordPress Widgets are very similar to WordPress plugins. Just like plugins, Widgets also add features or functions to your site without coding.
Many WordPress themes come with two or three or more widget areas (footer, sidebar), Whereas many themes also allow you to add a widget to the header, homepage, or other areas of your website. It depends on the theme you’re using.
Also Read: How to Disable Comments in WordPress in 2022
How to Use Widgets in WordPress?
WordPress makes the process of adding and using widgets very easy. To add a widget in WordPress, follow the steps given below.
There are multiple ways to add Widgets in WordPress.
Case 1: How to Add WordPress Widgets – Traditional Way
- Appearance » Widgets: Here, you can check the number of widget areas your current theme has. I have two widget areas (footer1, footer2). Yours may vary.
2. Now, you can add any widget to the available widget areas.
3. I will be adding the categories to footer 2.
How to Add WordPress Widgets? – Widget Areas
There are mainly two ways to add a widget to the widget areas.
1 Way: Using the block editor or classic editor
- Follow to steps given in Case 1.
- Select the widget area (footer2) and click on it. Now click on the plus icon.
- After adding the widget, click on the update button. Visit your website to see the changes.
- You have successfully added the widget to the widget area. You can remove any widget from here as well.
Note: The classic editor also follows a similar approach.
2 Way: Using the WordPress theme customizer
- Log in as an Admin to your WordPress website.
- Go to any page and click on Customize.
- Now, You can either click on the widgets under the customizer or click on the blue pencil icon to choose the widget area.
- Now add a widget & you’re done.
Case 2 : How to Add WordPress Widgets in Pages
The most common way to add a WordPress widget to pages is using page builders or the Gutenberg editor.
For Gutenberg: The process will be the same as the customizer.
For Other Builders (e.g Elementor): Here, we are going to use Elementor. Elementor makes it very easy to use widgets as it comes with many widgets, including most default WordPress widgets. One can easily add WordPress Widgets in Pages.
- Install & activate Elementor Page builder and edit a page with Elementor.
- Now navigate or search for the widget.
- Now Drag it to the page to add it. That’s it.
This is How to Add WordPress Widgets in Pages. If you’re using other page builders such as WPBakery Page Builder or Visual Composer, There are many addons available for using default WordPress widgets.
Note: In case you don’t find the Widget you are looking for. Just search “Widget Name for Elementor” and you might find a plugin.
How to Add WordPress Widgets In Header
This is a tricky question to answer, However, the solution is easier than you think. Well, you might not be able to add WordPress widgets In the Header directly, if your current theme doesn’t allow it.
You can use Astra (free version) as it lets Add WordPress Widgets In the Header (As shown).
But if you don’t want to change your current theme, you can create a custom header using Elementor for Free and add the desired widget in the header.
Now You know how to Add WordPress Widgets in Pages & headers. This was a basic guide of WordPress Widgets.