The problem you are encountering is that WordPress and your browser are interpreting everything after the “#” as a client side hash. In other words, PHP and WordPress never see the “?tier=Test1” bit.
There are few ways to fix the issue though I’m not sure which will be most efficient in your situation:
1) Trigger your modal with a JS click event instead of relying on the href attribute.
2) Store your parameters in a different attribute such as ‘data-rel’ and use JS to pull the parameters after the modal loads.
Related Posts:
- Get value of contact form 7 radio button [closed]
- How to find the output of contact form 7 shortcode? [closed]
- Contact Form 7 from adding paragraph and break tags to HTML emails [closed]
- Attaching a pdf to Contact Form 7 e-mail via functions.php [closed]
- How to display posts by current user in a drop down
- Contact Fom 7 – how to add custom HTML inside span.wpcf7-form-control-wrap AND IMMEDIATELY AFTER input.wpcf7-form-control?
- Download PDF after CF7 form submission
- Contact Form 7 – Replace database configured form template with a static file
- Export Form Data to a CSV then send it as an attachment – contact form 7
- Sorting dynamic select/dropdown for Contact Form 7 of Modern Tribe Events posts
- Using CFDB7 vs Custom MySQL Database [closed]
- Contact Form 7 WordPress, checking a few fields, if empty then invalid
- Add custom HTML data to Contact Form 7 mail?
- How to use Contact Form 7 shortcode value in a page?
- Send foreach $_post method to contact form 7 [closed]
- Import and use a variable in additional settings of Contact Form 7 [closed]
- Saving User Input to PHP Variable
- Submit cf7 form to cfdb as pdf/BLOB [closed]
- Contact form with dynamic dropdown and filter
- How can I save a user’s Contact Form 7 inputs as separate columns in a custom WordPress table?
- Reposition WooCommerce breadcrumb outside of wrapper content
- How to validate WordPress generated password in DB using PHP?
- How can I access the “description” of a menu item?
- How do I know what variables are passed in a filter/action and what their meaning is?
- How to set a link different behavior for logged and non-logged user?
- How does WP detect format type (and can I make use of this)?
- Remove “Remember Me” from login form
- Wrap each shortcode in array to div
- How can I change WordPress domain from remote to localhost?
- Notify WordPress Site I Have Linked To Them
- Woocommerce filter cart and category specific quantity [closed]
- Ajax form submit within a Post Metabox
- Problem adding class to body_class
- Trying to implement Ajax comments in WordPress, getting WP error
- SQL QUERY – Select a value directly from the database
- Set the checkbox as checked by default at options page
- Input type search in Menu
- Swapping wp_dropdown_categories function with wp_category_checklist
- WP_Query adds “(wp_posts.ID = ‘0’)” so no results are returned
- How do I display the main domain for my WordPress install?
- Create Page To Count Comments For Each Post In WordPress Site
- Why my image upload button is not working in wordpress widget area?
- How does wp_enqueue_scripts work?
- You do not have sufficient permissions to access this page while making a plugin
- How to let users change site language?
- Problem with login form
- get_users meta_query: REGEXP not working for matching new lines
- Where does “rel=0” get removed from my YouTube parameters?
- Custom array from a query only write the last row of the query
- Ajax button not working
- PHP if statement works in template files, but not header
- Get categories names as an array to use it in theme settings
- WordPress query undefined offset in loop
- Divi change project category slug
- register_setting & add_settings_error validation issues with multiple fields
- Can’t upload CSV file to plugin directory using custom upload form in admin panel
- Custom route and query
- In WordPress, I want to run a loop to get posts in tabular format
- Automatically generator a WordPress installation on my subdomain
- Function Reference/human time diff for future posts
- WP_Query() load selected post
- custom stripe plugin
- Call to undefined function error in plugin
- Override index with a custom PHP page
- How do I correct the code in php? [closed]
- Dynamically adding filters
- Cannot modify header information – server cache
- Call to a member function get_row() on a non-object, Unable to use global $wbdp inside a plugin
- Filter unique custom field value based on custom taxonomy category or other custom field
- How can I restrict access to a widget to admins only?
- How to add a custom filter (by coding) before access one wordpress page ? And where to call the custom filter?
- WP_REST_Response – How to return Gzip answer and add Content-encoding header?
- Can’t log in to WordPress wp-admin after adding code to functions.php
- Why would the child theme load in the Customize preview, but not on the site itself?
- Sending simple variable on single page to WP JSON
- Hide a div if the fiels is empty
- How to display acf field values from home page on all pages?
- Illegal string offset checkbox
- How can i show specific Category List?
- I got big white screen when i attach main style sheet of Html in functions.php
- Change headers for one custom PHP file
- How can i send id of the currently posted form data through json response in custom wordpress plugin?
- Changable favicon
- Insert div after every three posts in home.php [duplicate]
- How do you change the tag font size in the repeater-template.php [closed]
- How to remove image on single product and get product to span page?
- Display Content Based on Custom Field Value
- Inline Styling a div from a Custom Metabox
- WordPress rating by views [closed]
- 403 (Forbidden) delete file image in themer folder
- Limit the number of successful logins
- Custom field in title
- Dynamic Gallery
- Blog only showing code
- Pagination 404 on my index.php
- Jquery autosave text area after typing
- WP Fatal error: Call to undefined function get_template_directory_uri()
- Remove default Image Sizes
- A better way to write this php function
- Import js variables loaded via wp_localize_script() into js module without global scope connection