• Resolved aboutalexg

    (@aboutalexg)


    Hi,

    Your plugin work great but I need to add a country selector to add différent age for each country ( United States > 21, Spain > 18, France > 18 ).
    ? for the moment my website is in one language (EN)
    ? in the future it will be in 2 or 3 languages with wpml

    can you help me with this ?

Viewing 7 replies - 16 through 22 (of 22 total)
  • Plugin Author Phil

    (@philsbury)

    Hi @aboutalexg,

    You can do that, there’s a drop down to select where to go to (including custom url).

    But, you can just import them from WPML and it’ll do that for you. I’ve added some screenshots here to give a bit more of a guide ??

    Thanks
    Phil

    Thread Starter aboutalexg

    (@aboutalexg)

    hi @philsbury,

    I found one bug :

    To test your extension, I add 3 region to start :

    • France
    • United States
    • Spain
    • It was working great so in a second time I add

    • United Kingdom
    • Belgium
    • Swiss
    • Brazil
    • And when I save the first 3 are erased

      The only way to have it all was to create all together, if I add one more after I keep with the last one and all the others are erased
      screen shot

      After that it’s Perfect !
      I just need to customize the css for the select and it’s done
      #ag-region {}
      select .ag-region {}

      Thank you so much
      Alex

    Plugin Author Phil

    (@philsbury)

    Hey @aboutalexg,

    It does seem to do that, but only when you manually add. I’ll investigate!

    Thanks
    Phil

    Thread Starter aboutalexg

    (@aboutalexg)

    Hey @philsbury,

    I’m sorry to bother you another time…
    Now I’ve an issue with IE 11, I can’t pass the age gate and enter the website even if the age is good…

    and the error message “You are not old enough to view this content” doesn’t display when you’re younger

    • This reply was modified 4 years, 3 months ago by aboutalexg.
    Plugin Author Phil

    (@philsbury)

    Hi @aboutalexg – think I broke something in the main Age Gate plugin for IE. If you update it IE11 should be ok again.

    Thanks
    Phil

    Thread Starter aboutalexg

    (@aboutalexg)

    Hi @philsbury,

    Awesome it works now

    Thanks
    Alex

    Plugin Author Phil

    (@philsbury)

    Great stuff ??

    Going to mark this thread resolved now then

    Thanks
    Phil

Viewing 7 replies - 16 through 22 (of 22 total)
  • The topic ‘HOW TO ADD A COUNTRY SELECTOR WITH DIFFERENT AGE FOR EACH COUNTRIES’ is closed to new replies.