Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #1260957

    Hi all.
    I don’t know how to put Prisna Google Website Translator plugin language switcher into Enfold main menu.
    I would like to do via functions.php in child theme not to loose functionality every time I update enfold.
    This options I have:

    – Go to the Appereance > Widgets panel, search for the following widget
    Prisna GWT

    – Or copy and paste the following code into pages, posts, etc…
    [prisna-google-website-translator]

    – Or copy and paste the following code into any page, post or front end PHP file
    <?php echo do_shortcode(‘[prisna-google-website-translator]’); ?>

    Can someone help me?
    TIA.

    • This topic was modified 4 years, 1 month ago by backfolder.
    #1261215

    Hey backfolder,

    Did you try to add the shortcode into an actual menu item, it might work, but I’m not sure. If not then you can try adding it to a widget area in the header: https://kriesi.at/documentation/enfold/header/#adding-a-header-widget-area

    Best regards,
    Rikard

    #1261235

    Hi Ryard! Thanks so much.
    Adding shortcode into menu item didn’t work. But using the second method works very well. Just need to give some adjustment via CSS and voila.
    Again, thank you so much!!

    #1261407

    Hi,

    Did you need additional help with this topic or shall we close?

    Best regards,
    Jordan Shannon

    #1261486

    Hi Jordan.
    You can close. Thanks!

Viewing 5 posts - 1 through 5 (of 5 total)
  • The topic ‘Put Prisna Google Website Translator into main menu’ is closed to new replies.