Shortcode in Menus
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.
See the screenshots.
Also, see a great tutorial by Aurovrata Venet
Special Thanks To
Add the plugin’s folder in the WordPress’ plugin directory.
Activate the plugin.
You can now add ShortCodes in the custom links of the menus.
To test this, you can add a custom link with a ShortCode [gs_test_shortcode] as link, if it points to https://wordpress.org, plugin is working
If you want to use a ShortCode that outputs not just the url, but complete HTML sections, please make use of the title ‘FULL HTML OUTPUT’ for that link and it will output the complete HTML without breaking your site.