Tag Info

New answers tagged

0

Here's what I've done:created a shortcode where I do [myplugin language="fr" id="5"][myplugin language="us" id="8"] and then, when this page is called, it calls myplugin twice. If it's not on the right page, my plugin returns nothing. So, when this page is called: if it's on a domain like "mydomain.fr" I just call do_shortcode("othershortcode 5") if it's ...


0

Clients are clients, but I suggest that you challenge those requirements. In the end of the day, after you have finished your work, the client is left alone to admin the site. Since for SEO reason the slugs of the posts in english and german will be different there is no trivial translation from one to the other, this means that if not for every url then for ...


1

When a user creates a new page/post/product on one site, use the XML-RPC API to create a matching one on the other site. Make sure to save the ID of the original post under a meta key for the "duplicate" post, and then use the response ID from the API to save the "duplicate" ID under a meta key for the original. You'll now have a post on each site with a ...


0

It might work, but with tons of limitations. Starting from the menus and widgets - setting them to show the correct language will be a big hassle. I tried that approach myself intentionally - in order to write a "Doing it wrong" article - but I failed so quickly that I decided not to waste time anymore.... ... and then it all ended up as ...


0

Starting with Wordpress 4.1 (maybe even earlier, I don't know) this functionality is built-in (no need for a plugin). Simply: Download the language pack of your choice from http://wpcentral.io/internationalization/ extract the content into wp-content/languages (create the languages folder if it does not exist yet) Done! Logon as the editor who needs a ...



Top 50 recent answers are included