Created
September 20, 2016 21:10
-
-
Save Lysindr/cd3a0c0816bfdf435936ce99c97fbd91 to your computer and use it in GitHub Desktop.
Custom Menu in WordPress
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
//Регистрируем меню в файле functions.php , что бы стало доступно из админки | |
register_nav_menus(array( | |
'top' => 'Верхнее меню', //Название месторасположения меню в шаблоне | |
'bottom' => 'Нижнее меню' //Название другого месторасположения меню в шаблоне | |
)); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment