Home Forums WoodMart support forum Age Verification Button – Change Age

Age Verification Button – Change Age

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #390676

    mrsouza
    Participant

    Hi,

    On the age verification popup button, the age 18 is hardcoded in the theme file. So every time I update the theme, it get overwritten with 18 (we need 20). Can we please have a fix for this in the settings instead?

    #390684

    Luke Nielsen
    Keymaster

    Hello,

    Sorry, but we don’t have such an option in Theme Settings.

    1. You should copy this code which is responsible for the output of this age popup and paste it to the functions.php file in your child theme so that after the update, it will not be changed.

    2. There is another way to change these fields and it’s by using the “Loco Translate” plugin. After installing navigate to Loco Translate -> Themes -> WoodMart -> enter keywords and change it.

    https://prnt.sc/DnKUk2VsHwhk

    I’d be happy to assist if you have any other questions or concerns.

    Kind Regards

Viewing 2 posts - 1 through 2 (of 2 total)