Translation in Navigation bar in PRO—like I Had

In X I used public_html/bustersvisionedu.org/wp-content/themes/x-child/framework/views/global/_navbar.php

Then I added in my Child:

function googleTranslateElementInit() { new google.translate.TranslateElement({pageLanguage: 'en', includedLanguages: 'ar,bg,bs,de,en,es,fr,hi,ja,no,pt,tl,vi,zh-TW', layout: google.translate.TranslateElement.InlineLayout.SIMPLE}, 'google_translate_element'); }

It worked great in X. However, it is a different file structure in PRO. Where would this go now?

Maybe here?

/home/bustersvision/public_html/bustersvisionedu.org/dev/wp-content/themes/x/framework/legacy/cranium/headers/views/global/_navbar.php

I got it. I simply added a text eliment in the navbar:

That way it is in the Navbar and is “sticky”.

Glad that you have managed to fix the issue :slight_smile:

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.