anonymized-13171256
(@anonymized-13171256)
Odd. Is the site live so I can peek under the hood?
Are the heading and client info blank too or just the testimonial content?
Try editing the testimonials in Text mode (not Visual WYSIWYG) and changing any <div>...</div>‘s to <p>...</p>‘s.
I have only text in the testimonials. The site is not yet live and to view you will need to login. I will email you the info at chris at wpmission dot com with login info.
Thanks,
Eric
anonymized-13171256
(@anonymized-13171256)
In case anyone with a similar issue finds this thread:
This was caused by the Sterling theme running wpautop on the cycle shortcode output which (a) had already put the testimonial content through wpautop and (b) contained HTML comments. wpautop mistakenly wraps HTML comments in <p> tags and the cycle script included those empty paragraphs so they appear as blank slides.
The solution was to remove the HTML comments by adding a filter to the (child) theme’s functions.php like:
add_filter( 'the_content', 'remove_html_comments', 90 );
add_filter( 'widget_text', 'remove_html_comments', 90 );
function remove_html_comments( $content = '' ) {
return preg_replace( '/<!--(.*)-->/Uis', '', $content );
}
I think this was a rare occurrence but it’s still possible with themes that make heavy use of shortcodes and assume that wpautop should be used. Since it’s possible to remove the wpautop filter, it would be nice if themes would check if wpautop is active first.
HTML comments in this context are useful but not important so I’m considering changing the plugin to *not* add them by default with an option to add them if you want.
The true solution is for someone to figure out how to make wpautop ignore HTML comments.