Title: Support for WPML
Last modified: August 31, 2016

---

# Support for WPML

 *  [attimo](https://wordpress.org/support/users/attimo/)
 * (@attimo)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/support-for-wpml-2/)
 * Hi,
    if you need to add support for WPML, I think you have to add a parameter
   for get_posts function. Indeed, WP_Query support WPML but get_posts not.
 * I added
 * `'suppress_filters' => false`
 * and now the shortcode shows posts only for each language selected on website.
 * Thanks.
 * [https://wordpress.org/plugins/the-events-calendar-shortcode/](https://wordpress.org/plugins/the-events-calendar-shortcode/)

Viewing 1 replies (of 1 total)

 *  [lgustaw](https://wordpress.org/support/users/lgustaw/)
 * (@lgustaw)
 * [9 years, 10 months ago](https://wordpress.org/support/topic/support-for-wpml-2/#post-7190728)
 * Yehh, I also please to add compatibility with WPML plugin.

Viewing 1 replies (of 1 total)

The topic ‘Support for WPML’ is closed to new replies.

 * ![](https://ps.w.org/the-events-calendar-shortcode/assets/icon-256x256.gif?rev
   =3023752)
 * [The Events Calendar Shortcode & Block](https://wordpress.org/plugins/the-events-calendar-shortcode/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/the-events-calendar-shortcode/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/the-events-calendar-shortcode/)
 * [Active Topics](https://wordpress.org/support/plugin/the-events-calendar-shortcode/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/the-events-calendar-shortcode/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/the-events-calendar-shortcode/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [lgustaw](https://wordpress.org/support/users/lgustaw/)
 * Last activity: [9 years, 10 months ago](https://wordpress.org/support/topic/support-for-wpml-2/#post-7190728)
 * Status: not resolved