Creating a language Link / dissection of a Link
-
Hi everybody,
I am using WPGlobus, a translation-plugin to save two versions of a web site, one in German, one in English.
The plugin by default gives me language switchers and language links, however I would like to create links by myself (with php code) that allow to switch the language.
This should be a fairly easy task for most of you.
On this page:
I would like to display two links:
https://example.com/de/page-one
https://example.com/en/page-oneand on this page:
https://example.com/category/post-oneI would like to get these two links:
https://example.com/de/category/post-one
https://example.com/en/category/post-oneso I would like to insert the /en and /de paths into my hyperlinks.
How can it be done??
Thank you for your support.
F.
- The topic ‘Creating a language Link / dissection of a Link’ is closed to new replies.