The Hello theme has no sidebar by default. If you want to build a personal blog, you should have a sidebar.So Weieis notes teach you how to use Hello theme+Elementor to add sidebar gadgets.
If usingAstra theme, orKadence ThemeWait, the theme has its own sidebar, so it doesn't have to be as troublesome as this article.Add content directly with the default sidebar of the theme.This article is only suitable for the toss party operation, because after using the hello theme, all text layout, background, title, spacing, etc. need to spend a lot of energy to set one by one, and novices are easy to get hoodwinked.
Add sidebar code at the end of the topic function.php file, and add several paragraphs as needed.
Add the following code to the end of the file in the current theme, and add it several times only if you need a few sidebars.
In WordPress background>Appearance>Theme editor>functions.php, we start to add the following code:
if (function_exists("register_sidebar")) {register_sidebar();}
As shown in the figure below:
2、 Elementor Add Sidebar
For example, we need to use Hello theme+Elementor to build a personal blog, create a new page, and name it home.
Add blocks with left and right structure. The optional sidebar is on the left, and Lao Wei chooses the sidebar on the right according to most habits.
Search "Sidebar" on the left and drag it to the sidebar area on the right.
You can also place the widget block anywhere on the website, such as the footer area at the bottom and the header area at the top.
Click the sidebar block just added, and select sidebar 1 on the left.
3、 Add content to gadget
In WordPress background>Appearance>Widgets, you can see the 2 gadgets we have added.
Lao Wei added html blocks to the gadget and input text content with hyperlinks.
The effect of the sidebar gadget is shown in the following figure:
4、 Summary
In general, building a personal blog with hello theme+elementor, adding sidebar gadgets, requires multiple steps. You need to add code, add gadget content, and add all styles yourself.
If you use a non hello theme, Lao Wei suggests choosing a theme with its own sidebar. You can directly use the sidebar and gadgets that come with the theme to save many operations.
Article name: How to Add Sidebar Gadgets with Hello Theme+Elementor Article link:https://www.vpsss.net/28306.html Copyright notice: The resources of this website are only for personal learning and exchange, and are not allowed to be reproduced and used for commercial purposes, otherwise, legal issues will be borne by yourself. The copyright of the pictures belongs to their respective creators, and the picture watermark is for the purpose of preventing unscrupulous people from stealing the fruits of labor.