• Resolved sbmiles21

    (@sbmiles21)


    Hello,

    I am using Custom Product Tabs for WooCommerce Products. If I use simple woocommerce Product template, the tabs are working and visible in the product page.
    I just now installed Elementor Pro in order to change the Design of each Product page. After changing the design the content is not more visible .

    The Tab name itself is visible on product page(and I can switch between tabs), but not the content.

    I am using:
    -Natural lite Theme
    -Elementor Pro.
    -Woocommerce

    Can somebody help me?

    BR
    ben

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

    (@yikesitskevin)

    Hi Ben,

    Are you seeing the same content for all of your tabs? This is a known issue with some page builder plugins like Elementor.

    We have a fix for it but you’ll need to add some custom code:

    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;
    }

    Let me know if you need any help applying this custom code.

    Cheers,
    Kevin.

    Thread Starter sbmiles21

    (@sbmiles21)

    Hello Kevin,

    I am no expert, but I think I can manage to change the code.In the fuction.php, right?

    I can only see the Description TAB with content: Again the complete product description (price etc.)
    TABS which i created, I can see only the TAB title, not the conent , the content is empty/nothing displayed.

    Can I send you the Link to my side, the you can see my yourself?

    BR
    ben

    Plugin Contributor yikesitskevin

    (@yikesitskevin)

    Hi Ben,

    Yes please send me the link to your site before adding the code. I’d like to see if I can find out what’s going on.

    Thank you,
    Kevin.

    Thread Starter sbmiles21

    (@sbmiles21)

    Thanks a lot ! Thats great. I have just send you via email

    Of course if its fixed, I can post here the solution for other members.

    BR
    ben

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Tab conent not visible, elementor,natural lite theme’ is closed to new replies.