Người dùng này không có chủ đề yêu thích.
Chủ đề diễn đàn yêu thích
Chủ đề diễn đàn đã được tạo
Trạng thái |
Đề tài
|
Người ủng hộ | Tiếng nói | Bài viết | Độ tươi |
---|---|---|---|---|---|
WP-CLI works only with main languages Posts
1
2
Bắt đầu bởi: Dimitri
tRONG: English Support
Problem: --suppress_filters=true which allows the command to work across all languages. --url="https://yourwebsite.com/en" to force WP-CLI to work in the language based on the URL. Additionally, our 2nd Tier Support suggests modifying the code in wp-content/plugins/sitepress-multilingual-cms/classes/query-filtering/wpml-query-filter.class.php . Replace the existing posts_where_filter function with the following code to include a condition that checks for the 'lang' parameter in the query: public function posts_where_filter( $where, $query ) { if ( $query === null || $this->where_filter_active( $query ) === false ) { return $where; } $requested_id = isset( $_REQUEST['attachment_id'] ) && $_REQUEST['attachment_id'] ? $_REQUEST['attachment_id'] : false; $requested_id = isset( $_REQUEST['post_id'] ) && $_REQUEST['post_id'] ? $_REQUEST['post_id'] : $requested_id; $requested_id = (int) $requested_id; $default_language = $this->sitepress->get_default_language(); $post_language = $this->post_translations->get_element_lang_code( $requested_id ); if (isset($query->query["lang"])) { $post_language = $query->query["lang"]; $requested_id = "1"; //hack needed because then $current_language will not get the $post_language, but will call for get_current_language } $current_language = $requested_id && $post_language ? $post_language : $this->sitepress->get_current_language(); $condition = $current_language === 'all' ? $this->all_langs_where() : $this->specific_lang_where( $current_language, $default_language ); $where .= $condition; return $where; } Please note that this solution might be outdated or not applicable to your specific case. 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 these solutions do not resolve your issue, please open a new support ticket at WPML support forum. |
2 | 19 | 2 weeks, 4 days trước | ||
Gravity Fomrs Multilingual issue with filter “gform_review_page”
Bắt đầu bởi: Dimitri tRONG: English Support |
2 | 7 | 3 weeks, 2 days trước | ||
Shortcode {all_fields} do not translate answers in notification email
Bắt đầu bởi: Dimitri tRONG: English Support |
3 | 13 | 8 months, 2 weeks trước | ||
WPML chat support ticket by Dimitri – 1709808141
Bắt đầu bởi: Dimitri tRONG: English Support |
1 | 1 |
8 months, 3 weeks trước
|
||
Canot update WPML & Manual downloads failed
Bắt đầu bởi: Dimitri tRONG: English Support |
1 | 2 | 1 years, 2 months trước | ||
WPML-all-import – Search exisiting image not works for multilingual
1
2
Bắt đầu bởi: Dimitri
tRONG: English Support
Problem: Solution: If this solution becomes irrelevant due to updates or does not apply to your case, we recommend opening a new support ticket. We also 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. For further assistance, please visit our support forum at WPML support forum. |
2 | 19 | 1 years, 4 months trước | ||
WPML pugins & wp_delete_attachment do not delete files on disk
Bắt đầu bởi: Dimitri tRONG: English Support |
3 | 9 | 1 years, 4 months trước | ||
WPForms multilingual 0.3.0 cause Fatal error after submiting a form
1
2
Bắt đầu bởi: Dimitri tRONG: English Support |
3 | 27 | 1 years, 8 months trước | ||
Error logs PHP Deprecated with obsolete functions in LanguageSwitcher . php file
Bắt đầu bởi: Dimitri tRONG: English Support |
2 | 2 | 1 years, 9 months trước | ||
Multiple times the same city in wpresidence catalog
Bắt đầu bởi: Dimitri tRONG: English Support |
1 | 2 | 2 years, 5 months trước | ||
Question about WPML All Import
Bắt đầu bởi: Dimitri tRONG: English Support |
2 | 7 | 4 years, 7 months trước |