For my website i want to use a main topmenu with 3 buttons, and when i click one of these buttons, this page gets a new menu with different buttons. But to make this possible, i have a few lines of code, that i must add to the file (php or html or something like that) where the main menu of the Apiration theme is coded. but my point is: In which file do i need to add this piece of code? I searched almost all the files, but i couldn't find the code of the main menu.
So my question is: which file can i find the code that renders the main menu in the Aspiration Theme?
Thank you in advance!
Kind regards,
J.bond
For faster issue resolution please provide: URL to your website: http://109.70.3.233/~buitenhuis/ Browser version: Firefox 13.0.1 Theme version: Aspiration 1.5
Hi, in this template menu is generated in file ./templates/main-layout.php. Here is the macro for creating menu: {menu 'theme_location' => 'primary', 'container' => 'nav', 'container_class' => 'mainmenu', 'menu_class' => 'menu clearfix' }. For generating menu is used default wordpress function wp_nav_menu http://codex.wordpress.org/Function_Reference/wp_nav_menu