Simply insert shortcode into WordPress menu

Have you ever wanted to insert shortcode into WordPress ? By default, WordPress supports the implementation of shortcodes in posts, widgets (Text widgets, Custom HTML widgets), so inserting shortcodes into these locations is extremely easy. However, the menu is a completely different story. The WordPress menu does not support shortcode. Therefore, to insert shortcode into WordPress menu, we will need the help of the plugin. In this article, I will introduce you to one of such great plugins.

Insert shortcode into WordPress menu

1. First, as usual, you need to install and activate a plugin called Shortcode in Menus ( download ).

2. Next, go to Appearance => Menus . Here, you will see an additional item called Shortcode .

If you don't see this item, click the Screen Options button (upper right corner of the interface) and then tick the Shortcode section .

The other is to insert your shortcode into the box and then click the Add to Menu button . Not only shortcode, this plugin also supports inserting HTML code. So you absolutely can use it to insert images, custom search box (Google Custom Search) ... or whatever you want.
3. In addition, you can also insert shortcodes directly into the Custom Links section if that shortcode has the function of creating links.
Finally, access the website interface and check the results. It is amazing, isn't it? Good luck!
If you have any questions regarding shortcode inserting in WordPress menu, please send in the comment box below for support and answers.

If you like this post, subscribe to my blog to regularly update the latest and greatest posts via email. Thanks very much. :)
About My name is Nguyen Manh Cuong. I was born in a poor village in Ba Vi district, HA NOI province - windy and sunny land. Currently. Mr Cuong.
Newer Posts Newer Posts Older Posts Older Posts


Post a Comment