Shortcode In Menu Item - by rj - on WordPress WooCommerce support

This topic has 6 replies, 3 voices, and was last updated 4 years, 9 months ago ago by Olga Barlow

  • Avatar: FastFormations
    rj
    Participant
    September 25, 2020 at 08:38

    Hi

    How Can I put shortcode in menu item?

    Do I need to make a static block?

    5 Answers
    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    September 25, 2020 at 09:37

    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

    Avatar: FastFormations
    rj
    Participant
    September 25, 2020 at 09:43

    I want to place currency switcher [currency_switcher] in main menu.

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    September 25, 2020 at 10:06

    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

    Avatar: FastFormations
    rj
    Participant
    September 28, 2020 at 11:45

    Hi

    Let me try to explain you.. Please have a look at the image below:

    https://prnt.sc/up7peo

    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

    Please contact administrator
    for this information.
    Avatar: Olga Barlow
    Olga Barlow
    Participant
    September 28, 2020 at 16:11

    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

  • Viewing 6 results - 1 through 6 (of 6 total)

The issue related to '‘Shortcode In Menu Item’' has been successfully resolved, and the topic is now closed for further responses

Helpful Topics

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.