Adding a menu to template using shortcode
-
Hi there,
I am trying to insert a menu to a template using a shortcode using the following, but it’s just outputting the actual code and not displaying the menu.
<?php echo do_shortcode( ‘[menu name=”about-menu”]’); ?>
Is there another way I can insert a menu into a template?
Thanks
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
The topic ‘Adding a menu to template using shortcode’ is closed to new replies.