This user has no favorite topics.
Favorite Forum Topics
Forum Topics Created
| Status |
Topic
|
Supporter | Voices | Posts | Freshness |
|---|---|---|---|---|---|
|
Page redirected too many times
1
2
Started by: siew-funC
in: English Support
Problem: For the translation issue on the Events page, we suggested making a small change on the original Events page and then completing the translations. Additionally, our compatibility team provided a code snippet to address further issues with WPML on the Events page. The client should add the following code at the end of the file located at wp-content/plugins/wp-event-manager/external/wpml.php :
// wpmltriage-4054
add_filter( 'wpem_wpml_current_language', function( $empty_value ) {
return apply_filters( 'wpml_current_language', null );
} );
add_filter( 'wpem_wpml_object_id', function( $element_id, $element_type, $return_original_if_missing = false, $language_code = null ) {
return apply_filters( 'wpml_object_id', $element_id, $element_type, $return_original_if_missing, $language_code );
}, 10, 4 );
add_action( 'wpem_wpml_switch_language', function( $language_code ) {
do_action( 'wpml_switch_language', $language_code );
} );If these solutions do not resolve the issue or seem 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 the problem persists, please open a new support ticket. |
|
1 | 28 | 1 week, 6 days ago | |
|
Website URL changed and can’t find migration code
Started by: siew-funC
in: English Support
Problem: 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 you still need assistance, please open a new support ticket at WPML support forum. |
|
0 | 13 | 2 months, 1 week ago |