Created
June 14, 2017 20:14
-
-
Save artikus11/1bfef07e6a9c0bc78efd668c6edd7a45 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