Display a welcome message for new users on mockup projects
ProjectHuddle mockups make use of the Vex modal plugin, which is a multipurpose plugin to display modal messages to your users. We can use this to display a welcome message for new visitors to a mockup project.
Add the following code to your theme or child theme's functions.php file.
Be sure to change the message: portion to whatever you like!
The script will display this message once per user. After the message is displayed a cookie is stored in the user's browser (that expires after 45 days) so they don't see it every time they visit the mockup project!