clarityonline
Forum Replies Created
-
Forum: Plugins
In reply to: [Popups for Divi] Pop-up keeps re-appearing@mrrohitbhardwaj Thank you kindly for that direction, it was very helpful! I was able to put together a snippet to make this work. For anyone else who has this issue, here’s what we’re using:
<script> (function () { DiviArea.addAction('ready', function () { var popupId = 'offer'; // TODO: ← Enter the ID of your Popup here! var popupClosedCookie = DiviArea.Utils.getCookie('popup_closed_' + popupId); // Only show the popup if it hasn't been closed in this session if (!popupClosedCookie) { window.setTimeout(function () { DiviArea.show(popupId); // When the popup is closed, set a cookie to prevent it from showing again DiviArea.addAction('hide_area', function (area) { if (area.attr('id') === popupId) { // Set a cookie that expires in 30 minutes (or however long you want the session to last) DiviArea.Utils.setCookie('popup_closed_' + popupId, 'yes', 30); } }); }, 6000); } }); })(); </script>
Forum: Plugins
In reply to: [Popups for Divi] Pop-up keeps re-appearingHello @mrrohitbhardwaj,
I’m the developer who helped @buddha35 set this up on the site.
Yes, we did add the popup to the global theme builder. It’s in the header so it appears on every page. We’re using a code snippet in the header which triggers the popup after 6 seconds.
We want the popup to appear on every page, and we want it triggered after 6 seconds. However we want a cookie or localstorage to recognize when a visitor closes it, so it’s not shown to them multiple times on one session. Is there a custom code snippet to function that can accomplish this?
Forum: Plugins
In reply to: [Age Gate] Unable to Get Past Age Gate in Safari@philsbury Incredible, it works perfectly in 3.0.4. Greatly appreciate that rapid turnaround time. AgeGate is the best age verification plugin I’ve found ??
Forum: Plugins
In reply to: [Age Gate] Unable to Get Past Age Gate in Safari+1 on this issue, only happening for the button verification method, only on Safari versions older than 15.4
Forum: Plugins
In reply to: [A-Z Listing] Alphabetic OrderHey there, I absolutely love your plugin! Even displaying hundreds of items, the block is very fast.
I’m encountering a very similar issue to this post. When using the block AND grouping letters (ex. A-C), the list of items is being displayed reverse-alphabetically. I’m using this to list products filtered by a taxonomy.
Forum: Plugins
In reply to: [Age Gate] Please fix the order of Yes / No buttonsThank you for fixing this! Just searched for this problem and found you updated it 2 days ago!