Người dùng này không có chủ đề yêu thích nào.
Chủ đề diễn đàn yêu thích
Chủ đề diễn đàn đã tạo
Trạng thái |
Chủ đề
|
Người hỗ trợ | Số người tham gia | Bài viết | Độ mới |
---|---|---|---|---|---|
Problems with language switcher
Được bắt đầu bởi: mathiasA-14
trong: English Support
Problem: The client is experiencing an issue where the language switcher on their website does not direct to the translated page but instead redirects randomly. This problem is due to a conflict with the WPResidence theme's caching method, which incorrectly caches the language switcher links. Solution: 1. As a temporary fix, we recommend adding the following code to the functions.php file of your theme to clear the WPResidence menu transients on each page load, ensuring the menu updates correctly and displays the appropriate language links: /** * Zap every WP Residence menu transient on each page load. * The target string is unique enough that a single LIKE works. */ function cleanup_wpresidence_menu_transients() { global $wpdb; $like = '%' . $wpdb->esc_like( 'wpestate_wpresidence_primary_menu_complete' ) . '%'; $wpdb->query( $wpdb->prepare( "DELETE FROM {$wpdb->options} WHERE option_name LIKE %s", $like ) ); } add_action( 'init', 'cleanup_wpresidence_menu_transients' ); Ensure you perform a full site backup before implementing this code. After adding the code, clear all types of caches to check if the issue persists. If this solution does not resolve your issue or seems irrelevant due to being outdated or not applicable to your case, we highly recommend checking related known issues at WPML Known Issues, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins. If needed, please open a new support ticket at WPML Support Forum for further assistance. |
|
0 | 15 | 3 weeks, 5 days trước | |
Inconsistent Image Duplication When Translating Listings (WPResidence Compatibility Issue)
Được bắt đầu bởi: mathiasA-14 trong: English Support |
|
0 | 4 | 1 months, 1 weeks trước | |
Problem with translated property images using WP Residence
Được bắt đầu bởi: mathiasA-14
trong: Soporte en español
Problema: Si esta solución no resuelve tu problema o parece desactualizada, te recomendamos abrir un nuevo ticket de soporte. También te sugerimos revisar los problemas conocidos en https://wpml.org/known-issues/, verificar la versión del arreglo permanente y confirmar que tienes instaladas las últimas versiones de los temas y plugins. |
|
0 | 3 | 3 months, 2 weeks trước |