• Resolved daysofmylife

    (@humanityexists)


    Hi, the content in the Custom Tab suddenly disappeared and I am not able to create any new tabs from the backend. The content entered for the tabs are still displaying on the product page but not showing on the frontend. I’ve disabled other plugins to check for compatibility, deactivated and re-activated the plugin, added the below code to theme’s function.php and also tried with the add code function plugin, nothing is working.

    Everything was ok yesterday, no new plugins were installed, did not do any coding and I was just thinking of purchasing the premium version when the site goes “live” and this happened. Not sure if I still want to go Premium with you guys at this point if this is not resolved.

    The site is currently under construction scheduled to go “live” on Monday and will need a hosts file to map to an IP address. So its not convenient for me to share the URL with you here. Do you have an email contact where I can private message you?

    Appreciate if you could connect soonest. Thanks

    This is the 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;
    }
    for the content is still not showing.

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Custom Tab Content Suddenly Not Showing’ is closed to new replies.