How to Search and Replace Text in Elementor Popups

Introduction
Need to update the text inside an Elementor popup — a promo code, a headline, a CTA button — across your site? Popups built with Elementor's Popup Builder (part of Theme Builder) are stored differently from regular pages, which trips up a lot of the usual search-and-replace advice.
In this guide, you'll learn three methods to safely find and replace text inside Elementor popups, whether you're updating one popup or fifty.
What you'll learn:
- Why popups store content differently than regular pages
- Manually editing text inside the Popup Builder
- Bulk-updating popup text with a database search/replace tool
- Updating popup text without leaving the Elementor editor
Why Popups Are Different
Elementor popups aren't stored as regular posts or pages. Each popup is its own elementor_library post type entry, with its content serialized into wp_postmeta just like a page — but popups are usually excluded from normal page-by-page workflows, so they're easy to forget when you're doing a site-wide text update.
Common scenarios where popup text gets missed:
- Expired promo codes — Discount popups still showing last quarter's code
- Rebranding — Company name changed everywhere except the exit-intent popup
- Phone/email updates — Contact popups with outdated details
- Legal text — Cookie consent or newsletter popups referencing an old privacy policy URL
The Problem: Because popups live outside your normal page list (under Templates → Popups, not Pages), a database search/replace tool will still catch them correctly — but a manual page-by-page review usually won't.
Method 1: Manual Edit in the Popup Builder
When to Use This Method
- You have 1-3 popups
- You want full control over each edit
- The change is a single, simple replacement
Step-by-Step Process
- Go to Templates → Popups in your WordPress dashboard
- Open each popup with Elementor
- Click into each text widget and update the text manually
- Check the popup's trigger settings too — some CTA button text lives in the "Advanced" or "Content" tab separately from the main text widget
- Click Update and preview the popup on the front end
✅ Pros: No plugins needed, full visual control, safe for small numbers of popups.
❌ Cons: Doesn't scale past a handful of popups, easy to miss a hidden text field, time-consuming for repeated phrases (like a promo code used in 3 different popups).
Method 2: Bulk Replace with a Database Tool
When to Use This Method
- You have many popups sharing the same text (like a repeated promo code or phone number)
- You're comfortable running a dry-run database search/replace
Step-by-Step Process
- Back up your database first
- Install Better Search Replace
- Go to Tools → Better Search Replace
- Enter your search and replace terms, select
wp_postmeta(this is where popup content lives, same as pages) - Run a dry run first, review the results, then run it for real
- Clear your Elementor cache (Elementor → Tools → Regenerate CSS) so the popups reflect the change
✅ Pros: Updates every popup at once, catches hidden fields you might miss manually, free.
❌ Cons: Works at the database level, so you don't see a visual preview before committing — a dry run helps, but it's still less intuitive than editing in the visual editor.
Method 3: Search & Replace Inside the Elementor Editor
When to Use This Method
- You want a visual preview of each change before it goes live
- You update popups regularly (seasonal promos, changing offers)
- You'd rather not touch the database at all
Search & Replace for Elementor runs its find-and-replace directly inside the Elementor editor, including Theme Builder templates and popups. Because it's Elementor-native, it applies the same way to a popup as it would to a regular page — no separate database step, and no need to remember that popups live under Templates instead of Pages.
✅ Pros: Works inside the editor you already use, no database risk, sees popups and pages the same way.
❌ Cons: It's a paid plugin, so it's most worth it if you update popup or site text more than a couple of times a year.
Frequently Asked Questions
Q: Do popups use the same wp_postmeta table as pages? A: Yes. Elementor popups are the elementor_library post type, and their content is serialized into wp_postmeta exactly like a page or post.
Q: Will Better Search Replace break my popup triggers? A: No, as long as you're only replacing text content and not touching the trigger/condition settings, which are stored as separate meta keys.
Q: My popup text didn't change after I ran a search/replace. Why? A: Clear the Elementor CSS cache (Elementor → Tools → Regenerate CSS) and your site's caching plugin. Popups are cached like any other Elementor content.
Q: Can I search and replace inside a popup's button link, not just its text? A: Yes — button URLs are stored the same way as button text, so any of the three methods above will catch them too.
Q: Are popups included in a normal Elementor site export? A: Yes, popups export along with your Theme Builder templates, so they'll carry over if you clone or migrate your site.
Managing more than just popups? See our guide on how to do search and replace in Elementor for the full walkthrough of the in-editor method.
For the fundamentals of editing any Elementor content this way, see how to search and replace text in Elementor.
Updated a popup today? Share which method worked best for you in the comments!