Text Replace – Find and Replace WordPress Strings
Find and replace any WordPress text without coding. Change WooCommerce buttons, form labels, and theme text. Update-safe and cached.
Choix solide
Text Replace is a solid plugin choice in 2026, with a few things worth checking first. It runs on 400+ sites, is rated 5/5 and was last updated 2 months ago, and scores 77/100 on our health check.
- Testé avec le dernier WordPress (7.1)
- Petite base d'utilisateurs (400+ installations actives)
- Très peu de critiques jusqu'à présent
Comment s'accumule-t-il ?
Côte à côte sur les installations, les mises à jour, les évaluations et le supportTéléchargements quotidiens
Les pics de téléchargement suivent généralement une nouvelle version - chaque site qui met à jour automatiquement compte comme un téléchargement.
Classements
Where Text Replace stands todayWordPress.org Classements de recherche
Position en direct dans la recherche de plugins, Top 100| Mot-clé | Position |
|---|---|
| find and replace | #6 |
| gettext | #11 |
| string-replacement | #1 |
| text replace | #3 |
| WooCommerce | >100 |
Adoption de version
Part de sites actifs par version.
Répartition des notes
★★★★★ ★★★★★ 5 sur 3 avis
About Text Replace
À partir du Lisez-moi officiel · v2.0.1Description
Text Replace is a lightweight, performance-optimized WordPress plugin that lets you find and replace any text string on your website without modifying theme or plugin files. Perfect for customizing WooCommerce buttons, changing form labels, or personalizing any text across your site.
Why Choose Text Replace?
- No Code Editing Required – Find and replace text without touching theme or plugin files
- Update-Safe – Your string replacements survive theme and plugin updates
- Performance Optimized – Single database query per page load with intelligent caching
- Text Domain Filtering – Target specific plugins, themes, or apply changes globally
- Priority Control – Manage the order of multiple text replacements
- Bulk Operations – Enable, disable, or delete multiple replacements at once
- Import/Export – Transfer configurations between sites easily
- Cache Compatible – Works with WP Rocket, W3 Total Cache, WP Super Cache, and more
Parfait pour
- Changing WooCommerce “Add to Cart” to “Buy Now”
- Customizing Contact Form 7 button labels
- Replacing WordPress admin bar text
- Modifying theme-specific strings
- Personalizing plugin messages
- Translating or localizing specific phrases
- A/B testing different button labels
Principales caractéristiques
Simple String Replacement
Find and replace any text from themes, plugins, or WordPress core with just a few clicks. No coding knowledge required.
Text Domain Filtering
Target specific plugins or themes by their text domain, or apply replacements globally across your entire site. This prevents unintended replacements in other plugins.
Case Sensitivity Control
Choose whether replacements should match exact case or be case-insensitive for maximum flexibility.
Priority Ordering
Control the order in which replacements are applied using priority numbers (1-999). Lower numbers apply first.
Enable/Disable Toggle
Quickly activate or deactivate replacements without deleting them. Perfect for testing and seasonal changes.
Bulk Operations
Select multiple replacements and enable, disable, or delete them all at once to save time.
Import/Export
Export your replacement configurations to JSON files for backup or transfer to other sites. Import with automatic duplicate detection.
Performance Optimized
- Single database query per page load
- Intelligent 24-hour caching system
- Lazy loading of admin assets
- No frontend JavaScript overhead
- Indexed database for fast queries
- Unlimited replacements with optimized performance
WordPress Native UI
Clean, intuitive interface using WordPress design patterns. Feels like a natural part of WordPress.
Search & Sort
Easily find and organize your text replacements with built-in search and sorting capabilities.
Cas d'utilisation
WooCommerce Text Customization
- Change “Add to Cart” to “Add to Bag” or “Buy Now”
- Modify “Proceed to Checkout” to “Complete Purchase”
- Customize product page labels
- Personalize shipping and payment text
- Replace price labels and currency text
- Modify sale badge text
Contact Form 7 Customization
- Change submit button text
- Modify form field labels
- Customize validation messages
- Personalize success messages
- Replace error message text
WordPress Core Text Replacement
- Replace “Howdy” in admin bar
- Change “Dashboard” to “Control Panel”
- Modify menu labels
- Customize admin notices
- Replace login page text
Theme Text Customization
- Change “Read More” links
- Modify navigation labels
- Customize footer text
- Personalize call-to-action buttons
- Replace copyright text
Comment cela fonctionne
Text Replace hooks into WordPress’s translation system (gettext) to intercept and replace text strings before they’re displayed. This means:
- No file modifications – Your theme and plugin files remain untouched
- Update-safe – String replacements persist through updates
- Reversible – Simply disable or delete replacements to restore original text
- Efficient – Replacements are cached for optimal performance
How to Change WooCommerce “Add to Cart” Text
One of the most common uses for Text Replace is customizing WooCommerce button text. Here’s how:
- Navigate to Text Replace > Add New in your WordPress admin
- In the Source String field, enter:
Add to cart - In the Replacement String field, enter your desired text (e.g.,
Buy Now) - In the Text Domain field, enter:
woocommerce - Leave Case Sensitive unchecked (default)
- Set Priority to 10 (default)
- Make sure status is set to Active
- Click Save Replacement
- Clear your site cache if using a caching plugin
- Visit a WooCommerce product page to see the change
Pro Tip: To change “Add to cart” on single products but keep it on shop/archive pages, you’ll need to target the specific string used in that context. Check WooCommerce source code or use browser inspect to find the exact string.
How to Replace Contact Form 7 Button Labels
Customize Contact Form 7 submit buttons without editing form code:
- Go to Text Replace > Add New
- Source String:
Send(or your current button text) - Replacement String: Your desired button text (e.g.,
Submit Message) - Text Domain:
contact-form-7 - Status: Active
- Click Save Replacement
- Clear cache and test your contact form
Note: If you have multiple forms with different button text, create separate replacements for each or leave Text Domain empty to replace globally.
How to Customize Theme Text Without Editing Files
Replace any theme text without touching template files:
- First, identify the exact text you want to replace (copy it exactly as it appears)
- Navigate to Text Replace > Add New
- Source String: The exact theme text (e.g.,
Read More) - Replacement String: Your new text (e.g.,
Continue Reading) - Text Domain: Leave empty for global replacement, or enter your theme’s text domain
- Enable Case Sensitive if exact capitalization matters
- Status: Active
- Save and clear cache
Finding Your Theme’s Text Domain: Check your theme’s style.css file header for the “Text Domain” field.
How to Find Text Domain for Any Plugin
To target a specific plugin with text replacement, you need its text domain:
Method 1: Check Plugin Main File
1. Go to Plugins > Plugin File Editor
2. Select the plugin from dropdown
3. Look for Text Domain: in the file header at the top
4. Copy the text domain value
Method 2: Check Translation Files
1. Navigate to /wp-content/plugins/[plugin-name]/languages/
2. Look for .po or .pot files
3. The filename usually contains the text domain (e.g., woocommerce-en_US.po = text domain is woocommerce)
Method 3: Common Plugin Text Domains
* WooCommerce: woocommerce
* Contact Form 7: contact-form-7
* Yoast SEO: wordpress-seo
* Elementor: elementor
* Advanced Custom Fields: acf
* Gravity Forms: gravityforms
Pro Tip: If you can’t find the text domain, leave it blank to replace the text globally across your entire site.
How to Set Up Multiple Text Replacements
When you need to replace several strings, use priority to control the order:
- Plan your replacements – List all the text you want to change
- Create each replacement – Go to Text Replace > Add New for each one
- Set priorities:
- Use priority 10 for most replacements (default)
- Use lower numbers (1-9) for replacements that should happen first
- Use higher numbers (11-99) for replacements that depend on others
- Use Text Domain filtering – Specify text domain to avoid conflicts
- Test in stages – Enable a few at a time to verify they work correctly
Example Priority Setup:
* Priority 5: Replace “product” with “item” (happens first)
* Priority 10: Replace “Add to cart” with “Buy Now” (normal priority)
* Priority 15: Replace “item price” with “cost” (happens after priority 5 and 10)
How to Replace Text Site-Wide vs Plugin-Specific
Control where your text replacements apply:
Site-Wide Replacement (Global):
1. Create your replacement as normal
2. Leave Text Domain field EMPTY
3. This will replace the text everywhere it appears on your site
Plugin-Specific Replacement:
1. Create your replacement
2. Enter the plugin’s text domain (e.g., woocommerce)
3. Text will ONLY be replaced when generated by that specific plugin
Theme-Specific Replacement:
1. Find your theme’s text domain (check style.css)
2. Enter the theme text domain in the Text Domain field
3. Text will ONLY be replaced in theme-generated content
When to Use Each:
* Global (empty text domain): When you want to replace text regardless of source
* Plugin-specific: When text appears in multiple places but you only want to change it in one plugin
* Theme-specific: When replacing navigation, headers, footers, or theme-specific UI text
How to Test Text Replacements Without Affecting Live Site
Test your replacements safely before going live:
Method 1: Use Enable/Disable Toggle
1. Create your replacement with status Inactive
2. Save the replacement
3. Log out and view your site in an incognito window
4. Log back in and toggle to Active when ready
Method 2: Test on Staging Site
1. Create replacements on your staging site
2. Test thoroughly
3. Export via Text Replace > Import/Export
4. Import the JSON file on your live site
Method 3: Use Priority to Test Incrementally
1. Set test replacements to high priority (90-99)
2. This makes them easy to identify and remove
3. Once tested, adjust priority to normal (10)
Pro Tip: Always clear your cache after making changes, then test in an incognito/private browser window to see changes immediately.
How to Export and Import Text Replacements
Transfer your text replacements between sites easily:
To Export:
1. Go to Text Replace > Import/Export
2. Click Export All Replacements
3. A JSON file will download to your computer
4. This file contains all your active and inactive replacements
To Import:
1. Go to Text Replace > Import/Export on the destination site
2. Click Choose File and select your exported JSON file
3. Click Import
4. The plugin will automatically detect and skip duplicates
5. New replacements will be imported with all settings intact
Use Cases for Import/Export:
* Transfer replacements from staging to production
* Backup your replacements before major updates
* Share replacement configurations between multiple sites
* Migrate from one server to another
Pro Tip: Export your replacements monthly as a backup. Store the JSON file in your site backups.
How to Find and Replace Text in WooCommerce Emails
Customize WooCommerce email text without editing templates:
- Identify the exact text in the email you want to change
- Go to Text Replace > Add New
- Source String: The email text (e.g.,
Thank you for your order) - Replacement String: Your custom text (e.g.,
Thanks for shopping with us!) - Text Domain:
woocommerce - Status: Active
- Save and send a test email
Common WooCommerce Email Strings:
* “Order received” → Your custom text
* “Payment method” → Your custom text
* “Billing address” → Your custom text
* “Order details” → Your custom text
Testing: Use WooCommerce > Settings > Emails > Send test email to verify changes.
Developer Friendly
Includes hooks and filters for developers:
etrp_replacement_text– Filter text before replacementetrp_replacement_result– Filter text after replacementetrp_active_replacements– Modify active replacements arrayetrp_max_replacements– Adjust maximum replacement limit (default: unlimited)etrp_before_replacement_apply– Action before replacementetrp_after_replacement_apply– Action after replacement
Example: Programmatically Add Replacement
add_filter('etrp_active_replacements', function($replacements) {
$replacements[] = array(
'source' => 'Add to cart',
'replacement' => 'Buy Now',
'text_domain' => 'woocommerce',
'case_sensitive' => false,
'priority' => 10
);
return $replacements;
});
Soutien
Need help? Visit our support forum for assistance.
Politique de confidentialité
Text Replace does not collect, store, or transmit any personal data. All replacement configurations are stored locally in your WordPress database.
Crédits
Developed with ❤️ for the WordPress community.
Soutien
For bug reports, feature requests, and support, please visit:
Support Forum
Traduction
Text Replace is translation-ready and includes:
English (default)
Want to translate Text Replace into your language? Visit WordPress Translate.
Installation
Installation automatique
- Connectez-vous à votre panneau d'administration WordPress
- Navigate to Plugins > Add New
- Search for “Text Replace”
- Cliquez sur Installer maintenant puis sur Activer
- Go to Text Replace in your admin menu to start adding replacements
Installation manuelle
- Télécharger le fichier zip du plugin
- Connectez-vous à votre panneau d'administration WordPress
- Navigate to Plugins > Add New > Upload Plugin
- Choisissez le fichier zip et cliquez sur Installer maintenant
- Click Activate Plugin
- Go to Text Replace in your admin menu to start adding replacements
Après installation
- Navigate to Text Replace > Add New in your WordPress admin
- Enter the Source String (text you want to replace)
- Enter the Replacement String (new text)
- Optionally specify a Text Domain to target a specific plugin or theme
- Set Priority if you have multiple related replacements
- Choose Case Sensitive matching if needed
- Set status to Active
- Click Save Replacement
- Clear your site cache if using a caching plugin
- Visit your site to see the changes
Journal de modifications
Fixes a fatal error on empty GeoDirectory category search pages (and any other page where a plugin translates a null string). Also confirms WordPress 7.1 compatibility.
2.0.1 – 2026-09-27
- Fixed: Fatal error (TypeError) on pages where another plugin passes null to a translation function — reported with GeoDirectory empty category search results
- Updated: Tested up to WordPress 7.1
2.0.0 – 2026-08-18
- New: Case Sensitive column on the All Replacements page — toggle between Enabled and Disabled inline, without opening the edit screen
- New: Status filter tabs with live counts (All / Active / Inactive) above the replacements table; counts respect the current search term
- Fixed: Search on the All Replacements page never filtered results (the search form submitted via POST while the list read GET). Search results are now shareable URLs and pagination matches the filtered results
- Fixed: Inline status toggle, AJAX delete, and clear-cache actions failed with a security error since 1.0.0 due to a mismatch between the created and verified nonce actions
- Fixed: Status label showed “Inactive” regardless of the actual state after an inline status toggle
- Fixed: Table layout broke on smaller screens — the Case Sensitive and Status columns were crushed and their headers wrapped letter-per-letter
- Fixed: Bulk selection now works even when the site’s admin JavaScript fails to load (missing core assets, optimization plugins breaking wp-includes scripts)
1.0.9 – 2026-08-14
- Fixed: Export downloads corrupted with admin HTML markup, which prevented exported files from being imported
- Changed: Import now updates existing replacements that share the same source string and text domain (instead of skipping them), so editing an export and re-importing applies the changes; new entries are added and identical entries are skipped
- Changed: Removed the misleading replacement-limit notices on the Import/Export page, since replacements are unlimited
1.0.8 – 2026-08-14
- Fixed: JSON import rejecting valid JSON files (including exported backups) with an “Invalid file type” error
- Fixed: Bundled sample import file failing validation due to an incorrect key name
1.0.7 – 2026-07-17
- Maintenance release confirming continued compatibility with WordPress 7.0
- No functional changes
1.0.6 – 2026-07-17
- Added: Content Replacement mode — optionally replace text inside rendered page content (post body, titles, excerpts, widgets), ideal for page builders like Divi, Elementor and the block editor. Off by default; enable under Text Replace > Settings. Only global (no text domain) replacements apply to content, and markup, code, scripts, URLs and attributes are never modified.
Captures d'écran
Pour les développeurs
Est-ce votre plugin ? Montrez les chiffres.
Ajoutez un badge en direct à votre site, docs ou github readme. Il se met à jour par lui-même - aucun compte n'est nécessaire.
Best Text Replace alternatives
All find and replace plugins →FAQ
Text Replace: quick answers
Réponses directes, extraites des données en direct WordPress.org.
Source : WordPress.org
Is Text Replace free?
Yes. Text Replace is free to download and use from the official WordPress.org plugin directory.
Is Text Replace safe to use in 2026?
Text Replace is a solid plugin choice in 2026, with a few things worth checking first. It runs on 400+ sites, is rated 5/5 and was last updated 2 months ago, and scores 77/100 on our health check.
How many websites use Text Replace?
Text Replace is active on 400+ WordPress websites and has been downloaded 4,341 times since it launched in November 2025. It was downloaded 517 times in the last 30 days.
Does Text Replace work with WordPress 7.1?
Yes. The developer has tested Text Replace up to WordPress 7.1.5, the latest release. It requires WordPress 5.8 or newer.
What PHP version does Text Replace need?
Text Replace requires PHP 7.4 or higher. Most hosts run PHP 8.x today, so it works on any modern WordPress hosting.
When was Text Replace last updated?
The latest version, 2.0.1, was released on September 27, 2026 (2 months ago).
Who makes Text Replace?
Text Replace is developed and maintained by SH Sajal Chowdhury.
What are the best alternatives to Text Replace?
The most popular alternatives to Text Replace are Real-Time Find and Replace (70K+ installs), Easy Search Replace (700+ installs) and Word Replace (200+ installs).
Propulsé par PageForge
Un modèle et une feuille de calcul. Une vraie page pour chaque recherche.
PageForge transforme chaque ligne d'un CSV en une page WordPress avec son propre titre, URL, SEO et schéma, construit sur la mise en page que vous Déjà conçu. Gratuit sur WordPress.org.
- CSV et XLSX, plus Google Sheets sur les professionnels et les entreprises
- Son propre titre, URL, SEO champs et schéma pour chaque page
- Fonctionne avec l'éditeur de blocs, Elementor, Divi et Avada
- Gratuit sur WordPress.org, pas de carte de crédit
