Support » Fixing WordPress » Shortcode support for custom menus in WordPress 3.0?
6 years, 8 months ago
Anyone know if WordPress 3.0 supports embedding shortcodes for the custom menus on pages and posts?
6 years, 6 months ago
I was just searching for this myself. As it turns out, I don’t think WordPress has a native shortcode for including custom menus inside post content.
However, a quick Google search had me stumble into this:
See if it helps. 🙂
Thanks Alhadis. I figured it out. You have to add this line of code to your functions.php file to get the shortcodes to work on the sidebars:
add_filter (‘widget_text’, ‘do_shortcode’);