Support » Plugin: Custom Product Tabs for WooCommerce » No compatible with Elementor

  • It seems to be not compatible with elementor. whenever I add new tabs and add some content to them, it copies the description content into the new tabs.
    I did troubleshooting but is no way to make it work with elementor. but when I don’t edit my products with elementor, then it works fine. well sort of cause when adding media, it reduces the quality of images quite a lot. Overall not a good plugin.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Contributor yikesitskevin

    (@yikesitskevin)

    Hi @natanleon,

    We have a fix for this issue! This is a known issue with Elementor and some other page builder plugins using the_content filter aggressively.

    This code will fix it:

    add_filter( 'yikes_woo_use_the_content_filter', '__return_false' );
    
    add_filter( 'yikes_woo_filter_main_tab_content', 'yikes_woo_custom_tab_content_filter', 10, 1 );
    
    function yikes_woo_custom_tab_content_filter( $content ) {
    
    	$content = function_exists( 'capital_P_dangit' ) ? capital_P_dangit( $content ) : $content;
    	$content = function_exists( 'wptexturize' ) ? wptexturize( $content ) : $content;
    	$content = function_exists( 'convert_smilies' ) ? convert_smilies( $content ) : $content;
    	$content = function_exists( 'wpautop' ) ? wpautop( $content ) : $content;
    	$content = function_exists( 'shortcode_unautop' ) ? shortcode_unautop( $content ) : $content;
    	$content = function_exists( 'prepend_attachment' ) ? prepend_attachment( $content ) : $content;
    	$content = function_exists( 'wp_make_content_images_responsive' ) ? wp_make_content_images_responsive( $content ) : $content;
    	$content = function_exists( 'do_shortcode' ) ? do_shortcode( $content ) : $content;
    
    	if ( class_exists( 'WP_Embed' ) ) {
    
    		// Deal with URLs
    		$embed = new WP_Embed;
    		$content = method_exists( $embed, 'autoembed' ) ? $embed->autoembed( $content ) : $content;
    	}	
    
    	return $content;
    }

    Also, I’m not sure what you mean that this plugin reduces the quality of images? We use the standard editor and the standard media library; we don’t do anything to your images.

    Please re-consider the 1-star review! A lot of our users have Elementor and are still able to use and enjoy this plugin.

    Cheers,
    Kevin.

    hi @yikesitskevin

    I have this problem as well, the addon tabs no working when I using Elementor~~~~
    how to add those code to fix ?

    THANKS !

    Nick

    Plugin Contributor yikesitskevin

    (@yikesitskevin)

    Hi Nick,

    You should add the above code to your child theme’s functions.php file. If you’re not using a child theme, you can add it to your theme’s functions.php file or by using a plugin like My Custom Functions.

    Cheers,
    Kevin.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘No compatible with Elementor’ is closed to new replies.