Questo utente non ha argomenti preferiti.
Argomenti preferiti del forum
Argomenti del forum creati
| Stato |
Argomento
|
Supporter | Voci | Post | Freschezza |
|---|---|---|---|---|---|
|
increase account's ATE file size limit for a particular site
1
2
Iniziato da: amandaP-6 in: English Support |
|
1 | 27 | 5 mese, 2 settimana fa | |
|
File Size Limit Exceeded
Iniziato da: amandaP-6 in: English Support |
|
0 | 12 | 7 mese fa | |
|
CPU Usage getting used fully and due to which getting 500 errror
Iniziato da: amandaP-6 in: English Support |
|
1 | 6 | 8 mese, 2 settimana fa | |
|
With dynamically populates an ACF Select field
Iniziato da: 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 | 8 mese, 2 settimana fa | |
|
Custom post type after translate not opening in elementor
Iniziato da: amandaP-6 in: English Support |
|
2 | 4 | 1 anno, 7 mese fa | |
|
my msg in wc_add_notice is not getting translated.
Iniziato da: amandaP-6 in: Chat Support |
|
1 | 2 |
1 anno, 8 mese fa
|
|
|
Hook for Enablink code based on the Translation
Iniziato da: amandaP-6 in: Chat Support |
|
1 | 2 |
1 anno, 9 mese fa
|