Cet utilisateur n'a pas de sujets favoris.
Sujets préférés du forum
Sujets de forum créés
Statut |
Sujet
|
Supporter | Les voix | Articles | Fraîcheur |
---|---|---|---|---|---|
Noindex Tag in translations omitted
1
2
Démarré par: alexZ-17
en: 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 | Il y a 5 jours et 18 heures | ||
A Header from the source of the transaltion was ommited
1
2
Démarré par: alexZ-17
en: 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 | Il y a 2 semaines et 1 jour | ||
Setting a main menu with an FSE theme
Démarré par: alexZ-17
en: English Support
Problem: |
0 | 16 | Il y a 1 mois et 2 semaines | ||
Translation in progress
1
2
Démarré par: alexZ-17
en: 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 | Il y a 1 mois et 2 semaines | ||
Support
Démarré par: alexZ-17
en: 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 | Il y a 1 mois et 2 semaines | ||
Installation
Démarré par: alexZ-17 en: English Support |
1 | 1 |
Il y a 2 mois et 1 semaine
|