Sidebar & Widgets
A sidebar in WordPress is referred to a widget-ready area used by WordPress themes to display information that is not a part of the main content. It is not always a vertical column on the side. It can be a horizontal rectangle below or above the content area, footer, header, or anywhere in the theme.
Sidebars play an important role in designing the layout of a WordPress website to display content other than the main articles of a website. For example, a short list of recent articles, recent comments, a list of pages, or popular articles on a website can easily be displayed across the entire site.
It can also be used to display advertisements from third-party websites. Users can drag and drop items into sidebars from Appearance » Widgets in the admin panel.
To add a sidebar in Webflow you just have to add a simple Div Block or a Rich Text in order to get at least a minimuum styling (almost zero), with the attribute:
The Sidebar Name is up to you, it can be everything you want, the Udesly App will automatically create the Sidebar in WordPress with that Sidebar Name!
A widget adds content and features to a widget area (also called a sidebar). Widget areas provide a way for users to customize their site. Widgets can be really helpful in helping your visitors to navigate your site and encouraging them to take actions like signing up for your newsletter or following you on social media. You can use widgets inside Sidebar (like explained in the previous paragraphs) but you can also use widgets alone without a sidebar. To do that, you should add a Div Block with the attribute
The Widget class name is pretty difficult to find in third party plugins, WordPress defines already some widgets that are documented on the official codex. Usually all widgets will extend the class
WP_Widget, so if you need to know if a plugin has some widget, just Ctrl+f/⌘ + f inside the plugin folder that class! 🕵️
Some valid Class Names for example are:
So for example using the following attribute on a Div Block:
You will show inside it the WordPress widget that shows all Archives of your Blog (Like Posts of December 2022 and so on).
Widgets can also have some settings that you can add with the optional attribute:
The settings string must be an URL Query encoded array! e.g: dropdown=1&title=My Title