benoitfouc
Forum Replies Created
-
Hello everyone. I have the same deprecated issues using php 8.1
please can you fix that ?
regards
We are working on it, please take a look to this topic.
Sure ! There is the markup when Photon is activated :
<img fetchpriority="high" decoding="async" class="img-with-animation JetpackCDNDisable skip-lazy" data-delay="0" height="468" width="1870" data-animation="none" src="https://boutique.nature-partage.com/wp-content/uploads/2024/03/Banniere-principal-pour-decouvrir-nos-complements-alimentaires-.png" alt="Bannière principal pour découvrir nos compléments alimentaires" srcset="https://boutique.nature-partage.com/wp-content/uploads/2024/03/Banniere-principal-pour-decouvrir-nos-complements-alimentaires-.png 1870w, https://boutique.nature-partage.com/wp-content/uploads/2024/03/Banniere-principal-pour-decouvrir-nos-complements-alimentaires--300x75.png 300w, https://boutique.nature-partage.com/wp-content/uploads/2024/03/Banniere-principal-pour-decouvrir-nos-complements-alimentaires--1024x256.png 1024w, https://boutique.nature-partage.com/wp-content/uploads/2024/03/Banniere-principal-pour-decouvrir-nos-complements-alimentaires--768x192.png 768w, https://boutique.nature-partage.com/wp-content/uploads/2024/03/Banniere-principal-pour-decouvrir-nos-complements-alimentaires--1536x384.png 1536w, https://boutique.nature-partage.com/wp-content/uploads/2024/03/Banniere-principal-pour-decouvrir-nos-complements-alimentaires--600x150.png 600w, https://boutique.nature-partage.com/wp-content/uploads/2024/03/Banniere-principal-pour-decouvrir-nos-complements-alimentaires--80x20.png 80w" sizes="(max-width: 1080px) 100vw, 1080px">
And now where he is disable :
<img fetchpriority="high" decoding="async" class="img-with-animation JetpackCDNDisable skip-lazy" data-delay="0" height="468" width="1870" data-animation="none" src="https://boutique.nature-partage.com/wp-content/uploads/2024/03/Banniere-principal-pour-decouvrir-nos-complements-alimentaires-.png" alt="Bannière principal pour découvrir nos compléments alimentaires" srcset="https://boutique.nature-partage.com/wp-content/uploads/2024/03/Banniere-principal-pour-decouvrir-nos-complements-alimentaires-.png 1870w, https://boutique.nature-partage.com/wp-content/uploads/2024/03/Banniere-principal-pour-decouvrir-nos-complements-alimentaires--300x75.png 300w, https://boutique.nature-partage.com/wp-content/uploads/2024/03/Banniere-principal-pour-decouvrir-nos-complements-alimentaires--1024x256.png 1024w, https://boutique.nature-partage.com/wp-content/uploads/2024/03/Banniere-principal-pour-decouvrir-nos-complements-alimentaires--768x192.png 768w, https://boutique.nature-partage.com/wp-content/uploads/2024/03/Banniere-principal-pour-decouvrir-nos-complements-alimentaires--1536x384.png 1536w, https://boutique.nature-partage.com/wp-content/uploads/2024/03/Banniere-principal-pour-decouvrir-nos-complements-alimentaires--600x150.png 600w, https://boutique.nature-partage.com/wp-content/uploads/2024/03/Banniere-principal-pour-decouvrir-nos-complements-alimentaires--80x20.png 80w" sizes="(max-width: 1870px) 100vw, 1870px">
If needed, i can give you an access to my stagging website.
regards
- This reply was modified 11 months, 3 weeks ago by benoitfouc.
- This reply was modified 11 months, 3 weeks ago by benoitfouc.
Let me know if you find a solution about reducing the size of this file please
regards
Hello there, i’m using the premium version of WP Fastest Cache. it does a great work ! But not for this font file ??
Hi Jeremy, sure ! I’m using WPBackery (edited by Salient) and the element is Single image :
(i try to change many times the “image size” option, but that change nothing)
[vc_row type="full_width_content" full_screen_row_position="middle" column_margin="none" column_direction="default" column_direction_tablet="default" column_direction_phone="default" scene_position="center" top_padding="25" top_padding_tablet="25" top_padding_phone="25" text_color="dark" text_align="left" row_border_radius="none" row_border_radius_applies="bg" overflow="visible" overlay_strength="0.3" gradient_direction="left_to_right" shape_divider_position="bottom" bg_image_animation="none" gradient_type="default" shape_type=""][vc_column column_padding="no-extra-padding" column_padding_tablet="inherit" column_padding_phone="inherit" column_padding_position="all" column_element_direction_desktop="default" column_element_spacing="default" desktop_text_alignment="default" tablet_text_alignment="default" phone_text_alignment="default" background_color_opacity="1" background_hover_color_opacity="1" column_backdrop_filter="none" column_shadow="none" column_border_radius="none" column_link_target="_self" column_position="default" gradient_direction="left_to_right" overlay_strength="0.3" width="1/1" tablet_width_inherit="default" animation_type="default" bg_image_animation="none" border_type="simple" column_border_width="none" column_border_style="solid"][image_with_animation image_url="125083" image_size="large_featured" animation_type="entrance" animation="None" animation_movement_type="transform_y" hover_animation="none" alignment="center" border_radius="none" box_shadow="none" image_loading="skip-lazy-load" max_width="none" max_width_mobile="125%" img_link="https://boutique.nature-partage.com/categorie-produit/complements-alimentaires/" el_class="JetpackCDNDisable"][/vc_column][/vc_row]
regards
- This reply was modified 11 months, 3 weeks ago by benoitfouc.
Forum: Plugins
In reply to: [Yoast SEO] SERP : wrong meta description homepageHello, yes this page is indexed since maybe 6 years. I’m using search console yes.
So there is no way to change this one ? Because Google take a content who is very down on the page, it’s not pertinentCould you try adding this extra code as well?
Hello again, thank you very much for responding. Unfortunately this extract don’t changes anything: : https://boutique.nature-partage.com/
The image is correctly exclude of the CDN, thank to the first snippet, but still loaded in the wrong size as long as the Jetpack CDN feature is enabled.
regards
- This reply was modified 11 months, 3 weeks ago by benoitfouc.
Bonjour Jeremy, merci pour votre retour !
Alors le premier code fonctionne, il exclut bien l’image du CDN, la faisant ainsi charger directement sur le serveur de mon site. CEPENDANT il applique quand même une réduction des dimensions de l’image, faisant charger cette image là : https://boutique.nature-partage.com/wp-content/uploads/2024/03/Banniere-principal-pour-decouvrir-nos-complements-alimentaires–1536×384.png (plus de CDN MAIS mauvaises dimensions). Donc l’image reste floue / pas nette.
Si je désactive la fonctionnalité CDN de Jetpack, alors l’image sera correctement chargée aux bonnes dimensions. Pour info, j’utilise le thème Salient.
J’en viens donc à votre second code, qui à lui seul, permet à la fois de charger l’image aux dimensions souhaitées mais aussi de continuer d’appliquer le CDN (pour des meilleures performances). Cependant, je crains que ce code ait des répercussions sur les autres images.
Est-il possible de conditionner ce code à s’exécuter que pour cette image ?
Et quel est le fonctionnement global de ce crochet ?
Bonne journéeHello there, sorry for the delay…
I apply this snipet on the functions.php file of my theme but that it’s not working :
function my_photon_exception( $val, $src, $tag ) { if ( $src == 'https://boutique.nature-partage.com/wp-content/uploads/2024/03/Banniere-principal-pour-decouvrir-nos-complements-alimentaires-.png' ) { return true; } return $val; } add_filter( 'jetpack_photon_skip_image', 'my_photon_exception', 10, 3 );
i want to exclude ONLY the first top full image of the homepage of the CDN, not all others images on the page :
This image change every months, so i put a classname = “JetpackCDNDisable” so, if a way exist to EXCLUDE from CDN images whith this classname, i’m realy interested. i try this one but it’s not working too :
function my_photon_exception( $val, $src, $tag ) { // On vérifie si le mot "Banniere" est présent dans la variable $src if ( strpos( $src, 'Banniere' ) !== false ) { return true; } return $val; } add_filter( 'jetpack_photon_skip_image', 'my_photon_exception', 10, 3 );
Please can you help me ?
regards
- This reply was modified 12 months ago by benoitfouc.
Forum: Plugins
In reply to: [Jetpack - WP Security, Backup, Speed, & Growth] wp_jetpack_sync_queueSame issue in my websites
regards
Forum: Plugins
In reply to: [TG Product Quantity Plus Minus Button] Plugin broken since last updateHello there, i made a fix by myself using this code on my functions.php’s theme file :
add_action( 'woocommerce_after_single_product', 'hide_qty_buttons', 30 ); function hide_qty_buttons() { global $product; // Si le produit a une seule quantité en stock ou peut être acheté un par un if ( $product->get_stock_quantity() == 1 || !$product->backorders_allowed()) { ?> <style> .tgqb-qty-updater { display: none !important; } </style> <?php } } add_action( 'woocommerce_after_cart', 'hide_qty_buttons_cart', 10 ); function hide_qty_buttons_cart() { ?> <style> .woocommerce-cart .tgqb-qty-updater { display: none !important; } </style> <?php }
regards
Forum: Plugins
In reply to: [TG Product Quantity Plus Minus Button] Plugin broken since last updateHello Asif, first thank you very much for replying.
I was able to activate again the plugin on his new location thank you.
About the main problem, is there a way to his buttons on product who have only 1 quantity stock AND for product limited to 1 per order ?Exemple of product in stock : https://dev.trot.naturepartage.com/produits-entretien-et-cirages/boite-de-cirage-noir (all is ok)
Example of product with only 1 in stock : https://dev.trot.naturepartage.com/produits-entretien-et-cirages/brillance-cuir (input quantity is hidden but not the buttons + and -)
Example of product limited to 1 per order : https://dev.trot.naturepartage.com/semelles/enfant/semelles-fraicheur-enfant-multi-tailles (input quantity is hidden but not the buttons + and -)
regards
- This reply was modified 1 year ago by benoitfouc.
Hello everyone, yes the issue was that :
Explaination (french) of WPML support :
Problème :
Si vous tentez d’analyser les plugins “WooCommerce” et “Coming Soon Page” via l’outil d’analyse des modifications des traductions des plugins dans “String translation” et que vous rencontrez un problème de chargement sans fin avec un nombre de fichiers négatifs, cela peut être d? à un bug WordPress lié à la collation mixte dans la table de cha?nes WPML.
Solution :
Pour résoudre ce problème, suivez ces étapes :
1. Mettez à jour le classement (collation) de la base de données vers utf8mb4_unicode_ci, qui est le classement recommandé pour les tables.
2. Assurez-vous d’avoir un backup complet de votre base de données avant de procéder.
3. Exécutez les requêtes suivantes pour mettre à jour la collation des colonnes concernées dans la tablewp_icl_strings
:1
ALTER TABLE
wp_icl_strings
CHANGEcontext
context
VARCHAR(160) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL, CHANGEname
name
VARCHAR(160) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL, CHANGEdomain_name_context_md5
domain_name_context_md5
VARCHAR(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL;4. Essayez à nouveau de scanner les fichiers .mo de WooCommerce.
hello there, looking to your screenshot you are on the wrong website.
please check this link : https://dev.trot.naturepartage.com/semelles
regards