The Search & Replace widget will help you replace all the occurrences of a word or a group of words in a page.
This will be useful if you want to A/B test a wording or a microcopy or just to replace an old product name with a new one or the name of the former CEO with the new one.
Obviously, you can target all your pages or on a specific group of pages, and within the widget, you can scope it to a specific part of the page (a section, a div, a paragraph...).
You will directly see in the editor the impacts of this widget onto your texts.
To configure the widget:
- Type the word(s) you want to replace in the "Search" input.
- Type the word(s) you want them to be replaced with in the "Replace with" input.
- Scope it or leave it. Let body if you want to apply it to the whole page or select an element you want your replacement to be scoped to.
Be careful, this widget respects case so, if your the words you want to replace are "Product X", it will not replace:
- product X
- Product x
- product x
You will have to add 4 widgets to cover all cases.
If you want to: edit, duplicate, rename, delete such a widget, please check the Widget Frequently Asked Questions article.