למשתמש זה אין נושאים מועדפים.
נושאי הפורום המועדפים
נושאי הפורום נוצרו
מצב |
נוֹשֵׂא
|
תוֹמֵך | קולות | פוסטים | טְרִיוּת |
---|---|---|---|---|---|
Noindex Tag in translations omitted
1
2
התחיל על ידי: alexZ-17
ב: 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, שבוע 1 | |
A Header from the source of the transaltion was ommited
1
2
התחיל על ידי: alexZ-17
ב: 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, 2 שבועות | |
Setting a main menu with an FSE theme
התחיל על ידי: alexZ-17
ב: English Support
Problem: |
|
0 | 16 | לפני 2 חודשים, 2 שבועות | |
Translation in progress
1
2
התחיל על ידי: alexZ-17
ב: 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 חודשים, 3 שבועות | |
Support
התחיל על ידי: alexZ-17
ב: 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 חודשים, 3 שבועות | |
Installation
התחיל על ידי: alexZ-17 ב: English Support |
|
1 | 1 |
לפני 3 חודשים, 2 שבועות
|