이 사용자는 즐겨찾는 주제가 없습니다.
즐겨찾는 포럼 주제
생성한 포럼 주제
| 상태 |
주제
|
지원자 | 의견 | 게시물 | 최신 활동 |
|---|---|---|---|---|---|
|
Refund request – Critical issues after implementation
시작: santiagoS-18 카테고리: English Support |
|
1 | 7 | 2 주, 3 일 전에 | |
|
Yoast SEO not detecting transition words in posts
1
2
시작: santiagoS-18
카테고리: English Support
Problem: If this solution does not apply to your case, or if it seems outdated, we highly recommend checking related known issues at https://wpml.org/known-issues/, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins. If issues persist, please open a new support ticket at our support forum. |
|
0 | 29 | 1 월, 1 주 전에 | |
|
Need to query posts in multiple languages with WPGraphQL
시작: santiagoS-18
카테고리: English Support
Problem: You are building a multilingual WordPress site using WPML with WPGraphQL and the wp-graphql-wpml bridge plugin, and you want to fetch posts in multiple languages in a single GraphQL query. However, the current schema only accepts a single language value and does not support arrays or a language_in parameter. Solution: Currently, the WPGraphQL + WPML setup only allows fetching posts in one language at a time. As a workaround, we recommend running separate queries for each language in one request or a single query to list all posts. Here are two examples you can try:
query {
posts {
nodes {
id
title
uri
date
content
language {
code
}
}
}
}
Or
query {
enPosts: posts(where: { language: EN }) {
nodes {
id
title
language {
code
}
}
}
ptPosts: posts(where: { language: PT }) {
nodes {
id
title
language {
code
}
}
}
esPosts: posts(where: { language: ES }) {
nodes {
id
title
language {
code
}
}
}
}
For more details, refer to our documentation on querying specific posts at https://wpml.org/documentation/related-projects/wpml-graphql/#querying-specific-posts. If this solution does not apply to your case, or if it seems outdated, please check related known issues at https://wpml.org/known-issues/, verify the version of the permanent fix, and confirm that you have installed the latest versions of themes and plugins. We highly recommend opening a new support ticket if you need further assistance. You can do so at https://wpml.org/forums/forum/english-support/. |
|
0 | 3 | 3 월, 2 주 전에 |