Hi
How Can I put shortcode in menu item?
Do I need to make a static block?
This topic has 6 replies, 3 voices, and was last updated 4 years, 9 months ago ago by Olga Barlow
Hi
How Can I put shortcode in menu item?
Do I need to make a static block?
Hello,
Please describe the desired result in more detail.
Static blocks can be used in Menu, watch this video – https://youtu.be/f07MBdnFPfk
Do you use WPBakery Page Builder or Elementor? Both editors can be enabled for the content of static blocks.
Regards
I want to place currency switcher [currency_switcher]
in main menu.
Please provide URL and temporary wp-admin access, so we can take a closer look.
Also, provide a screenshot for a better understanding where exactly it should be added. Lightshot Screenshot tool https://app.prntscr.com/en/index.html makes screenshots and generates links then you can provide links of screenshots here via Private Content area – https://prnt.sc/u7vwsg
You can edit header content via Theme Options > Header builder, try to add the shortcode via HTML element there.
Regards
Hi
Let me try to explain you.. Please have a look at the image below:
you gave me option to use HTML block to add currency and language switcher shortcodes but the problem is:
1. I have only 1 HTML block left
2. I can not put animated icons, the style, position and responsiveness will not match with other menu items
3. Same problem if I use widgets
Best way is to add shortcode in menu items
I saw its possible with Megamenu
https://www.megamenu.com/documentation/shortcode-in-menu/
So I’m sure you can also give me some solution like this
Hello,
We don’t have the option to add the shortcode to the menu. You may try to add the connection block your menu + widget area with the currency switcher http://prntscr.com/updv35
Regards
The issue related to '‘Shortcode In Menu Item’' has been successfully resolved, and the topic is now closed for further responses