This user has no favorite topics.
Favorite Forum Topics
Forum Topics Created
| Status |
Topic
|
Supporter | Voices | Posts | Freshness |
|---|---|---|---|---|---|
|
increase account's ATE file size limit for a particular site
1
2
Started by: amandaP-6 in: English Support |
|
1 | 27 | 11 months, 3 weeks ago | |
|
File Size Limit Exceeded
Started by: amandaP-6 in: English Support |
|
0 | 12 | 1 year, 1 month ago | |
|
CPU Usage getting used fully and due to which getting 500 errror
Started by: amandaP-6 in: English Support |
|
1 | 6 | 1 year, 2 months ago | |
|
With dynamically populates an ACF Select field
Started by: amandaP-6
in: 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 | 1 year, 2 months ago | |
|
Custom post type after translate not opening in elementor
Started by: amandaP-6 in: English Support |
|
2 | 4 | 2 years, 1 month ago |