Zubayer Rahman Sayem
7 min readOct 22, 2020

How To Create A WordPress Popup Contact Form (Open Form In Popup)

19coders

In search of a option to open a touch sort in a popup for your WordPress web page? On this publish, I’ll display you a couple of ways in which you’ll create a WordPress popup touch sort the use of plugins.

You’ll be able to both require customers to click on a button that opens the touch sort in a popup. Or, you’ll simply robotically cause the touch sort in line with other prerequisites.

First, I’ll display you how one can do it the use of a 100% loose aggregate of a popup plugin and a form plugin. Then, I’ll additionally display you the way you’ll do it the use of a unmarried plugin with the paid model of Elementor (Elementor Pro).

So — two tips on how to open a touch sort in a popup on WordPress, beginning now…

How To Create A WordPress Popup Touch Shape For Loose

Right here’s an instance of what you’ll be growing with this system:

WordPress popup contact form example

When I display you how one can open the popup after the customer clicks a button, I’ll additionally proportion many ways to robotically release the popup.

To reach this capability, you’re going to wish two loose plugins:

  • Popup Maker — this plugin is what means that you can create the popup that properties your touch sort and cause that popup when a consumer clicks on a button.
  • WPForms (or your most well-liked touch sort plugin) — for this educational, I’ll use WPForms to create the touch sort that is going within the popup. Alternatively, you must be capable of use any contact form plugin that allows you to embed paperwork by the use of a shortcode.

Pass forward and set up and turn on each plugins. Then, right here’s how one can arrange the entirety up…

Step 1: Create Your Touch Shape

To get began, create the touch sort that you need to incorporate for your popup the use of your most well-liked touch sort plugin.

If you happen to’re the use of WPForms for that, you’ll cross to WPForms → Upload New to create your touch sort. Our WPForms review will display you how one can use the plugin to create a sort if you wish to have slightly lend a hand.

When you’re completed along with your sort, click on the Embed button and duplicate the shape’s embed shortcode since you’ll want it in your next step:

Step 2: Create Your Popup

When you’ve completed your sort, you’re able to create the popup that may if truth be told area that sort.

To do this, cross to Popup Maker → Upload Popup.

Then, paste the embed code in your touch sort within the frame of the textual content editor:

You’ll be able to additionally upload textual content round your touch sort if desired. And extra down within the interface, you’ll use the Show and Shut tabs to customise how your popup appears to be like:

Alternatively, the one absolute requirement here’s that you simply upload your sort’s embed code into the textual content editor. Converting some other settings is not obligatory.

While you’re completed, remember to Post your popup.

Step 3: Create Button To Open Popup

To complete issues out, you wish to have to create the button that guests will click on to open the popup with the touch sort.

To make the button open the touch sort, you’ll wish to upload an overly particular CSS magnificence.

Right here’s an instance of the button HTML:

Get In Contact!

To seek out that CSS magnificence — popmake-contact-form in my instance – cross to Popup Maker → All Popups and take a look at the CSS Categories column:

Then, cross to the publish or web page the place you need so as to add the button.

If you happen to’re using the new Gutenberg block editor, you’ll upload the HTML in a Customized HTML block. Or, in the event you’re using the Classic editor, you’ll use the Textual content tab:

And that’s it! When you post the web page, your guests will be capable of click on at the button to open the touch sort:

WordPress popup contact form example

How To Open Popup Routinely (As an alternative Of On Button Click on)

If you wish to open your touch sort popup robotically as an alternative of getting guests click on a button or hyperlink, you’ll use the Triggers tab whilst enhancing the popup.

As an example, it is advisable upload a cause to robotically open the popup after X seconds:

The top rate model of the Popup Maker plugin contains extra cause choices, like triggering a popup in line with how a ways down the web page a customer has scrolled.

How To Open A Touch Shape In A Popup On WordPress With Elementor Professional

Right here’s an instance of what you’ll be growing with this system:

WordPress popup contact form plugin

Elementor is a well-liked page builder plugin that allows you to construct your content material the use of a visible, drag-and-drop editor. We use it right here at WPLift and have reviewed it favorably. With the newest model of Elementor Pro, you’ll now use that very same interface to construct any form of popup, together with a popup that presentations a touch sort.

Elementor Pro prices $49, however the upshot of the use of this system is that you simply’ll have much more flexibility for the way your popup and sort glance and serve as.

Right here’s how one can use this capability in Elementor Professional.

Step 1: Create Your Popup

When you’ve put in and activated each Elementor and Elementor Professional, you’ll get began by way of going to Templates → Popups → Upload NewPopup:

WordPress popup contact form plugin elementor

Then, give your popup a reputation and click on Create Template:

create new template

This will likely open a collection of pre-made popup templates.

You’ll be able to to find a number of pre-built touch sort templates right here, which I believe is one of the best ways to get began. Or, you’ll all the time shut this window and construct your popup from scratch. I’ll pick out a template, FYI.

Step 2: Customise Your Shape

Slightly than wanting a separate touch sort plugin like the primary manner, you’ll simply use Elementor Professional’s Shape widget to create the touch sort inside your popup.

This widget will help you upload and regulate fields to assemble as a lot knowledge as wanted:

elementor template

You’ll be able to additionally use any of the opposite Elementor widgets and styling choices, which offers you much more regulate over how your popup touch sort appears to be like. Check out our Elementor Pro review to be told extra about the use of Elementor.

Step 3: Post Popup

When you’ve completed development your popup sort, click on the Post button.

This will likely open a collection of triggers and stipulations. If you wish to robotically show your popup touch sort, you’ll use the Prerequisites tab to make a choice which pages to show your sort on and the Triggers tab to make a choice when to show the shape.

Alternatively, for this educational, I’m going to concentrate on appearing you how one can open your sort when a consumer clicks a button. For this button cause way, you do not want to set any triggers or prerequisites — simply click on the Save & Shut button:

Step 4: Create Button To Open Popup Touch Shape

Now, use Elementor to create the publish or web page the place you need to incorporate the button that may open your touch sort.

Upload a normal Button widget. Then, make a choice Dynamic for the button widget’s hyperlink. From the Dynamic drop-down, make a choice the choice for Movements > Popup:

Then, click on at the Popup to edit its settings:

  • Motion — “Open Popup”
  • Popup — choose the popup that you simply created

While you’re completed including the remainder of the content material, post your publish or web page.

And that’s it! It must paintings like this:

WordPress popup contact form plugin

Any Questions?

There you’ve it! Two alternative ways how you’ll open a touch sort in a popup for your WordPress web page while not having to get your arms grimy with any customized code.

Have any questions on how one can enforce those strategies? Tell us within the feedback and we’ll attempt to lend a hand!

https://tinyurl.com/yyrd9zpb

Zubayer Rahman Sayem

Full Stack WordPress Developer | Sales funnel Expert -- Do you Want a full functional business website? Connect with zubayer.com.bd