Title: Trigger with URL
Last modified: March 9, 2022

---

# Trigger with URL

 *  Resolved [johndaltrey](https://wordpress.org/support/users/johndaltrey/)
 * (@johndaltrey)
 * [4 years, 3 months ago](https://wordpress.org/support/topic/trigger-with-url/)
 * Hi, great plugin first off!
 * I’m looking to be able to launch a modal thats on a page based on the url string.
 * For example a modal exists on the homepage but I want the ability for it to appear
   when a user lands with a certain link… for example by a query or anchor…
 * site.com/#modal
    site.com/?modal
 * Is this possible?
 * Thanks
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Ftrigger-with-url%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Plugin Author [merbmerb](https://wordpress.org/support/users/merbmerb/)
 * (@merbmerb)
 * [4 years, 3 months ago](https://wordpress.org/support/topic/trigger-with-url/#post-15443783)
 * At the moment this is not possible. I assume you are basically looking at a dynamically
   generated page?
 *  Thread Starter [johndaltrey](https://wordpress.org/support/users/johndaltrey/)
 * (@johndaltrey)
 * [4 years, 2 months ago](https://wordpress.org/support/topic/trigger-with-url/#post-15494427)
 * Hi, thanks for the reply.
 * No, I only need to generate 1 link that does this. Its for a QR code link on 
   printed materials. So the user would land on the homepage but with a modal (which
   already exists on the homepage) showing.
 * Thanks
 *  Plugin Author [merbmerb](https://wordpress.org/support/users/merbmerb/)
 * (@merbmerb)
 * [3 years, 10 months ago](https://wordpress.org/support/topic/trigger-with-url/#post-15836607)
 * Might be a little late but the latest release includes this functionality

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Trigger with URL’ is closed to new replies.

 * ![](https://ps.w.org/modal-block/assets/icon-256x256.png?rev=2149842)
 * [Modal Guten Block](https://wordpress.org/plugins/modal-block/)
 * [Support Threads](https://wordpress.org/support/plugin/modal-block/)
 * [Active Topics](https://wordpress.org/support/plugin/modal-block/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/modal-block/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/modal-block/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [merbmerb](https://wordpress.org/support/users/merbmerb/)
 * Last activity: [3 years, 10 months ago](https://wordpress.org/support/topic/trigger-with-url/#post-15836607)
 * Status: resolved