Tab content not displaying
-
Hi,
A strange issue: after adding 3 tabs for a product, I activated reviews, so I get a new tab called “reviews” and its content is showing.
But for other products (all product are manually added, no import), the content of “reviews” is not showing.
Precision, the content of the precedent tab is a shortcode toward a contact form 7 form (which is correctly displayed).
And if I remove this tab (the one with shortcode for content), the content of “reviews” is showing well…I tried the snippet given in a precedent ticket:
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; }
But without success …
Perhaps some has got an idea … I really need this tab with the shortcode, and I would like to use reviews also …
I can give links for visualizing the issue if necessary.Thanks a lot
And take care of you and others.
- The topic ‘Tab content not displaying’ is closed to new replies.