WordPress Tricks

PopUp Modal Confirmation with Yes, No and Redirection: For WordPress and Others


Recently one of my client asked me to show a Age Restriction Popup while clicking on a specific menu item.  

So, the requirement was

  1. Visitor will click on Specific menu item ( say for  Product menu)
  2. Instead of going to that Product page, Visitor will see a Popup Modal
  3. In that Popup Modal Visitor will see “Are You Above 18 Years Old ? “
  4. If visitor Click on “Yes”,  then visitor will redirct to a Specific page or another URL

Here is the screenshot how the final Popup was looking

PopUp Modal Confirmation Yes No and Redirection

You can ask question regarding any issue you are facing in comments section.

Continue reading “PopUp Modal Confirmation with Yes, No and Redirection: For WordPress and Others”