Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #1074512

    Hi

    The coockies consent message bar appears only the first time you visit the site.
    What can i do to load the message every time i open the home page of my website?

    Thanks in advance
    Alessandro

    #1074575

    Hey elnet-tech,

    Please go to enfold/js/avia-snippet-cookieconsent.js file in Appearance > Editor and find

    date.setTime(date.getTime()+(CookieDays*24*60*60*1000));

    and change it to following

    date.setTime(date.getTime()+(30 * 60 * 1000));

    That would reset after every 30 minutes.

    Best regards,
    Jordan Shannon

    #1075049

    Thanks for your reply
    Can you explain the syntax? 30 * 60 * 1000 should be minutes * seconds * milliseconds ? so if i want coockies to be reset after 5 minutes have I to change in 5 * 60 * 1000?

    Thanks
    Alex

    #1075051

    Sorry

    another information. I’ using Child-theme.
    Have i to apply changes to main child cookiescontent.js file?

    #1075847

    Hi,

    You can move the file into the child theme directory with the same structure.

    Best regards,
    Jordan Shannon

Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.