Is it possible to have classes added to body based on language? class="en" etc.
... Besides that, we're also busy adding multilingual support for ...
Useful trick : Add your language attribute as a body class (2 posts). TWD Member
Posted 4 years ... The most popular being WPML. trkaplan. Member Posted 3 ...
I need to change some CSS on a site with 9 different languages. This could either
be ... 2) Adding a class per language to the opening <body> tag. Does anyone ...
I want to add a specific class to the <body> when I switch languages with WPML.
I am using English and German right now, so my goal is to get ...
Sep 11, 2014 ... Specifically, we cover adding body classes, removing bo. ... I always use the
body class to add language parameters when working with WPML, ...
Is there a place where I can add custom css code for only the French elements?
... functions.php theme file) to add the language shortcode to the body classes.
No need anymore to upload them for each language separately, the plugin now .
.... simply add the WPML language ID as a body class: add_filter('body_class', ...
It offers a filter; you can set the language and ignore the constant: function .....
rules, simply add the WPML language ID as a body class: add_filter('body_class',
May 29, 2012 ... ... been designed with multilingual support and adding extra language fields ...
My research in late 2009 showed the WPML plugin as being really ... One of the
really important things WPML does is to create pages which have the language
declaration .... <body class="wordpress page pageid-38 lang-cy">.
Allow viewers to see your site in different languages by using the WordPress
Multilingual ... Upload and activate those plugin zip files in “Plugins” > “Add New“.
... added a body class of “lang-xx” with “xx” being the two character language