How to Add a Popup in WordPress?

Table of Contents

WordPress is an incredibly powerful platform when used correctly, can help you better reach and engage your audience. One of the most effective ways to do this is through the use of a WordPress popup. Popups are an incredibly versatile tool that can be used to increase website conversions, drive newsletter signups, generate more sales, promote special offers and more.

But how do you create a WordPress popup?

Well, there are many plugins available that you can use to create popups in WordPress. But, the Popup Builder block from the Nexter Blocks is specifically created for the WordPress/Gutenberg block editor, which offers many powerful features to create dynamic popups in WordPress.

Required Setup

  • Make sure the default WordPress Block editor is active. 
  • You need to have the Nexter Blocks plugin installed and activated.
  • This is a premium block, you need the PRO version of the Nexter Blocks.
  • Make sure the Popup Builder block is activated, to verify this visit Nexter Blocks → Blocks → and Search for Popup Builder and activate. 

Learn via Video Tutorial:

https://www.youtube.com/watch?v=cUqsOejgx3wu0026t=12s

How to activate the Popup Builder/Off Canvas Block?

Go to 

  • Nexter Blocks Blocks 
  • Search the block name and turn on the toggle then click Save Settings.

pop up builder activation

Key Features

  • Create different types of popups – You can create different types of popups like Standard Popup, Slide Popup, Push Content Popup, Slide Along Content Popup and Corner Box Popup.
  • Multiple ways to add content – You can add content in multiple ways using Pattern, Content, Editor or Shortcode.
  • Multiple popup trigger elements– You can use a button or icon as the popup trigger element or hide the trigger altogether as well.
  • Different ways to close the popup – You can use different options to close the popup.
  • Fixed Toggle Button – You can easily place the popup trigger element anywhere on the page.
  • Show Menu Scroll Offset – Show the popup trigger button on scroll.
  • Multiple display conditions – You can add different display conditions on your popup to make it dynamic.

How to add content in the WordPress Popup Builder?

Add the Popup Builder block on the page.

Content

First, you have to choose the type of popup you want from the Type dropdown.

Under this, you’ll find five types of popups –

  • Popup – For creating standard popups.
  • Slide – For creating sliding popups, this popup option can be used for creating an off-canvas popup menu.
  • Push Content – In this type of popup, the popup will push the content while opening and closing.
  • Slide Along Content – This option will slide the content along with the popup, creating a very similar effect to the Push Content popups.
  • Corner Box – For creating small popups at the corner of your page.

pop up builder content type slide

Depending on the type of popup, you’ll find relevant popup settings for open direction, size, position, etc.

For the content of the popup, you’ll find multiple options under the Content Type dropdown.

  • Pattern
  • Content
  • Editor
  • Shortcode

Pattern

This is an extremely powerful way to add content to the popup, as you can use the WordPress block editor to design your popup content using other blocks. This gives you a lot of possibilities to create some unique layouts for your popups, like showing images, videos, products, newsletter signup forms, etc.   

So to use the Patterns, you have to create and save a Pattern first, then choose Pattern from the Content Type dropdown.

After that from the Pattern dropdown choose your Pattern.

pop up builder content choose pattern 2

You can also click on the + Create Pattern button to create a Pattern.

After choosing the Pattern, you will see a Backend Visibility toggle option, this is turned off by default to offer a better editing experience. You can turn it on to see your block in the backend once done it is advisable to turn it off.

Note: You have to click on the popup trigger button to view the popup content.

Content

In this option, you can directly write the content in the editor. This is suitable if you want to use only text in your popups.

Editor

This option is equally powerful as the Pattern option, as you can use the WordPress/Gutenberg editor to create the popup layout.


To use the editor option, select Editor from the Content Type dropdown. Now to access the editor, you have to click on the popup trigger element on the page (in the backend) then it will show the content and there you can change it.

popup content type editor

Shortcode

With this option, you can use shortcodes to display content in your popup. Using this method you can show different forms inside your popups as well.

Popup Load Settings

Once you’ve added the content to your popup you have to choose the popup trigger element from the Popup Load Settings tab.

pop up builder content shortcode icon

Under the Type section, you’ll find three trigger options – 

  • Button – This option will add a button to the page that users can click to open the popup.
  • Icon – You can use an icon as the popup trigger element. You can use this option to create a popup menu.
  • Hidden – This will hide the trigger element, this is useful if you want to show your popup on various display conditions without any user interactions like showing the popup on page load.

Depending on the trigger options, you’ll get relevant customization options.

popup template demo

How to set Display Conditions for Popup in WordPress?

If you manage a WordPress website, then you know how important it is to ensure you are providing a website experience that is both intuitive and user-friendly. One way to do this is to set up display conditions for popups on your website. Popups are a great way to direct your visitors to the information you want them to see, without overwhelming them with content. But without proper display conditions, your popups can become intrusive and annoying.

The Popup Builder provides many display conditions that you can use to decide when and where the popup will be displayed.

 You’ll find all the display conditions under the Display Conditions tab and we have covered a dedicated doc on each one of them so that you can understand them in depth.

pop up builder display condition

YouTube video

Extra Options

Then you’ll find some options under the Extra options tab –

pop up builder extra options tab

Popup In/Out Animation – If you choose Popup as your popup type, then you’ll see this option, from here, you can control the popup in and out animation.

Esc Button Close Content – This option allows users to close the popup by pressing the Esc key. Learn more about the process.

Outer Click Close Content – This option will close the popup when someone clicks outside the popup.

Fixed Toggle Button – This will allow you to put your toggle button or the popup trigger element in a fixed position on the page. You can easily customize its position for different devices, and you can also add a scrolling effect to the button by using the Show Menu Scroll Offset option.

YouTube video

How to style Popup/OffCanvas in WordPress?

If you want to style your popup to match a certain theme you can do that from the Style tab.

Content Area – From this tab, you can manage the popup padding, background etc.

pop up builder style

Close Icon – From here you can control the style of the popup close button and popup overlay. You can even hide the popup close button from here.

Toggle Button – If you’ve chosen Button as your popup trigger element then you’ll see this option in the Style tab. From here you can make the button full width, adjust its padding, typography, text color, background, border etc.

Toggle Icon – This option will be available if you choose Icon as the popup trigger element, from here you can manage the icon color, background etc.

Content Scrolling Bar – Form here you can even control the styling of the popup scroll bar. You’ll find separate styling options for different parts of the scroll bar.

Advanced – This is our global extension available for all our blocks. From here you can add a custom CSS class in the Additional CSS class(es) field. If you know CSS you can use this class to further finetune the style by using your own custom CSS.

Advanced options remain common for all our blocks, you can explore all it options from here.

View Advanced tab tutorial.

Still in Doubt? Let’s Assist You

Need Help? Ask AI Bot

Have Feedback or Questions?

Join our WordPress Community on Facebook!

Related Docs