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.
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
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!!
Hi,
Did you need additional help with this topic or shall we close?
Best regards,
Jordan Shannon
Hi Jordan.
You can close. Thanks!