@PaSquallor – Hmm, can you elaborate on the bigger picture. I vaguely get what your asking for but not in the context of how you describe using it. For instance we have a terms & conditions popup extension that once they agree & check the box it doesn’t show up any more. Just depends on how you want it to work and flow. All things possible with this plugin.
I Occor a very simple thing, look at the example of this pop up
LINK
@PaSquallor – Ok got it, in your case your going to need to write some custom JS that will on checking that box close the popup and create the appropriate cookie.
jQuery('#showagain').on('click', function () {
jQuery('#popmake-123')
.trigger('popmakeSetCookie.auto-open')
.popmake('close');
});
The above JS does what your looking for. You need to change the popmake-123 to match your popups ID #, and you need to set up your auto open cookies but set the trigger to manual. Whatever cookie time you use there will be set when clicking the checkbox.
Hope this helps.
in HEAD wright this
jQuery('#showagain').on('click', function () {
jQuery('#popmake-123')
.trigger('popmakeSetCookie.auto-open')
.popmake('close');
});
in popup body wright this :
<p class="checkbox-label">
<input type="checkbox" value="do-not-show" name="showagain" id="showagain" class="showagain">
<label for="showagain">Do not show this popup again</label>
</p>
You need to change the popmake-123 to match your popups ID #,
I did not understand what to do
thanks!
@PaSquallor – Your popup just like any post or page has a unique ID #. When you go to Popup Maker -> All Popups you will see them listed in the classes column of the table. Copy the popmake-# and replace the 123 above with the correct ID #.
Also be sure you wrap your JS with the appropriate <script>
tags, and you would be better off putting it in the footer after wp_footer();
Hope this helps.
does not work, here is the link
@PaSquallor – As I mentioned you need to move your script to the footer. jQuery is not available yet where you have it now which is causing a JS error.
@PaSquallor – Looking at the site, the script is still in the head and above all other JS. It will never work there. jQuery must be loaded before that script is run. You need to move it to the footer below wp_footer(); That guarantees all other JS is loaded first.
Hope that helps.
is in the footer before the </ html>, clear your history
@PaSquallor – Do you have server caching enabled that needs clearing? I am using private browser and tried multiple browsers, still in the head not the footer.
@PaSquallor – That link doesn’t load for me. Looking at the HTML your site is using Super Cache, may need to be cleared, logged in users don’t get cached copies so you may be getting a different result than me.
This is at the bottom of your source.
<!– Cached page generated by WP-Super-Cache on 2015-08-31 16:49:50 –>
I have to disable the plugin?
@PaSquallor – You don’t have to disable it. If you look on your Admin Bar there is likely a menu item for Super Cache. You should be able to find a Clear/Empty Cache button there as well. Clicking that will clear it out.