Title: YD WPML Switcher
Author: Yann at WP&amp;Co
Published: <strong>January 2, 2011</strong>
Last modified: February 2, 2011

---

Search plugins

This plugin **hasn’t been tested with the latest 3 major releases of WordPress**.
It may no longer be maintained or supported and may have compatibility issues when
used with more recent versions of WordPress.

![](https://s.w.org/plugins/geopattern-icon/yd-wpml-switcher.svg)

# YD WPML Switcher

 By [Yann at WP&Co](https://profiles.wordpress.org/ydubois/)

[Download](https://downloads.wordpress.org/plugin/yd-wpml-switcher.zip)

 * [Details](https://mri.wordpress.org/plugins/yd-wpml-switcher/#description)
 * [Reviews](https://mri.wordpress.org/plugins/yd-wpml-switcher/#reviews)
 *  [Installation](https://mri.wordpress.org/plugins/yd-wpml-switcher/#installation)
 * [Development](https://mri.wordpress.org/plugins/yd-wpml-switcher/#developers)

 [Support](https://wordpress.org/support/plugin/yd-wpml-switcher/)

## Description

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.

#### multi-language category function

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)

#### Beta version

Right now WPML is switched of for site root URL / only.

Check the plugin’s settings page to switch debug mode on/off.

#### Funding Credits

Original development of this plugin has been paid for by [Wellcom](http://www.wellcom.fr).
Please visit their site!

Le développement d’origine de ce plugin a été financé par [Wellcom](http://www.wellcom.fr).
Allez visiter leur site !

#### Translation

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](http://www.yann.com/en/wp-plugins/yd-wpml-switcher).

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](http://www.yann.com/).

Yann Dubois, [Développeur WordPress](http://www.yann.com/fr/a-propos/developpeur-wordpress)

### Revisions

 * 0.1.0 Original beta version.
 * 0.1.1 Improved beta version.
 * 0.1.2 Improved beta version.
 * 0.1.3 Improved beta version.
 * 0.1.4 Improved beta version.

### Did you like it?

Drop me a line on http://www.yann.com/en/wp-plugins/yd-wpml-switcher

And… _please_ rate this plugin –>

## Installation

 1. Unzip yd-wpml-switcher.zip
 2. Upload the `yd-wpml-switcher` directory and all its contents into the `/wp-content/
    plugins/` directory of your main site
 3. Activate the plugin **on your main site** or **network-wide** through the ‘Plugins’
    menu in WordPress
 4. Use the plugins’s own setting page to select on which pages to deactivate WPML.

For specific installations, some more information might be found on the [YD WPML Switcher plugin support page](http://www.yann.com/en/wp-plugins/yd-wpml-switcher)

## FAQ

  Where should I ask questions?

http://www.yann.com/en/wp-plugins/yd-wpml-switcher

Use comments.

I will answer only on that page so that all users can benefit from the answer.
 
So please come back to see the answer or subscribe to that page’s post comments.

  Puis-je poser des questions et avoir des docs en français ?

Oui, l’auteur est un [Développeur WordPress freelance](http://www.yann.com/fr/a-
propos/developpeur-wordpress Développeur WordPress freelance à Paris) français.
(“
but alors… you are French?”)

## Reviews

There are no reviews for this plugin.

## Contributors & Developers

“YD WPML Switcher” is open source software. The following people have contributed
to this plugin.

Contributors

 *   [ Yann at WP&Co ](https://profiles.wordpress.org/ydubois/)

[Translate “YD WPML Switcher” into your language.](https://translate.wordpress.org/projects/wp-plugins/yd-wpml-switcher)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/yd-wpml-switcher/),
check out the [SVN repository](https://plugins.svn.wordpress.org/yd-wpml-switcher/),
or subscribe to the [development log](https://plugins.trac.wordpress.org/log/yd-wpml-switcher/)
by [RSS](https://plugins.trac.wordpress.org/log/yd-wpml-switcher/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 0.1.0

 * Initial release

#### 0.1.1

 * Bugfix: Better regexp

#### 0.1.2

 * Option page
 * Debug mode
 * Disable backlink in blog footer
 * New template function: get_cat_in_all_languages()
 * Checked WP 3.0.4 compatibility

#### 0.1.3

 * disable get_terms filter
 * disable getarchives filter

#### 0.1.4

 * bugfix (language selection in article admin)

## Meta

 *  Version **0.1.4**
 *  Last updated **15 years ago**
 *  Active installations **10+**
 *  WordPress version ** 2.9.1 or higher **
 *  Tested up to **3.0.5**
 *  Language
 * [English (US)](https://wordpress.org/plugins/yd-wpml-switcher/)
 * Tags
 * [admin](https://mri.wordpress.org/plugins/tags/admin/)[administration](https://mri.wordpress.org/plugins/tags/administration/)
   [automatic](https://mri.wordpress.org/plugins/tags/automatic/)[plugins](https://mri.wordpress.org/plugins/tags/plugins/)
   [wpml](https://mri.wordpress.org/plugins/tags/wpml/)
 *  [Advanced View](https://mri.wordpress.org/plugins/yd-wpml-switcher/advanced/)

## Ratings

No reviews have been submitted yet.

[Your review](https://wordpress.org/support/plugin/yd-wpml-switcher/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/yd-wpml-switcher/reviews/)

## Contributors

 *   [ Yann at WP&Co ](https://profiles.wordpress.org/ydubois/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/yd-wpml-switcher/)

## Donate

Would you like to support the advancement of this plugin?

 [ Donate to this plugin ](http://www.yann.com/)