How to Create Popups in WordPress Without a Plugin
Posted: Tue Dec 03, 2024 7:18 am
Clasp Blog How to Create Popups in WordPress Without a Plugin
Creating a WordPress popup without a plugin can be an ideal solution for those who prefer to keep their WordPress installation lightweight.
All you have to do is simply embed a snippet of code, and you’re ready to launch a lead capture form, announce a sale, or collect feedback.
In this guide, we will show you how to create a popup form in WordPress without a plugin using Claspo.
Create your own free pop-up with over 800 ready-to-use templates
Start
5 Minute Guide to Adding Pop Ups to WordPress Without a Plugin
Let us quickly introduce our popup maker. Claspo is a free WordPress popup maker with lifetime access to all the advanced features. At first glance, you might think it is similar to Canva, but for creating popups. The maker follows a similar principle: you are offered to use ready-made templates, components and a drag-and-drop editor to customize them to fit your website design and mood.
However, Claspo goes beyond simple design: it is a powerful norway whatsapp number data 5 millionlead generation tool with advanced features such as intentional exit technology, abandoned cart recovery, and gamification. With its intuitive design tools, you can easily create highly engaging, conversion-focused popups designed specifically for your target audience.
Claspo also offers advanced targeting options to segment your audience based on behavior, location, or purchasing habits, helping to deliver personalized interactions.
Now, let's see how things work.
Try all the advanced features with Claspo's free lifetime plan
Start
Step 1: Register and Start Creating
First, sign up for your free account with lifetime access to all our features (no hidden costs ).
Once logged in, click on the New Widget button and let's add an email subscription to WordPress .
Creating_a_widget_in_Claspo
You can start from scratch or use one of the available templates. We recommend using a template to save time.
From_scratch_vs_templates
Step 2: Select a Template
On the left side of the popup editing screen, filter the templates by selecting Collect Email Addresses in the Use Cases section and choose the Popup Layout. Apply additional filters if necessary to find the template that best fits your needs.
Template_library_in_Claspo
Step 3: Customize your Widget
Now it's time to make your popup unique. Add new fields by dragging and dropping components from the left sidebar. Our popup builder will align the elements so everything stays neat.
Adding_a_component
Edit text by double-clicking any text area and adjust fonts, spacing, and other settings via the right sidebar. You can even customize the popup close button to match your design.
Changing_text
Customize success, failure, and “already registered” statuses to provide useful feedback based on user interaction.
Additional_messages
You can also configure what action happens when users click the button, such as submitting the form or redirecting to another page.
Editing_button
Step 4: Preview your Widget
To see how your popup looks on both desktop and mobile, click the Preview button in the top right corner. If you need to make changes, simply go back and adjust the design until you're happy.
Switching_to_preview
Step 5: Set Trigger and Launch Settings
The default display rules in Claspo are designed to ensure a smooth user experience. For example, the popup may appear after 20 seconds on a page and once per session.
You can change the behavior of the popup to adjust the trigger, such as showing the popup on specific pages or to certain audiences.
Additionally, with Claspo's overlay protection and annoyance defense features, you can maintain an optimal user experience by ensuring that pop-ups do not become intrusive.
Triggering_rules
Step 6: Set Up Your Integrations
To get the most out of your popup forms, integrate Claspo with apps like Mailchimp, HubSpot , or other marketing platforms for seamless marketing automation. Claspo can easily be part of your marketing stack, allowing you to run lead generation campaigns without any hassle.
Claspo_integrations
You can also connect Claspo to Google Analytics to monitor the performance of your pop-ups.
Step 7: Install the Script
Now, the part you've been waiting for: installing the script.
Installing_script
All you need to do is copy and embed the code from your Claspo account right before the closing </body> tag.
No_plugin_WordPress_popup
There is also another way to add a WordPress popup without a plugin. If you have Google Tag Manager (GTM) code installed on your WordPress site, you can add the Claspo script to a tag in GTM. After that, you can run Claspo widgets on your site.
Once installed, test the functionality of the script, and you are ready to go! The Claspo support team can assist you if you encounter any problems.
10 Examples of High-Converting Popups for Your WordPress Site
To create pop-ups that convert well, you need to understand how people behave on your site and give them a reason to take action at the right time.
Here are ten popular WordPress popup examples to get you started.
1. Exit Intent Popup with Discount Offer
Imagine a user browsing your online store and is about to leave without making a purchase. This is where an exit intent popup comes in . This type of popup detects when the user’s mouse moves to the close button or address bar and triggers an offer, such as “Wait! Get 15% off your first purchase.”
Exit-intent_popup
Try this template
Why does it work? It grabs attention at a crucial moment and provides an incentive to reconsider their decision to leave. Using an incentive, especially in e-commerce, has been shown to significantly reduce cart abandonment.
2. Scroll Triggered Content Update Popup
A scroll-triggered popup appears when someone is engaged enough to scroll 50 to 70 percent of the way down a page, like a blog post. For example, “Like this post? Get our complete guide in PDF. Sign up to download it.” This approach works because it appears at a time of peak interest. If readers find your content useful, they’ll likely see value in getting more of it.
Scroll-Triggered_Content_Upgrade_Popup
Try this template
3. Free Shipping Offer Timed Popup
These pop-ups are timed to appear after the user has spent some time on your site, usually about 20-30 seconds. Imagine this: "Get free shipping on your first order! Enter your email to receive the offer."
Timed_popup
Try this model
Since the visitor is already spending time on your page, they are likely interested in your products, and offering something like free shipping can help them decide to buy. Timed popups often help recapture the attention of site visitors before they lose interest.
4. Click Activated Popup for Lead Magnet
Click-activated pop-ups are triggered by users clicking on a specific element, making them appear to be a natural continuation of the user's action. The pop-up can be triggered by clicking on a button, link, or image icon.
You will need to find the CSS selector of the element you want to use as a trigger and add it to the popup display settings.
HTML_click_trigger
But there is another way to open a modal popup on button click in WordPress without a plugin. You can also use a launcher, also known as a teaser. Launchers are custom buttons that users can click to trigger a popup. They are usually placed in one of the bottom corners of the page.
Do you need code to use launchers? Not if you are using Claspo. You can enable a launcher when you choose your template or create a separate launcher and connect it to another popup.
Creating a WordPress popup without a plugin can be an ideal solution for those who prefer to keep their WordPress installation lightweight.
All you have to do is simply embed a snippet of code, and you’re ready to launch a lead capture form, announce a sale, or collect feedback.
In this guide, we will show you how to create a popup form in WordPress without a plugin using Claspo.
Create your own free pop-up with over 800 ready-to-use templates
Start
5 Minute Guide to Adding Pop Ups to WordPress Without a Plugin
Let us quickly introduce our popup maker. Claspo is a free WordPress popup maker with lifetime access to all the advanced features. At first glance, you might think it is similar to Canva, but for creating popups. The maker follows a similar principle: you are offered to use ready-made templates, components and a drag-and-drop editor to customize them to fit your website design and mood.
However, Claspo goes beyond simple design: it is a powerful norway whatsapp number data 5 millionlead generation tool with advanced features such as intentional exit technology, abandoned cart recovery, and gamification. With its intuitive design tools, you can easily create highly engaging, conversion-focused popups designed specifically for your target audience.
Claspo also offers advanced targeting options to segment your audience based on behavior, location, or purchasing habits, helping to deliver personalized interactions.
Now, let's see how things work.
Try all the advanced features with Claspo's free lifetime plan
Start
Step 1: Register and Start Creating
First, sign up for your free account with lifetime access to all our features (no hidden costs ).
Once logged in, click on the New Widget button and let's add an email subscription to WordPress .
Creating_a_widget_in_Claspo
You can start from scratch or use one of the available templates. We recommend using a template to save time.
From_scratch_vs_templates
Step 2: Select a Template
On the left side of the popup editing screen, filter the templates by selecting Collect Email Addresses in the Use Cases section and choose the Popup Layout. Apply additional filters if necessary to find the template that best fits your needs.
Template_library_in_Claspo
Step 3: Customize your Widget
Now it's time to make your popup unique. Add new fields by dragging and dropping components from the left sidebar. Our popup builder will align the elements so everything stays neat.
Adding_a_component
Edit text by double-clicking any text area and adjust fonts, spacing, and other settings via the right sidebar. You can even customize the popup close button to match your design.
Changing_text
Customize success, failure, and “already registered” statuses to provide useful feedback based on user interaction.
Additional_messages
You can also configure what action happens when users click the button, such as submitting the form or redirecting to another page.
Editing_button
Step 4: Preview your Widget
To see how your popup looks on both desktop and mobile, click the Preview button in the top right corner. If you need to make changes, simply go back and adjust the design until you're happy.
Switching_to_preview
Step 5: Set Trigger and Launch Settings
The default display rules in Claspo are designed to ensure a smooth user experience. For example, the popup may appear after 20 seconds on a page and once per session.
You can change the behavior of the popup to adjust the trigger, such as showing the popup on specific pages or to certain audiences.
Additionally, with Claspo's overlay protection and annoyance defense features, you can maintain an optimal user experience by ensuring that pop-ups do not become intrusive.
Triggering_rules
Step 6: Set Up Your Integrations
To get the most out of your popup forms, integrate Claspo with apps like Mailchimp, HubSpot , or other marketing platforms for seamless marketing automation. Claspo can easily be part of your marketing stack, allowing you to run lead generation campaigns without any hassle.
Claspo_integrations
You can also connect Claspo to Google Analytics to monitor the performance of your pop-ups.
Step 7: Install the Script
Now, the part you've been waiting for: installing the script.
Installing_script
All you need to do is copy and embed the code from your Claspo account right before the closing </body> tag.
No_plugin_WordPress_popup
There is also another way to add a WordPress popup without a plugin. If you have Google Tag Manager (GTM) code installed on your WordPress site, you can add the Claspo script to a tag in GTM. After that, you can run Claspo widgets on your site.
Once installed, test the functionality of the script, and you are ready to go! The Claspo support team can assist you if you encounter any problems.
10 Examples of High-Converting Popups for Your WordPress Site
To create pop-ups that convert well, you need to understand how people behave on your site and give them a reason to take action at the right time.
Here are ten popular WordPress popup examples to get you started.
1. Exit Intent Popup with Discount Offer
Imagine a user browsing your online store and is about to leave without making a purchase. This is where an exit intent popup comes in . This type of popup detects when the user’s mouse moves to the close button or address bar and triggers an offer, such as “Wait! Get 15% off your first purchase.”
Exit-intent_popup
Try this template
Why does it work? It grabs attention at a crucial moment and provides an incentive to reconsider their decision to leave. Using an incentive, especially in e-commerce, has been shown to significantly reduce cart abandonment.
2. Scroll Triggered Content Update Popup
A scroll-triggered popup appears when someone is engaged enough to scroll 50 to 70 percent of the way down a page, like a blog post. For example, “Like this post? Get our complete guide in PDF. Sign up to download it.” This approach works because it appears at a time of peak interest. If readers find your content useful, they’ll likely see value in getting more of it.
Scroll-Triggered_Content_Upgrade_Popup
Try this template
3. Free Shipping Offer Timed Popup
These pop-ups are timed to appear after the user has spent some time on your site, usually about 20-30 seconds. Imagine this: "Get free shipping on your first order! Enter your email to receive the offer."
Timed_popup
Try this model
Since the visitor is already spending time on your page, they are likely interested in your products, and offering something like free shipping can help them decide to buy. Timed popups often help recapture the attention of site visitors before they lose interest.
4. Click Activated Popup for Lead Magnet
Click-activated pop-ups are triggered by users clicking on a specific element, making them appear to be a natural continuation of the user's action. The pop-up can be triggered by clicking on a button, link, or image icon.
You will need to find the CSS selector of the element you want to use as a trigger and add it to the popup display settings.
HTML_click_trigger
But there is another way to open a modal popup on button click in WordPress without a plugin. You can also use a launcher, also known as a teaser. Launchers are custom buttons that users can click to trigger a popup. They are usually placed in one of the bottom corners of the page.
Do you need code to use launchers? Not if you are using Claspo. You can enable a launcher when you choose your template or create a separate launcher and connect it to another popup.