このユーザーにはお気に入りのトピックがありません。
お気に入りのフォーラムトピック
作成したフォーラムトピック
| ステータス |
トピック
|
サポーター | 声 | 投稿 | 新着度 |
|---|---|---|---|---|---|
|
increase account's ATE file size limit for a particular site
1
2
開始者:amandaP-6 カテゴリ:English Support |
|
1 | 27 | 5ヶ月、 4週前 | |
|
File Size Limit Exceeded
開始者:amandaP-6 カテゴリ:English Support |
|
0 | 12 | 7ヶ月、 2週前 | |
|
CPU Usage getting used fully and due to which getting 500 errror
開始者:amandaP-6 カテゴリ:English Support |
|
1 | 6 | 9ヶ月前 | |
|
With dynamically populates an ACF Select field
開始者:amandaP-6
カテゴリ:English Support
Problem: $current_language = apply_filters('wpml_current_language', NULL);Then, use a conditional statement to filter the posts by the language code. Here are two examples of how you can implement this: // Conditional switch statement based on the current language
switch ( $current_language ) {
case 'fr':
// your French post IDs
break;
default:
// Default case for default language post IDs
break;
}or // Conditional logic based on the current language
if ( $current_language === 'fr' ) {
// your French post IDs
} else {
// your English post IDs
}If this solution does not resolve your issue or 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 needed. |
|
0 | 3 | 9ヶ月前 | |
|
Custom post type after translate not opening in elementor
開始者:amandaP-6 カテゴリ:English Support |
|
2 | 4 | 1年、 8ヶ月前 |