Hi everyone and thanks for helping me! I'm trying to add a second menu to my theme but I've ran into an issue that I'm sure is something fairly easy for someone that has a better understanding of PHP than me.
Anyhow, I have successfully added a second menu in the sense that i have the option to build one under 'Appearance/menus' in the back end of the site and it clearly states that my theme now supports 2 menus whereas before it only supported 1. I also have a secondary menu appearing on the front end of my site HERE
I realize that the new menu is completely unstyled and there is another tab style menu that is currently floating off in space... In short, the formatting of my site is currently a mess but please try to ignore all that...
My concern is that the new secondary menu I've created is listing every page on the site as found under 'Pages/All Pages' and in the order currently found there instead of displaying what is currently supposed to be in the new secondary menu according to the one I created under 'Appearance/Menus.'
My suspicion is that the PHP I've put in the functions.php file is somehow not relating to the code I've placed in the header.php file. Please check to see if the code I've placed in these two files is somehow unrelated (as I suspect) which is consequently giving me the option to build a secondary menu in the backend under 'Appearance Menus' but what is currently being displayed in the frontend is actually not the same menu .
by the way, I'm using custom childtheme based on a theme called Skeleton by Simplethemes
Here is the code I've placed in the functions.php file
register_nav_menus( array( 'primary' => __( 'Primary Navigation', 'skeleton' ), 'Secondary' => __( 'Secondary Navigation', 'skeleton' ), ));
Here is the code that is in the header.php file
<?php wp_nav_menu( 'sort_column=menu_order&menu_class=row sixteen columns&theme_location=second-menu' ); ?>
Again, thanks for the help!