Back to WordPress Glossary

What is a Sidebar in WordPress?

A WordPress sidebar is a secondary content area, usually a column beside the main content, that holds navigation menus, a search bar, recent posts, ads, or other supporting items. In classic themes, a sidebar technically means any widget area the theme registers, even in a header or footer; block themes build the layout with blocks in the Site Editor.

More about sidebars

A sidebar is commonly a vertical section on the left or right side of the page, holding menus and other handy widgets. Depending on your theme, one can also sit in the header or footer. That's because in classic themes, a sidebar technically means any widget area the theme registers, wherever the theme places it. The name is a holdover from when widget areas normally ran down one side of a blog, and most themes show the same sidebar on every page and post.

Editing a sidebar in classic and block themes

How you edit a sidebar depends on your theme type. On a classic theme, go to Appearance > Widgets in your WordPress dashboard (or Appearance > Customize > Widgets) and add, remove, or rearrange the widgets in each area.

Block themes, part of WordPress since version 5.9 in January 2022, have no Widgets screen at all. Instead of widgets, they rely on blocks. Open the Site Editor under Appearance > Editor and edit the sidebar directly in the relevant template; the official Learn WordPress lesson builds one as a Columns block in the Single Post template. Our Full-Site Editor entry explains how template editing works.

Not sure which type you're running? Open Appearance in your dashboard: a Widgets item means a classic theme, and an Editor item means a block theme.

When to use a sidebar (and when to skip one)

Use a sidebar for secondary content that serves repeat visitors on a content-heavy site, such as:

Two wireframes compare the same page layout on desktop and mobile. On desktop the sidebar sits in a column beside the main content; on mobile it stacks below the full main content, meaning phone visitors only reach sidebar items after scrolling past the entire post.
  • Navigation menus and category links
  • Recent or popular posts
  • A search bar
  • Social media profiles
  • An email signup form
  • Ads

Skip it on landing pages and other conversion-focused pages: a full-width layout keeps attention on a single call to action, and many modern block themes leave the sidebar out by default (Twenty Twenty-Two's post template ships without one). Never make a sidebar the only home of anything critical, either. On phones, most responsive themes stack the sidebar below the main content, so mobile visitors only reach it after scrolling past the entire post.

Frequently Asked Questions

That depends on your theme. On a classic theme, delete the widgets under Appearance > Widgets or in the Customizer (an emptied widget area usually collapses), or pick a full-width template if available. On a block theme, delete the sidebar column from the template in the Site Editor.
On mobile, that's usually intentional: responsive themes stack the sidebar under the main content. On desktop, it typically means broken HTML (often an unclosed div tag) or a CSS width conflict after a theme or plugin change. Our 3-step guide to the sidebar-below-content error walks you through the fix.
Yes, depending on your theme. Some classic themes register multiple sidebars or per-page layout options, and widget-visibility plugins can show or hide individual widgets conditionally. In block themes, each template can carry its own sidebar: add one to the Single Post template and pages stay untouched.
Special Offer

Powerful WordPress Hosting

Reliable, lightning-fast hosting solutions specifically optimized for WordPress. Find the perfect plan for you by clicking below.

WordPress Hosting Plans