/ Published in: PHP
This may be necessary to properly add theme support for multiple menus.
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
add_action('after_setup_theme','my_after_setup_theme_function'); function my_after_setup_theme_function(){ add_theme_support('post-thumbnails'); register_nav_menus( 'primary'=>'Primary Menu', 'footer'=>'Footer Menu', 'sidebar'=>'Sidebar Menu' )); } }