/ Published in: PHP
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
Add to functions.php: add_action('init', 'my_custom_menu'); function my_custom_menu() { register_nav_menu('my_menu', ('My Menu')); } Add to your template: