Awesome idea, @fly_in_the_sky!
I will come up with a way to explain the workflow better for new users as well as advanced topics such as custom JS code.
Thanks for your feedback! Philipp
Hello, can you tell me how to make the popup only open once a day and per user? thank you
Hi @fly_in_the_sky
that’s possible with some custom JS. You need to set a cookie via JS (e.g., with expiry-time of 24 hours) and then open the popup when NO COOKIE is present.
Since the cookie expires after 24 hours, a valid cookie means, that the user visited your website in the past 24 hours and saw the popup already.
You can access the cookies via “document.cookie” (sample on StackOverflow)
As this scenario is not supported out-of-the-box I cannot give you more specific directions right now. I hope this helps 🙂
Philipp
A quick follow up here:
I’ve started to create some tutorials and guides for the Popups for Divi plugin. The first entry is available since today and explains different options to integrate custom Popup JS into your webpage: https://philippstracker.com/tutorial/how-to-use-the-js-api/
Also, a “One popup per day” tutorial is on my todo list, but it will take a while (a few weeks) before I can complete it.
Hello Philipp,
Tanks for you reply.
It’s will be very helpfull…
Can you write a message wenn you did the tutoriel ?
Tanks
Hello @fly_in_the_sky
Sorry for the late reply. I did not see this thread in the “Support Forum” (we’re here in the “Plugin Ratings” forum, which is a different place)
But the good news:
In the mean-time, I have created two tutorials that address your request about displaying a popup only once a day. Here they are:
1. https://philippstracker.com/tutorial/how-to-display-a-popup-only-once-per-day/
2. https://philippstracker.com/tutorial/how-to-show-a-popup-after-scroll-down-once-per-day/
Let me know if you have any remaining question or need help with the plugin.
If you need any further help, please head to the Support forum here: https://ww.wp.xz.cn/support/plugin/popups-for-divi/ as this makes it easier for me to keep track of open requests 😉
Thanks, Philipp