このユーザーにはお気に入りのトピックがありません。
お気に入りのフォーラムトピック
作成したフォーラムトピック
| ステータス |
トピック
|
サポーター | 声 | 投稿 | 新着度 |
|---|---|---|---|---|---|
|
hook wpml_active_languages
開始者:nielsS-9
カテゴリ:English Support
Problem: wpml_active_languages filter to input a custom language switch. However, on the singular page of the custom post type, this filter returns an empty array, preventing the display of the language switch, although the page displays in the correct language when linked from a normal page. 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. |
|
1 | 8 | 3ヶ月、 3週前 | |
|
Custom post query
開始者:nielsS-9
カテゴリ:English Support
Problem: 'lang' => 'all' in WP_Query parameters without success. The issue is that when performing a WP_Query for the custom post type, only records in the default language are shown, filtering out records in other languages. suppress_filters argument in your query. Here's how you can modify your WP_Query: suppress_filters = true to fetch posts from all languages. suppress_filters = false to get posts only in the currently viewed language. Please note that this solution might be outdated or not applicable to your specific case. 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 the issue persists, please open a new support ticket at our support forum. |
|
0 | 2 | 4ヶ月前 |