freuxdesbois
Forum Replies Created
-
Thanks to your message,
I found the culprit, I’m using Codesigner for the Woocommerce Cart, the shortcode [woocommerce_cart] works fineHi @alina98
Here the screenshot of the settings :and here the screenshot of the cart :
This is just a staging site, but here are the links :
https://malescot.eenov-test.xyz/produit/bonbons-au-miel-peche-verveine/
https://malescot.eenov-test.xyz/produit/coffret-delices-de-noel/Forum: Plugins
In reply to: [File Manager Pro - Filester] Allow All filetype UploadHello Alina,
Thanks for the answer, I had hopes there were a shortcut, but I’ll go with this solutionForum: Plugins
In reply to: [Elementor Custom Skin] Post Title Character LimitSame spirit as @mjhay, I’m trying to find a way, but no results with ECS.
I tried something like this in functions.php :
<pre><code>add_filter( 'get_the_excerpt', function( $excerpt, $post ) { if ( has_excerpt( $post ) ) { $excerpt_length = apply_filters( 'excerpt_length', 25 ); $excerpt_more = apply_filters( 'excerpt_more', ' ' . '[…]' ); $excerpt = wp_trim_words( $excerpt, $excerpt_length, $excerpt_more ); } return $excerpt; }, PHP_INT_MAX, 2 ); </code></pre>
It works with the standard ‘posts’ widget from Elementor, but not ECS loop.
I wonder if this lines in ele-custom-skin/skins/skin-custom.php would help :
// Add a custom skin for the POSTS widget add_action( 'elementor/widget/posts/skins_init', function( $widget ) { $widget->add_skin( new Skin_Posts_ECS( $widget ) ); } ); // Add a custom skin for the POST Archive widget add_action( 'elementor/widget/archive-posts/skins_init', function( $widget ) { $widget->add_skin( new Skin_Archive_ECS( $widget ) ); } );
- This reply was modified 3 years, 3 months ago by freuxdesbois.
Ok, same issue as @abonosir with a bonus :
https://snipboard.io/qbi43P.jpgSo, I checked this
public static function is_connected() { $helper_options = get_option( 'woocommerce_helper_data', array() ); if ( array_key_exists( 'auth', $helper_options ) && ! empty( $helper_options['auth'] ) ) { return true; } return false; }
VS
public static function get( $key, $default = false ) { $options = get_option( self::$option_name, array() ); if ( array_key_exists( $key, $options ) ) { return $options[ $key ]; } return $default; }
It seems that the ‘woocommerce_helper_data’ returned false through get_option().
So, I checked in my database the option_name ‘woocommerce_helper_data’ and it appeared that the email part in the serialized array was changed. ( Because of a replace-all occurences of hostname to the new one ).Maybe this can help you too ? ( checking your option_name in DB )
Thanks for the answer, you’re right, when I use autowidth (now it works, but i can’t figure why, maybe cache issue ?) , the responsive part is broken. But I just wanted an infinite slider with lightbox capabilities, and your plugin was perfect for that ??
(PS : I didn’t touch your php file, just overrided the function slide_anything_shortcode)