跳过导航

標籤: 

本主题包含 0 則回覆 ,有 0 声音 。

最后由 adrienR-5 1 weeks, 5 days前 更新。

协助者:: Laura.

作者 文章
28 2 月, 2025 于 9:12 上午 #16759695

adrienR-5

Background of the issue:
I have multiple Meta Box Post fields attached to my User profile. I added 'suppress_filters' as 'true' inside the Query args of the Meta Box Post field to see all posts from all languages.

Symptoms:
I need to modify the query so that it returns only posts from one specific WPML language, for example IT posts for my IT Post field.

Questions:
How can I modify the query to return only IT posts in the Meta Box Post field?