WP Popups

The most complete WordPress popup builder plugin

  • Features/Addons
  • Pricing
  • Support
  • Docs
  • Login
  • My Account
  • Logout
  • Get WP Popups Now
You are here: Home / Docs / How to open a popup with a URL

How to open a popup with a URL

Opening a Popup with a URL works very similar to opening a popup by clicking on any HTML element. The main difference is that you will use an HTML link and that the page will refresh before opening the popup. Once you configured your display rules to show the popup you need to get the popup ID, which is the number that you see on the trigger classes of your popups list.

trigger classes

So if you want to open the “Coupon popup” all you need to do is append to any URL #spu-open-163. Let’s say for example that you want to show a coupon on the pricing page when you send users from your blog. What you need to do in that case is to use links like this on your blog posts:

<a href=”https://yourdomain.com/pricing/#spu-open-163″>Check pricing page</a>

Once the user clicks on that link and the pricing page loads, the popup will be shown. Remember to avoid the popup opening automatically change the trigger rules to “class triggering” and leave the value empty.

How to open with URL in the same page:

If you want to open the popup on the same page using URL instead of class attribute you need to use “#spu-163” like this:

<a href=”#spu-163″>Check pricing page</a>

 

Remember! You still need to configure the display rules of the popup to make it available on the pricing page.

Search results

Categories

  • Addons
  • Email Marketing
  • Functionality
  • Getting Started
  • Misc
  • Styling

Need help?

Not finding what you need? We are here to help, please submit a support ticket.

Features

  • 30+ Display rules
  • 45+ Animations
  • A/B Testing
  • Analytics
  • Email Marketing
  • Zapier Addon
  • Multiple Triggers
  • Template Builder
  • Multiple Positions
  • Geolocation
  • Age Verification
  • Idle Logout
  • Leaving Notice
  • AJAX Login/Registration
  • Scheduler Addon

SITE

  • Blog
  • Docs
  • Pricing
  • Affiliates
  • Features
  • Contact
  • Terms & Conditions

Other Products

  • Timersys Plugins
  • GeotargetingWP
  • Facebook Login for WordPress
  • WooCommerce Map Delivery Area
  • WooCommerce Bogo Deals

Linsila LLC © 2023 · Built with Genesis

Before you leave, sign up to our newsletter to receive important updates from our blog and special pormotions!

×

BLACK FRIDAY! Enjoy an extra 20% off discount using coupon code BF2022 on checkout