Add-on to WPML to switch off language filters on specific pages.
This plugin is an add-on to the WPML Multilingual CMS plugin from http://wpml.org.
Switches the WPML language filters off for specific pages (URLs).
Makes it possible to mix contents in different languages on specific pages.
Use get_cat_in_all_languages( $cat ) to get a list of translated category IDs in all languages.
Usage example:
$catlist = join( ',', YD_WPMLSwitcher::get_cat_in_all_languages( 'press releases' ) );
query_posts("cat=$catlist");
This will let you display a mixed-language list of posts belonging to a specific category (only operates on pages where WPML filtering is switched off)
Right now WPML is switched of for site root URL / only.
Check the plugin's settings page to switch debug mode on/off.
Original development of this plugin has been paid for by Wellcom. Please visit their site!
Le développement d'origine de ce plugin a été financé par Wellcom. Allez visiter leur site !
If you want to contribute to a translation of this plugin, please drop me a line by e-mail or leave a comment on the plugin's page. You will get credit for your translation in the plugin file and this documentation, as well as a link on this page and on my WordPress developers' blog.
Yann Dubois, Développeur WordPress
Requires: 2.9.1 or higher
Compatible up to: 3.0.5
Last Updated: 2011-2-2
Downloads: 6,611
Got something to say? Need help?