Plugins Plugin hub Backup SEO Caching Security Forms WooCommerce Images Best backup plugins
Hosting Hosting directory Shared hosting Managed WordPress Cloud hosting VPS hosting By reader location Hosting finder
Themes & builders Compare Rank Math vs Yoast
Tools All tools Hosting finder Plugin stack builder Cost calculator Salt generator Theme detector Who is hosting this? Speed test Headline analyzer robots.txt generator Redirect generator Uptime calculator Blog name generator
Blog Best backup plugins Deals
Guides All guides Speed up WordPress Choose hosting Back up WordPress
How we test

Setup & site building · Guide

How to Edit a Widget in WordPress (Step by Step)

How to Edit a Widget in WordPress (Step by Step)

Short answer

Go to Appearance > Widgets, expand the widget area such as Sidebar or Footer, click the widget block, edit its text or settings, and click Update. For a live preview, use Appearance > Customize > Widgets. Block themes have no widget areas, so you edit template parts in Appearance > Editor instead.

Key takeaways

  • Since WordPress 5.8, the Widgets screen uses blocks.
  • Older plugin widgets appear in a Legacy Widget block with their original form.
  • The Customizer lets you edit widgets with a live preview.
  • The Classic Widgets plugin restores the old drag-and-drop screen.
  • Block themes replace widget areas with template parts in the Site Editor.

How do you edit a widget in WordPress?

In a classic theme, go to Appearance > Widgets, open the widget area, click the widget or block you want to change, edit it, and click Update.

Widgets are the small content pieces that sit in sidebars, footers and other widget areas defined by your theme. Since WordPress 5.8, the Widgets screen uses blocks, so editing a widget feels much like editing a post. If you need a refresher on what counts as a widget, see our explainer on what a widget is.

Where you edit depends on your theme:

Your setupWhere to edit widgetsNotes
Classic themeAppearance > WidgetsBlock-based widget editor
Classic theme, live previewAppearance > Customize > WidgetsShows changes as you edit
Classic Widgets plugin activeAppearance > WidgetsOld drag-and-drop screen
Block themeAppearance > EditorNo widget areas; edit template parts instead
Page builder like ElementorThe builder's editorBuilder widgets are not WordPress widgets

How do you open the Widgets screen?

Log in to your dashboard and go to Appearance > Widgets, where each widget area your theme supports appears as a separate panel.

Typical widget areas include a main sidebar, footer columns and sometimes a header bar. Click an area's name to expand it and see the blocks or widgets inside.

If you do not see Widgets under Appearance, your theme is probably a block theme. Block themes do not use widget areas. Skip to the section on block themes below.

How do you edit a widget in the block-based widget editor?

Click the block inside the widget area, change its text or settings in place or in the right sidebar, and press Update at the top of the screen.

Step by step:

  1. Go to Appearance > Widgets
  2. Expand the widget area, such as Sidebar or Footer
  3. Click the widget block you want to edit
  4. Type directly into it to change text or headings
  5. Use the block toolbar for formatting, links and alignment
  6. Open the settings sidebar with the gear icon for extra options
  7. Click Update to save

The WordPress.org guide to managing widgets shows the screen and its controls.

Changes are not live until you click Update. If you leave the page without saving, WordPress usually warns you.

A few common edits and where to make them:

  • Search widget: click the Search block and change the label or button text in the sidebar
  • Recent posts: select the Latest Posts block and set how many posts to show and whether to display dates
  • Text or about box: click the Paragraph block and type, or replace it with a Group block for more layout control
  • Image: select the Image block and use Replace in the toolbar to pick a new file

How do you edit a legacy widget?

Older widgets from plugins appear inside a Legacy Widget block, so click the block to show the widget's own form, change the fields, and click Update.

Not every plugin has converted its widgets into blocks. WordPress wraps those older widgets in a Legacy Widget block so they still work. The block-based widgets editor developer note explains how this compatibility layer works.

When you click a legacy widget, it switches from a preview to an editable form. You will see the same fields the widget had in the old screen, such as a title, a number of items or a category choice.

How do you edit widgets with a live preview?

Go to Appearance > Customize > Widgets, choose a widget area, and edit the blocks while the preview on the right shows your changes before you publish.

The Customizer is useful when you want to see exactly how a sidebar or footer will look. Click the widget area name, edit the blocks, and watch the preview update.

When you are happy, click Publish. You can also save a draft or schedule changes in recent versions of the Customizer, which helps if you want to prepare a change ahead of time.

How do you change a widget's title?

Most block widgets do not have a separate title field, so add or edit a Heading block above the content inside the same widget area.

In the old widget screen, each widget had a Title field. In the block editor, you usually build the title yourself with a Heading block. Some themes style these headings automatically.

To keep the title and content together, select both blocks and group them. That way they move as one unit if you rearrange the sidebar. Legacy widgets still show their own title field inside the form.

How do you move a widget to another area?

Select the block, open its options menu with the three dots, and choose Move to widget area, or drag it in list view to a new area.

You can also change the order inside one area with the up and down arrows on the block toolbar. Click Update when you are done.

If you want a brand new area that your theme does not include, our guide on how to add a custom widget area in WordPress shows how to register one.

How do you remove or temporarily hide a widget?

Select the block, open the three-dot menu and choose to remove it, or move it to the Inactive widgets area so its settings are kept for later.

Removing a block deletes it from that area. If you think you might want it back, the inactive area is safer. Older legacy widgets keep all their settings there.

If you remove something by mistake, press Ctrl+Z, or Cmd+Z on a Mac, before you click Update. Once saved, you will need to rebuild the widget or restore a backup.

To hide a widget only on some pages, you need either theme support or a visibility plugin. Several plugins on WordPress.org add page, post type or device rules to blocks and widgets. Check reviews and update dates before choosing one.

How do you get the old widget screen back?

Install and activate the official Classic Widgets plugin, and Appearance > Widgets returns to the older drag-and-drop interface.

The Classic Widgets plugin is maintained by WordPress contributors. It is handy if a theme or plugin does not work well with the block editor, or if you simply prefer the old layout.

In the classic screen, click a widget's title bar to open it, change the fields and click Save. Drag widgets from the left list into an area to add them.

How do you edit widget-like content in a block theme?

Block themes have no widget areas, so go to Appearance > Editor, open the template or template part such as the footer, and edit its blocks directly.

In themes like Twenty Twenty-Five, sidebars and footers are template parts made of blocks. To change footer links, for example:

  1. Go to Appearance > Editor
  2. Open Patterns or Template Parts and choose the footer
  3. Click the block you want to change and edit it
  4. Click Save

Remember that template parts appear across the site, so changes affect every page using them. Our guide on how to edit the header in a block theme uses the same process for headers.

If you want a footer that looks different on one page, create a new template part or a custom template for that page instead of editing the shared part. That keeps the rest of the site unchanged.

How do you style a widget?

Use the block's style settings for colors, typography and spacing, or add a CSS class in the Advanced panel and target it with custom CSS.

Many blocks offer color and typography controls in the settings sidebar. For finer control, add a class such as promo-box under Advanced, then style it in Appearance > Customize > Additional CSS.

If you are new to CSS, MDN's CSS styling basics is a clear starting point. If your styles do not appear, our guide to CSS changes not showing explains caching and specificity issues.

Why are your widget changes not showing?

Widget edits usually fail to appear because of caching, a theme that does not display that widget area, or a page template without a sidebar.

Check these points:

  • Clear your cache plugin, server cache and CDN
  • Confirm the page template you are viewing actually shows a sidebar
  • Make sure you edited the right widget area for that location
  • Look for a page builder template that replaces the theme's sidebar or footer

For deeper troubleshooting, see our guide on fixing widgets not showing. Developers who want to understand how themes register widget areas can read the widgets section of the Theme Handbook.

Frequently asked questions

Why can't I find Widgets under Appearance?

Your theme is most likely a block theme, which does not use widget areas. Edit sidebars and footers as template parts in Appearance > Editor instead, or switch to a classic theme if you need widget areas.

How do I edit a widget without the block editor?

Install and activate the Classic Widgets plugin. It restores the older Widgets screen where you click a widget to open its form, change the fields and click Save.

Can I edit widgets on mobile?

Yes, the Widgets screen and the Customizer work in mobile browsers, but the interface is cramped. For bigger changes, a laptop or desktop is easier and reduces mistakes when moving blocks.

How do I show a widget on only one page?

WordPress does not include page-level widget rules by default. Use a visibility plugin that adds display conditions to blocks or widgets, or check whether your theme offers per-page sidebar options.

Will editing a widget change it on every page?

Yes, in most cases. A widget area such as the sidebar or footer is shared by every page that shows it, so an edit there appears site-wide wherever that area is displayed.

Sources

  1. Manage WordPress Widgets WordPress.org Documentation
  2. Block-based Widgets Editor in WordPress 5.8 Make WordPress Core
  3. Classic Widgets WordPress.org Plugins
  4. Widgets WordPress Theme Handbook
  5. CSS styling basics MDN Web Docs

Is your product missing, or something out of date?

Tell us what to add or correct. We read every note and reply when we need a source. A message does not buy a ranking.

About the editors

Written and checked byWPLegible Editorial Team Independent WordPress reviews and guides

Researched from the primary sources listed above and checked against our editorial rules before publishing.