• Resolved kmediag

    (@kmediag)


    I’m having an issue getting the JS settings right so my age verification plugin will load and function correctly. In some variations of the settings, I can get it to load, but then when “yes, I am 21″is clicked, nothing happens and the age gate stays up. I have tried excluding the entire plugin in the JS exclusion section. I have also tried excluding each individual js file to no avail. The only thing that “works” is disabling JS minification, but that of course results in a bit of a slowdown and affects my pagespeed score.

    Can anyone offer any insight on this?

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Optimizing Matters

    (@optimizingmatters)

    I have no experience with an age check plugin, but based on the HTML of your homepage the following exclusion (which goes in AO’ JS optimization comma-separated exclusion list) might work;

    
    js/jquery/jquery.js, plugins/age-gate/, age_gate_params

    If that does not work first thing to do would be to check the browser console for JS errors.

    hope this helps,
    frank

    Thread Starter kmediag

    (@kmediag)

    Thank you for your reply. I gave something like that a shot but maybe with not those exact files so I’ll give it another go. Thanks again for your response.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Settings for Age Check Plugin’ is closed to new replies.