This is the technical support forum for WPML - the multilingual WordPress plugin.
Everyone can read, but only WPML clients can post here. WPML team is replying on the forum 6 days per week, 22 hours per day.
This thread is resolved. Here is a description of the problem and solution.
When creating and editing your theme’s PHP templates, you can list posts by using the get_posts function. By default, this function will return all posts for every language. To return only posts for the current language, you have two options. First is to set the 'suppress_filters' of the get_posts function to false. The second, preferred option is to return posts using the query_posts function instead.
If you choose to use the get_posts function, consider the following code snippet as an example: $args = array( // all your other arguments here 'suppress_filters' => false ); $posts_array = get_posts( $args );