hello I need your help, after updating the wordpress to Version 5.6.2 the mobile menu no longer shows. I have the template updated to EnfoldVersion: 4.8.1, and I already deactivate all the plugins and it does not work, please help.
Hey inmortal666rojas,
Thanks for the login details. Can we try deactivating plugins temporarily, for debugging purposes? Also, are we allowed to upload a fresh version of the theme, to see if that helps?
Best regards,
Rikard
ok, that’s fine, even though I already have the template updated and I had already deactivated all the plugins.
Mind you not overwriting the functions.php file because I have some custom codes.
Hi,
Sorry for the late reply. What exactly did you add to function.php? I’m asking since the mobile menu is working fine when I activate version 4.7.6.4, which is also installed.
Best regards,
Rikard
Hello,
this is the code I have added in the function.php file:
function folio_genCodigoTicket() {
$len = 10;
$caracteres = “0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ”;
for ($p = 0; $p < $len; $p++) {
$string .= $caracteres[mt_rand(0, strlen($caracteres)-1)];
}
return $string;
}
add_shortcode(‘codigoticket’, ‘folio_genCodigoTicket’);
Hi,
I’ve uploaded a new copy of the theme for you, and the mobile menu works fine when that is active. I changed the version to 4.8.123 in style.css, so that you can distinguish between the two copies.
Please try working with the new copy instead, and place all your customisations in a child theme: https://kriesi.at/documentation/enfold/install-enfold-theme/#why-child-theme
Best regards,
Rikard