Find and replace text across WP pages
CMSHands, a free WordPress plugin, adds a chat to your dashboard. Type “Change Mon–Fri to Tue–Sat everywhere.” See each page's change first, press its button, undo in one click.
Pages, posts, and block-theme header and footer. Not menus or widgets. Block theme or not?
Pages, posts, and block-theme header and footer. Not menus or widgets. Block theme or not?
Works on sites hosted at
Watch it do this on a real site
You ask once
We moved to Tue–Sat. Change “Mon–Fri” everywhere it appears.
We moved to Tue–Sat. Change “Mon–Fri” everywhere it appears.
- Reading one of your pages
- Reading one of your posts
- Looking something up in the database
- Preparing the change for your OK
- Previewing your page
- Previewing your post


- <!-- /wp:heading -->
- <!-- wp:paragraph -->
- <p>The studio shop is open Mon–Fri, 10am to 5pm. Come and see the kiln.</p>
- <p>The studio shop is open Tue–Sat, 10am to 5pm. Come and see the kiln.</p>
- <!-- /wp:paragraph --></div>
- <!-- /wp:column --></div>
- <!-- /wp:columns --></div>
Three cards are ready for you to review — Home, Contact, and the post "Studio open day this Saturday". Those are the only places on the site where "Mon–Fri" appears.

- Updating one of your pages
- Checking the change
- Updating one of your pages
- Checking the change
- Updating one of your posts
- Checking the change
Done. I checked afterwards, and it now says "The studio shop is open Tue–Sat, 10am to 5pm. Come and see the kiln.".

- Reverting the change
- Checking the change
Undone. I checked afterwards, and it's back the way it was.
A real run on our test site, Quillmoor Pottery (WP 7.1.3, Twenty Twenty-Four), . From asking to done, it took 1 minute 9 seconds.
- It finds the words in your pages and posts and shows one card for each place it would change.
- Each card shows the page after the change. Press Code to see the old words in red and the new ones in green. Undo puts them back.
- On a block theme it can change the words in your header and footer too. Say so when you ask, like “and the footer”.
Do this on your own site
That's the whole job. The plugin is free: 3 changes to try it, no account. Nothing changes until you press the button, and an undo within 24 hours gives the change back.
How to find and replace text in WordPress yourself
In WordPress, search Pages and Posts for the words, open each result, type the new words and save, then check the header and footer too.
Checked on WP 7.1,
1. Go to Pages › All Pages. Type the words you want to change in the search box and press Search Pages.

2. The list now shows only the pages with those words. On our test site, that's Home and Contact. Hover over one and click Edit.

3. In the editor, find the words and select them. On a long page, your browser's find helps: Ctrl+F, or Cmd+F on a Mac.
Show the picture

4. Type the new words over them. Everything else in the paragraph stays as it was.
Show the picture

5. Press Save at the top right. Then go back to the search results and do the same on the next page.
Show the picture

6. Search Posts › All Posts the same way, with Search Posts. On our test site, one blog post had the words.
Show the picture

7. On a block theme, check your header and footer in Appearance › Editor › Patterns. The search boxes in Pages and Posts don't look there.
Show the picture

On an older (classic) theme there's no Appearance › Editor. The header and footer usually live in Appearance › Customize or the theme's own settings, so check those by hand. With the Classic Editor plugin, a page opens as one text box: change the words there and press Update.
WP's search matches the exact characters you type. Our test site writes Mon–Fri with a long dash. Typed with the short dash on a keyboard, Mon-Fri found no pages at all. Copy the words from the page in the editor and paste them into the search box. To change the footer by hand, see how to edit your footer.
Or ask for it in the chat
“We moved to Tue–Sat. Change “Mon–Fri” everywhere it appears.”
Why it won't wreck your site
- Nothing changes until you press the button. Every change comes as a card that names it. Nothing happens until you press the button or Not now.
- You see it first. Old words in red, new words in green. For layout, before-and-after pictures on a computer and a phone.
- One click undoes it. When something can't be undone, like deleting a page or a plugin, the card says so before you press.
Where CMSHands stops
- One card for each page or postEach page or post is its own card and counts as one of your free changes. Our test run found 3 places, so it made 3 cards.
- The whole database, or your site's address after a moveIt changes words on pages and posts. It doesn't replace text across the whole database, or your site's URLs after you move it.
- Menus, widgets and theme settingsIt searches pages and posts. On a block theme, name the header or footer and it changes those too. Not menus, widgets, theme or plugin settings.
- Header and footer on older themesHeader and footer changes need a block theme: your dashboard has Appearance › Editor. On an older theme it changes pages and posts only.
- Page-builder pagesIt changes words, links and pictures on Elementor pages, not their layout. Divi and Beaver Builder pages stay as they are.
More it can do
- Words and pages:
Copy a page
“Make a copy of the About page as a draft called "About (new)".”
It took 16 seconds on our test site. - Header and footer:
Change your footer
“Add our opening hours to the footer: Tue–Sat, 10am to 5pm.”
It took 39 seconds on our test site. - Updates and going back:
Update plugins safely
“Update Contact Form 7 and check my site after.”
It took 17 seconds on our test site.
Questions about find and replace
Does WordPress have a search and replace tool?
Not one that changes your whole site at once. The search boxes in Pages › All Pages and Posts › All Posts show which ones contain the words. Then you change each one in the editor, as in the steps above. CMSHands does the finding for you: one card per page or post, each with its own button and Undo.
Why does the search find nothing when the words are on my page?
Often it's the dash. On our test site, the pages say Mon–Fri with a long dash, and searching Mon-Fri with the short dash on a keyboard found nothing. Copy the words from the page in the editor and paste them into the search box. The search also skips your header, footer, menus and widgets.
Is there a plugin to search and replace in the database?
Yes, several. Search for one in Plugins › Add Plugin (Add New Plugin on older WP); they're free, from wordpress.org. They're the right tool for your site's address after a move. They change the text straight in your database, so back it up first. CMSHands doesn't replace across the database. It changes pages, posts and a block theme's header and footer, one card per place.
Can I undo a find and replace?
Yes, one place at a time. Each card has its own Undo. In our test run we pressed it on all 3 cards, and each page went back the way it was. Without CMSHands, WP keeps a revision each time you save: open the page, then Revisions in the Page panel, and bring back the older one.
Is it free to change a phrase everywhere?
To start, yes: 3 changes with no account, then 10 a month once you add your email. Each page or post it changes is one change, so words on 3 pages use 3. Undo one within 24 hours and it doesn't count. Questions are free, up to 30 a day.
Written by the CMSHands team. First published .
Try it on your own pages and posts
- 1. Download the plugin.A free zip file
- 2. Upload and activate it.Plugins › Add Plugin › Upload Plugin
- 3. Give CMSHands a task.Press Start working, then ask in your words
Works best on WP 6.3 or newer with PHP 8.0 or newer. What works on older sites
