-
AuthorPosts
-
January 9, 2015 at 6:58 pm #377541
Hi people,
I have a multisite with the main site: http://www.toenvice.com/ and sites in dfferent languages:
http://www.toenvice.com/en/
http://www.toenvice.com/de/How can I link these sites to each other? I would like to create a drop down menu for Enfold. How to do this?
Should I use the main site for a specific language or can the main be left blank?Kind regards, Murat
January 10, 2015 at 6:54 pm #377824Hey MuraTopcu!
You could create links to the sites in your secondary menu in the header. This is going to take a lot of work though I would think.
If you want your site to be truly multi lingual then it would be best to use a plugin such as WPML or QTranslate.
Cheers!
ElliottJanuary 10, 2015 at 10:07 pm #377849Hello Elliot,
thank you very much for your fast response. I really like the Enfold theme and the supoort is great. What would be your suggestion about the layout of a multisite? In the context of a multisite (sub-directories), should I use the main site http://www.toenvice.com/ for German and the subsites for other languages?
I activated the secondary menu: In the header -> extra elements -> header secondary menu -> secondary menu in the top bar at the rigt
For testing purposes, I installed the plugin qTranslate. How can I edit the secondary menu? How put contents to it?
Yours sincerely, Murat
- This reply was modified 9 years, 10 months ago by MuraTopcu.
January 12, 2015 at 6:00 am #378117Hi!
It does’t really matter which language you set as the main site because you can always change it. You need to create a new menu on Appearance > Menus panel then set it as Enfold Secondary Menu. Use this on functions.php to add the language switcher:
add_action('avia_meta_header', 'qtrans_lang_chooser'); function qtrans_lang_chooser() { if (function_exists('qtrans_generateLanguageSelectCode')) { ob_start(); echo qtrans_generateLanguageSelectCode('image'); $output = ob_get_contents(); ob_end_clean(); echo $output; } }
Best regards,
Ismael -
AuthorPosts
- You must be logged in to reply to this topic.