- This topic has 5 replies, 2 voices, and was last updated 4 years ago by
Leo.
-
AuthorPosts
-
March 14, 2022 at 1:24 pm #2154541
Colin
Hello, I’m trying to use Popup Maker to show a simple one-time popup on any event (via the Events Calendar plugin) that a user visits on my site. A cookie is suppose to then keep that popup from appearing on any other event pages for a month. I have this working fine on my staging site with the 2021 default theme, but on my live site with my GP child theme in place, and all other plugins the same, the popup loads and loads upon refresh on my test event without the cookie seeming to register and keep it only loading the first time.
Here are some links to staging, where the popup will only appear once and then not on subsequent refreshes or visits:
https://ww3.green-wood.com/calendar/
https://ww3.green-wood.com/event/women-who-walked-ahead-5/The Popup Maker cookie is set to occur upon close of the popup window. So if you close out here (live site) and then refresh, it shouldn’t recur, but it seems to be doing so:
https://www.green-wood.com/event/brooklyn-bridge-at-green-wood-trolley-tour-3/Thanks for all your help! -Colin
March 14, 2022 at 2:08 pm #2154563Leo
StaffCustomer SupportHi Colin,
I really can’t see GP being the issue here.
but on my live site with my GP child theme in place
Have you tried using the parent theme to test?
If it still doesn’t work, we will need to go through some further debugging steps.
Let me know 🙂
March 14, 2022 at 4:15 pm #2154645Colin
Hi Leo, you’re right, it’s some discrepancy between my child and parent theme. The parent theme on staging works fine. I’m banging my head against a wall trying to figure it out, going deleting the child theme files one-by-one doesn’t seem to be helping. If you have any tips or a guide on how to troubleshoot this I’d be grateful, otherwise I can keep you posted when I figure it out in case this comes up again.
March 14, 2022 at 5:08 pm #2154674Leo
StaffCustomer Supportgoing deleting the child theme files one-by-one doesn’t seem to be helping.
That is the best way to debug. I’d recommend removing all custom functions and template files at once, make sure it’s all working and the issue is resolved, then add the files and functions back one by one to find the culprit 🙂
March 18, 2022 at 12:01 am #2158741Colin
Hello Leo, thanks again for your help. In case you’re curious (and in case it helps anyone else), the culprit ended up being the script I’d added to my header for a cookie-script.com Cookie Policy prompt. I should have seen earlier that that might play poorly with a popup plugin that relies on cookies! Making sure that the popup-enabled pages were excluded (for now) from the cookie-script.com-enabled pages did the trick.
March 18, 2022 at 9:16 am #2159333Leo
StaffCustomer SupportThanks for reporting back!
-
AuthorPosts
- You must be logged in to reply to this topic.