If the pagination controls are not working right
-
Try adding this to your (child) theme’s
functions.php
:/** * Remove HTML comments, except MSIE conditionals, from Strong Testimonials output. */ function my_strong_html( $content ) { $content = preg_replace('/<!--(?!\s*(?:\[if [^\]]+]|<!|>))(?:(?!-->).)*-->/s', '', $content); return $content; } add_filter( 'strong_html', 'my_strong_html', 10, 1 );
Some page builder plugins inadvertently wrap HTML comments in shortcode output in paragraph tags. The pagination script then interprets those extra paragraphs as regular content. This filter removes those comments.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘If the pagination controls are not working right’ is closed to new replies.