Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #956965

    Hello, I love the new feature Cookie Notice Info, I want to rename aviaCookieConsent to InfoCookieConsent, how can I do this?

    #957150

    Hey royaltask,

    I can’t seem to find where aviaCookieConsent is placed? is it the class name you’re referring to?

    Best regards,
    Nikko

    #965569

    Thats the Name of the cookie.

    #965577

    Open the wp-content/themes/enfold/js/avia-snippet-cookieconsent.js with a editor.

    Search text for “aviaCookieConsent”, it will appear two times. Rename both entrys to your requested “InfoCookieConsent”.

    Safe the file.

    Go to the theme settings. Change something there (i changed the text of the cookie notice info). Safe it. This will recompile with the new informations.

    Done.

    #965835

    Hi,

    Thanks for sharing @Werk32, did you try that out and did you have any luck with it @royaltask?

    Best regards,
    Rikard

    #965845

    Hi. Yes i have tried. Works fine.

    • This reply was modified 6 years, 6 months ago by Pako.
    #966054

    Hi,

    Thanks for the feedback :-)

    Best regards,
    Rikard

    #966351

    After every update this is gonna be overwritten. Up to changes on this file in the future, I do not prefer to add this to my child theme. Maybe you can change the name, in order to have simple names for the cookies like CookieConsent. Is there a hook?

    • This reply was modified 6 years, 6 months ago by royaltask.
    #966851

    Hi,

    Unfortunately no there is not a hook, but we can give the idea to our devvelopes.

    Let us know if there is anything else we can do for you.

    Best regards,
    Basilis

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