How to create 2 versions of all pages and posts on a site?
-
We have a requirement to create 2 versions of a page. So 2 languages. But without using a translate function. The translations are already created, and need fed in through WordPress. So we are looking to create 2 versions of every page. The user then can toggle between each of the 2 languages. Without reloading the page. The URL will remain the same without any kind of filter or subdomain. The existing website already has this feature, but is not WordPress driven. Seems to use a span class for each language. Like below for example:
<h2>
<span class=”en”>English Title</span>
<span class=”fr”>French Title</span>
</h2>Any help greatly appreciated. Thanks.
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘How to create 2 versions of all pages and posts on a site?’ is closed to new replies.