How to Trigger a Popup from a WordPress Menu
MailOptin has a feature that allows you to trigger an opt-in or open a popup by clicking on a WordPress navigation menu item. All you need is a class for the opt-in that includes the opt-in’s UUID.
To trigger an opt-in when your call to action is clicked follow the instructions below.
Activating Click to Launch
Getting the Unique User ID
After enabling Click Launch, the next step is to add a CSS class to the menu item with the opt-in’s Unique User ID (UUID). The ID can be found in the Click Launch window. In the image below, the UUIID is “IfLBsvWFMm”
Adding the CSS Class
To add the CSS, you should open your menus and create/edit a Custom Links menu item
Type “#” in the URL field, type your preferred label for the menu item and next add this CSS class with your opt-in’s UUID.
Replace “IfLBsvWFMm” with your optin’s UUID and save the menu.
Note: In case you are not able to see the CSS Classes field, you will need to enable it through the Screen options seen on the upper right side of the screen.
Let us know if you have any questions or comments.