Rollback (or forward) any WordPress.org plugin or theme like a boss.
About Shortcode in Menus
This plugin allows you to add shortcodes and HTML sections to your WordPress navigation menus, making it easy to generate dynamic links. It also includes a tutorial and thanks to some users who helped with bug fixes.Screenshots








Frequently asked questions
What does this plugin do?
Allows you to add shortcodes in WordPress Navigation Menus so that you can generate links dynamically. Also allows you to add full fledged HTML sections to navigation menus.
Where can I see the screenshots?
You can see the screenshots by clicking on the link labeled 'screenshots'.
Is there a tutorial available?
Yes, there is a tutorial available. You can find it by clicking on the link labeled 'great tutorial'.
Who created the tutorial?
The tutorial was created by Aurovrata Venet.
Are there any special thanks?
Yes, special thanks to Aurovrata Venet, Lee Willis, Dennis Hunink, and @hbwarper for their contributions.
Changelog
3.5.1
- Change plugin constants to follow naming conventions as recommended by WordPress Guidelines.
- Strict input filters for admin pages, for user input values.
- Adhere to more strict PHPCS ruleset.
3.5
- Resolved some WPCS compatibility issues.
- Added resource version for static resources for busting cache in new releases.
- Added text domain to localisable text strings.
- Loading the custom JS in footer instead of header for performance benefit.
- Handle PHP notice in custom cases when start_el is not passed with $item object.
3.4
- Escaping of output within a lot of functions.
- Made the code WordPress PHPCS Compatible.
- Patch to make it work with Max Mega Menu plugin.
3.3
- Fixed a compatibility issue with Twenty Fifteen theme.
- Minified JS.
- Conditional loading of admin class for performance improvement.
- Some more code refactoring.
- Testing with WordPress 4.8.1
- Changed minimum required WordPress version from 3.5 to 3.6
3.2
- Code Refactoring.
- Changed tested upto.
- Corrected links in description.
3.1
- Fixed the bug with clean_url filters as reported by Lee Willis
- Made the code translation ready.
3.0
- Removed the error trigger on the FULL HTML OUTPUT usage.
- Added the feature to use shortcodes in titles of menu items as well(works with all types of menu items).
- Resolved the PHP Notice, popping up in the error log while adding new shortcodes.
2.1
- Bug fix for custom links with ShortCode like structure not being displayed in the nav menus.
2.0
- Added new Shortcode box to Menu Editor.
- Added html support.
- Deprecated Links box basis.
- Added screenshots.
- Updated readme and instructions.
1.2
- Added ability to echo complete HTML output instead of just URL by using ShortCode.
1.1
- Tested with WordPress 4.0
1.0
- Added prefix to function which was conflicting with another plugin.
0.1
- Initial Plugin uploaded.