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 Change Text in WordPress (Pages, Header, Footer, Theme)

How to Change Text in WordPress (Pages, Header, Footer, Theme)

Short answer

To change text in WordPress, find where that text lives: edit page and post text in the block editor, header and footer text in Appearance > Editor (or Customize in classic themes), widget text under Widgets, and built-in theme or plugin labels with a translation plugin or a gettext filter. For text repeated across many pages, use a search and replace tool.

Key takeaways

  • Most text lives in one of four places: content, templates, widgets, or theme and plugin code.
  • Page and post text is edited directly in the block editor.
  • Header and footer text in block themes is edited in template parts in the Site Editor.
  • Labels like “Read more” or “Add to cart” come from themes and plugins and are changed with a translation tool or filter, not by editing their files.
  • Clear your cache after editing, or you may keep seeing the old text.

Where does the text on your WordPress site come from?

Text on a WordPress site comes from your content, your theme's templates and widget areas, or from the code of your theme and plugins, and each source is changed in a different place.

Use this table to find the right place for the text you want to change:

Text you want to changeWhere to edit it
Words inside a page or postThe block editor for that page
Site title and taglineSettings > General, or the Site Title block
Header, footer or menu textSite Editor template parts or Customizer
Sidebar or footer widget textAppearance > Widgets or template parts
Theme labels such as “Read more”Theme settings, block settings, or a translation tool
Plugin buttons such as “Add to cart”Plugin settings or a translation tool
The same phrase on many pagesSearch and replace tool
Text inside a page builder layoutThe page builder's own editor

If you are not sure, right-click the text on the live site and choose Inspect, as described in Chrome's guide to opening DevTools. The surrounding code often hints at whether it is content, a widget or a theme template.

How do you change text on a page or post?

Open the page or post in the editor, click the text, type your changes, then click Update to publish them.

Go to Pages > All Pages or Posts > All Posts, hover over the title and click Edit. Click into any paragraph, heading or button block and edit it like a document.

The block editor documentation explains how blocks, the toolbar and the settings panel work.

If you want to change text in many places at once inside one long post, switch to the Code editor from the Options menu and use your browser's find feature to locate it.

How do you change the site title and tagline?

Go to Settings > General and edit the Site Title and Tagline fields, then save, or change them directly in the Site Title and Site Tagline blocks in a block theme.

The site title appears in the browser tab, search results and often the header. The tagline is a short description some themes show under the title.

Your SEO plugin may also set titles for search results separately. Check its settings if search engines show a different title from the one on your site.

In a block theme, edit the header or footer template part in Appearance > Editor; in a classic theme, use Appearance > Customize, Widgets or the theme's options.

For block themes:

  1. Go to Appearance > Editor
  2. Open Patterns and find the Header or Footer template part, or open any template
  3. Click the text you want to change and edit it
  4. Save, and confirm the template part change when asked

Our guide on editing the header in a block theme covers logos, menus and layout too.

Footer credit text such as “Proudly powered by WordPress” is often a block or setting you can edit or remove the same way. Some premium themes put it in their own options panel instead.

How do you change text in widgets and menus?

Edit widget text under Appearance > Widgets in classic themes, or in the relevant template part in block themes, and change menu labels in the Navigation block or Appearance > Menus.

For menu items, the label shown on the site does not have to match the page title. In a classic menu, expand the item and edit the Navigation Label. In the Navigation block, click the link and type a new label.

Short labels work best in menus. Long ones wrap on smaller screens and make the menu harder to scan.

How do you change theme labels like “Read more” or “Posted on”?

Check the block or theme settings first; if the label is fixed in code, change it with a translation plugin or a small gettext filter instead of editing theme files.

In block themes, many labels are part of blocks and can be edited in the Site Editor. The Read More block and the Post Date block, for example, have editable text.

If the text is hard-coded, a translation plugin such as Loco Translate lets you create a custom “translation” for your own language that replaces the original wording.

Developers can do the same with the gettext filter, placed in a small plugin or snippets plugin:

add_filter( 'gettext', function ( $text, $original, $domain ) {
    if ( 'Read more' === $original ) {
        return 'Continue reading';
    }
    return $text;
}, 10, 3 );

Never edit the theme's files directly. The next theme update will undo your change.

If the wording is a translation problem rather than a style choice, such as an awkward phrase in your language, consider suggesting a better translation on translate.wordpress.org. Improvements there reach every site using that theme or plugin in your language.

How do you change plugin text such as button labels?

Look in the plugin's settings first, since many plugins let you change labels and messages; otherwise use the same translation or gettext method as for themes.

Form plugins usually let you edit field labels, button text and confirmation messages in the form builder. Store plugins often have settings for button text and email wording.

For WooCommerce buttons like “Add to cart”, the block-based product templates in the Site Editor let you change some text directly. Remaining labels can be changed with a translation plugin.

How do you change the same text across the whole site?

Use a search and replace plugin or WP-CLI to find and change a phrase everywhere in the database, after taking a full backup.

This is useful when a business name, phone number or old link appears in dozens of posts. The Better Search Replace plugin offers a dry run that shows how many changes it would make before you commit.

Be careful with short or common words. Replacing “we” or “the” would break far more than you intend. Use full phrases and run a dry run first.

For contact details that change often, a better long-term fix is a synced pattern. Edit it once and every page that uses it updates.

How do you change text built with a page builder?

Open the page with the page builder's own editor, such as Elementor or Divi, and edit the text widget there, because the block editor cannot change builder layouts.

Pages built with a builder usually show an “Edit with” button at the top of the editor or in the admin bar. Use it to open the builder, click the text element and type your change.

Some builders also have global widgets or templates for headers, footers and repeated sections. Changing text in a global element updates every page that uses it, which is handy but easy to do by accident.

If the builder plugin is deactivated, its pages often show raw shortcodes or lose their layout. Turn the builder back on before editing, or rebuild the page with blocks if you are moving away from it.

How do you undo a text change?

Use the post's Revisions panel to restore an earlier version of a page or post, or the template's revision history in the Site Editor for header and footer text.

WordPress saves a revision each time you update a post or page. Open the page, find Revisions in the settings panel and use the slider to compare and restore an older version.

Templates and template parts keep revisions too. For theme labels changed with a translation plugin or filter, simply remove or edit your custom string to go back to the original.

Why is your text change not showing?

If you saved a change but still see the old text, a cache is usually serving an old copy, or you edited a different page, template or translation than the one shown.

Purge your caching plugin, host cache and CDN, then reload in a private window. Our guide on why a WordPress site is not updating explains each cache layer.

If you use a multilingual plugin, check that you edited the right language version. If the whole dashboard or theme is in the wrong language, see our guide on changing the WordPress language.

Frequently asked questions

How do I edit text on my WordPress homepage?

Check Settings > Reading to see which page is your homepage, then edit that page in the block editor. If the text is in the header or a template, edit it in Appearance > Editor instead.

How do I change the Powered by WordPress text?

In block themes, open the footer template part in the Site Editor and edit or remove the text. In classic themes, look in Customize, the footer widget area or the theme's options panel.

Can I change text in WordPress without coding?

Yes. Page, post, header, footer, widget and menu text can all be changed in the dashboard. Hard-coded theme or plugin labels can be changed with a translation plugin, which also needs no code.

Why can't I find the text I want to change?

It may come from a widget, a template part, a page builder layout, or theme and plugin code. Search your pages first, then check the Site Editor and widget areas, and finally use a translation plugin.

Will changing theme text be lost after an update?

Changes made in the dashboard, the Site Editor, a translation plugin or your own plugin stay after updates. Changes made by editing the theme's files directly are overwritten when the theme updates.

Sources

  1. WordPress Block Editor WordPress.org Documentation
  2. gettext hook WordPress Code Reference
  3. Loco Translate WordPress.org Plugins
  4. Better Search Replace WordPress.org Plugins
  5. Chrome DevTools: inspect elements Chrome for Developers
  6. Translate WordPress WordPress.org

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.