How to Use Widgets and Sidebars in WordPress
Widgets are the bits of content that sit outside your main page content, usually in a sidebar or footer: a search box, recent posts, a short "about us" blurb, your hours. Where you edit them depends on your theme. These steps are for WordPress 6.x and later.
Which kind of theme do you have?
Go to Appearance.
- If you see Widgets, you have a classic theme (or a theme with widget areas). Follow the classic steps below.
- If you see Editor and no Widgets, you have a block theme. Block themes don't have widget areas. You edit sidebars and footers as template parts in the Site Editor instead.
Classic themes: edit widgets
- Go to Appearance > Widgets.
- You'll see your theme's widget areas, like Sidebar or Footer 1. The names depend on the theme.
- Click an area to open it.
- Click the + button to add a block, like Paragraph, Image, Search, Latest Posts, or Categories.
- Edit, move, or remove blocks the same way you do in the block editor.
- Click Update to save.
You can also edit widgets in Appearance > Customize > Widgets, which shows a live preview.
Widgets screen looks old-fashioned? Some sites use the Classic Widgets plugin, which brings back the older drag-and-drop screen. It works the same idea: drag a widget into an area, fill it in, and save.
Block themes: edit the sidebar or footer
- Go to Appearance > Editor.
- Click Patterns, then look under All template parts for your Footer, Header, or Sidebar (if your theme has one).
- Click the part to open it, then click to edit.
- Add, change, or remove blocks.
- Click Save.
Template parts show on every page that uses them, so a change to the footer changes it site-wide.
Show different sidebars on different pages
WordPress doesn't do this out of the box with classic widgets. With a block theme, you can make a separate template (for example, one for blog posts) that uses a different sidebar. With a classic theme, you'll need a plugin or theme option that controls widget visibility. Ask your web team if you're not sure.
Tips
- Keep sidebars short. People skim them.
- Don't put the same info in the sidebar, header, and footer.
- If you switch themes, check your widgets afterward. Widget areas don't always carry over.
Related
- How to Use the WordPress Block Editor
- How to Change Menus and Navigation in WordPress
- How to Change or Customize Your WordPress Theme (and When to Use a Child Theme)
Prefer we handle it?
If you'd rather spend your time running your business, our boutique hosting, available to our clients, including sites moved over from another host, takes a proactive approach to security and monitoring, with nightly backups, 24/7 outage monitoring, and ongoing core CMS updates.