Call a navigation menu using a shortcode

Today I came across a weird situation: I needed to place a navigation menu in the content of a page. A shortcode was the obvious solution, but there doesn’t appear to be one built in for menus. I created this one very quickly


Have you built something interesting with WordPress?

Have a great website or product around WordPress that you'd like to show off? In 10 minutes, showcase your awesome website, blog, product to other WordPressers in Pune. 5 more minutes to answer any questions that the audience may have. Collect valuable feedback and useful inputs.