In this article, we also learn about WordPress widgets and functions as well as . Widgets are one of the most powerful and interesting features of WordPress.
Contents
What are Widgets?
In an interface of a wordpress website, there are always pre-set positions so that we can insert content or utilities to serve the operation of the website such as:
- Search box (Search), used to search for content by keyword on the web
- Categories, used to display the categories of the website
- Tag Cloud, used to display website tags
- List of new posts
- New product list
- Filter products
- A piece of text or code
- …
These widgets, can be packaged as widgets and can be called out of the homepage and placed in arbitrary positions based on the layout of the interface. Depending on the theme and plugins installed, there will be widget sets included to support the theme as well as the plugin.
How to add widgets to your website?
Before inserting the WordPress widget, let’s learn about the basic layout of a wordpress theme. The image below, I describe a basic layout of the wordpress interface. This layout will be different depending on the interface model. For example, it will have a side bar on the left or a Top bar above the header for me to insert widgets, etc.
Then according to the layout as shown below, I will have 2 widget places: sidebar widget and footer widget. And respectively in the widget admin section, it will allow you to customize the location to put the widget in. To know more, please keep reading!

How to install WordPress widgets
To use WordPress widgets, go to Appearance > Widgets menu . Here, you will see 2 sections as follows: On the left are all the items on your website including the default widget and other widgets. It is automatically added when you install the theme or plugin. On the right is the position of the widgets in the currently used interface.
There are complex interfaces that will split into many different widget positions. Temporarily with the interface we are using, we will see on the right there are 4 widget positions including 1 right Sidebar position and 3 bottom page positions.
To insert widgets into these positions, simply drag and hold the left widget over one of the right positions. One location can insert many different widgets. I will try to insert 4 widgets in 4 positions as below!
How to install WordPress widgets
Depending on the type of WordPress widget, you have to configure the content for it. You click the arrow to the right of each widget and edit the content for it as follows. After each editing step, remember to press the Save Changes button !

Now you can go outside the homepage to see if the changes are the same as the widget layout.

summary
WordPress widget is a widget that comes with themes and plugins. For decoration purposes as well as add features to wordpress website. Hopefully with this article, you have somewhat understood about widgets and how to use it. Good luck!

