Custom Menu on only 1 page, and in certain location
-
Hello
I would like to add a custom menu to each certain page (a menu of a list of cities within each county where we work, added to each county page). I can do this with conditionals, ie with this code – “<?php if (is_page(‘page_slug’)): ?>
<?php wp_nav_menu(‘menu=test’); ?>
<?php endif; ?>” – however this conditional code brings the menu up in the header on the right hand side and messes up the whole page. I would like to add the menu in the secondary sidebar so it looks like a widget. Is this possible?For example, I would like to add a menu with a list of cities in Prince George’s County to this page https://refinancemortgagemaryland.net/refinance-mortgage-prince-georges-county-maryland/ so it looks like the “Maryland Mortgage Refinancing” menu added in the widget at the top right, but I would like my custom menu of cities to show up below the AdSense ad block on the left side.
I hope my rambling post makes sense…Any help and suggestions? Thanks a lot!!
PS..my theme is the education theme, running Genesis framework. Cheers
- The topic ‘Custom Menu on only 1 page, and in certain location’ is closed to new replies.