Skip to content
pinegrow.com
Docs menuWordPress

Sidebar

Sidebar action displays a sidebar. Optionally, it also registers one.

Traditionally, sidebars were used in WordPress to display information on the side of the blog article - hence the name “sidebar”.

But they are much more than that.

Sidebars are dynamic areas of the theme whose content is customizable in WordPress admin panel and can include static information as well as various widgets, both built-in and those implemented by plugins.

For example, let’s add Sidebar action on a <div> in the footer:

Empty div.right element selected in Pinegrow with the Sidebar Smart panel set to sidebar id footer_info and Register sidebar checked.

After we display - and register if needed - a sidebar, we can use WordPress admin to select widgets that will be displayed there.

WordPress Widgets screen with the Footer Information sidebar open and a Text widget titled Come for a visit with the address.

The dynamic sidebar content is now displayed in the footer and can be controlled from WordPress admin panel:

Get in touch and Come for a visit footer columns, with the Come for a visit column showing the Pine Adventures address.

That’s the best way to add extended functionality to the page.