2 fixed title
source | link

В консоли появилась ошибка в файле An error appeared in the console in the priority-menu.js

AytIm on WordPress engine latest version. The site maxg5.ru The console appeared errors in the file priority-menu.js. Because of this error in the mobile version, menu items are displayed in the wrong order as specified in the admin panel. I think this happened after I deleted the line 228 in wp-content\themes\twentynineteen\inc\template-functions.php:

add_filter( 'wp_nav_menu', 'twentynineteen_add_ellipses_to_nav', 10, 2 );

It was necessary to do this to disable this filter in the mobile version and impose a mobile menu as I need. How do you fix errors in the priority-menu.js file? Or maybe it was necessary to disable the filter somehow?

В консоли появилась ошибка в файле priority-menu.js

Ayt on WordPress engine latest version. The site maxg5.ru The console appeared errors in the file priority-menu.js. Because of this error in the mobile version, menu items are displayed in the wrong order as specified in the admin panel. I think this happened after I deleted the line 228 in wp-content\themes\twentynineteen\inc\template-functions.php:

add_filter( 'wp_nav_menu', 'twentynineteen_add_ellipses_to_nav', 10, 2 );

It was necessary to do this to disable this filter in the mobile version and impose a mobile menu as I need. How do you fix errors in the priority-menu.js file? Or maybe it was necessary to disable the filter somehow?

An error appeared in the console in the priority-menu.js

Im on WordPress engine latest version. The site maxg5.ru The console appeared errors in the file priority-menu.js. Because of this error in the mobile version, menu items are displayed in the wrong order as specified in the admin panel. I think this happened after I deleted the line 228 in wp-content\themes\twentynineteen\inc\template-functions.php:

add_filter( 'wp_nav_menu', 'twentynineteen_add_ellipses_to_nav', 10, 2 );

It was necessary to do this to disable this filter in the mobile version and impose a mobile menu as I need. How do you fix errors in the priority-menu.js file? Or maybe it was necessary to disable the filter somehow?

1
source | link

В консоли появилась ошибка в файле priority-menu.js

Ayt on WordPress engine latest version. The site maxg5.ru The console appeared errors in the file priority-menu.js. Because of this error in the mobile version, menu items are displayed in the wrong order as specified in the admin panel. I think this happened after I deleted the line 228 in wp-content\themes\twentynineteen\inc\template-functions.php:

add_filter( 'wp_nav_menu', 'twentynineteen_add_ellipses_to_nav', 10, 2 );

It was necessary to do this to disable this filter in the mobile version and impose a mobile menu as I need. How do you fix errors in the priority-menu.js file? Or maybe it was necessary to disable the filter somehow?