Skip to content

Instantly share code, notes, and snippets.

@AlexL-JWA
Created March 6, 2019 09:19
Show Gist options
  • Save AlexL-JWA/769ea0126e923d8238b089e1d2a16c69 to your computer and use it in GitHub Desktop.
Save AlexL-JWA/769ea0126e923d8238b089e1d2a16c69 to your computer and use it in GitHub Desktop.
Регистрация меню Wp
add_action( 'after_setup_theme', 'theme_register_nav_menu' );
function theme_register_nav_menu() {
register_nav_menu( 'primary', 'Primary Menu' );
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment