If you are having a notice about writing the .mo files please read this doc

Hi, Amit here, I am the WPML Support Manager, our current ticket queue is high, update your WPML plugins and make sure you meet the minimal requirements for running WPML before reporting an issue please - many tickets are resolved doing that

Please look at our updated list of Known Issues and you can also use our support search to find helpful information and of course review our documentation before opening a ticket.

If you do need to open a ticket please make sure to provide us with all the needed information as described in this page

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.

Problema: O conteúdo não está sendo carregado corretamente no idioma secundário. Isso parece que tem um problema no SQL.

Solução: O cliente abriu dois tópicos com o mesmo conteúdo. Para evitar dois posts iguais, esse tópico foi fechado e o suporte continuou no tópico original: https://wpml.org/pt-br/forums/topic/problemas-no-sql/

Author Posts
August 2, 2017 at 7:19 pm #1333609

Softexpert software S.A.

Tenho um botão de "Mais" na minha pagina em inglês, porém na minha consulta ele seta a language em Portugues, segue parte da query:

WHERE 1=1 AND ( wp_term_relationships.term_taxonomy_id IN (118) )
AND wp_posts.post_type = 'post'
AND (wp_posts.post_status = 'publish' OR wp_posts.post_status = 'private')
AND ( ( t.language_code = 'pt-br' AND wp_posts.post_type IN ('post','page' ) ) OR wp_posts.post_type NOT IN ('post','page' ) )
GROUP BY wp_posts.ID ORDER BY wp_posts.post_date DESC LIMIT 4

Como faço para mudar isso para ingles?

August 2, 2017 at 8:51 pm #1333675

Bruno
Supporter

Languages: English (English ) Portuguese (Brazil) (Português )

Timezone: America/Sao_Paulo (GMT-03:00)

Olá,

Esse tópico parece que é o mesmo postado aqui: https://wpml.org/pt-br/forums/topic/problemas-no-sql/

Para evitar dois tópicos iguais, eu vou fechar esse e podemos continuar o suporte no outro tópico.

Obrigado.