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 |
---|---|---|---|---|---|
Noindex Tag in translations omitted
1
2
Bắt đầu bởi: alexZ-17
tRONG: English Support
Problem: .../wp-content/plugins/header-footer-code-manager/99robots-header-footer-code-manager.php file. Look for line 550 Replace: case 's_pages': $is_not_empty_s_pages = self::hfcm_not_empty( $scriptdata, 's_pages' ); if ( $is_not_empty_s_pages ) { // Gets the page ID of the blog page $blog_page = get_option( 'page_for_posts' ); // Checks if the blog page is present in the array of selected pages if ( in_array( $blog_page, json_decode( $scriptdata->s_pages ) ) ) { if ( is_page( json_decode( $scriptdata->s_pages ) ) || (!is_front_page() && is_home()) ) { $out = self::hfcm_render_snippet( $scriptdata ); } } elseif ( is_page( json_decode( $scriptdata->s_pages ) ) ) { $out = self::hfcm_render_snippet( $scriptdata ); } } break; With: case 's_pages': $is_not_empty_s_pages = self::hfcm_not_empty( $scriptdata, 's_pages' ); if ( $is_not_empty_s_pages ) { // WPML workaround for compsupp-7802 $original_ids = json_decode( $scriptdata->s_pages); foreach ( $original_ids as $original_id ) { $translated_ids[] = apply_filters( 'wpml_object_id', $original_id, 'page'); } // Gets the page ID of the blog page $blog_page = get_option( 'page_for_posts' ); // Checks if the blog page is present in the array of selected pages if ( in_array( $blog_page, json_decode( $scriptdata->s_pages ) ) ) { if ( is_page( $translated_ids ) || (!is_front_page() && is_home()) ) { $out = self::hfcm_render_snippet( $scriptdata ); } } elseif ( is_page( $translated_ids ) ) { $out = self::hfcm_render_snippet( $scriptdata ); } } break; This modification ensures that the noindex tag is applied to translated pages as well. If this solution does not resolve your issue or seems outdated, please check the related known issues and confirm that you have installed the latest versions of themes and plugins. If necessary, do not hesitate to open a new support ticket. |
|
1 | 17 | 1 months, 1 weeks trước | |
A Header from the source of the transaltion was ommited
1
2
Bắt đầu bởi: alexZ-17
tRONG: English Support
Problem: If this solution does not resolve your issue or 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 further assistance is needed, please open a new support ticket at WPML support forum. |
|
1 | 21 | 1 months, 2 weeks trước | |
Setting a main menu with an FSE theme
Bắt đầu bởi: alexZ-17
tRONG: English Support
Problem: |
|
0 | 16 | 2 months, 2 weeks trước | |
Translation in progress
1
2
Bắt đầu bởi: alexZ-17
tRONG: English Support
Problem: 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 the issue persists, please open a new support ticket at WPML support forum for further assistance. |
|
0 | 16 | 2 months, 3 weeks trước | |
Support
Bắt đầu bởi: alexZ-17
tRONG: English Support
Problem: 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 the issue persists, feel free to open a new support ticket at WPML Support Forum. |
|
2 | 34 | 2 months, 3 weeks trước | |
Installation
Bắt đầu bởi: alexZ-17 tRONG: English Support |
|
1 | 1 |
3 months, 2 weeks trước
|