Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter maxgorky

    (@maxgorky)

    I am using OceanWP child theme btw.

    Thread Starter maxgorky

    (@maxgorky)

    Issue resolved:)

    How did this get resolve? for me also it does not show up on product page

    @lotuskind,

    Are you using a page builder? What theme are you using? If you are using a page building you could try to use the following code. This would need to go into your theme or child themes functions.php file or into a plugin like this: https://www.ads-software.com/plugins/my-custom-functions/

    
    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;
    }
    
Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Tab won’t show up on a product page’ is closed to new replies.