-
-
Save muks999/662999f485d1e745a4d0b695161840d3 to your computer and use it in GitHub Desktop.
Переопределение классов и контенеров для виджета Произвольное меню
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
add_filter( 'widget_nav_menu_args', 'artabr_widget_menu_category' ); | |
function artabr_widget_menu_category ($arg) { | |
$arg['container'] = 'div'; | |
$arg['container_class'] = 'rubric__list side__menu'; | |
$arg['menu_class'] = ''; | |
return $arg; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment