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: Place this in functions.php, then use [menu name=”main-menu”] to call the menu … Continue reading Call a navigation menu using a shortcode
Copy and paste this URL into your WordPress site to embed
Copy and paste this code into your site to embed