wpautop filtering shortcode output
-
I’ve been trying to get this plugin to work on a fresh instance of WordPress using the Storefront theme, and Galleria child theme.
The primary problem is that wpautop is filtering the shortcode’s output, such that there are
<p>
tags wrapping around every line break in the javascript and CSS that my shortcode renders on the page.Here’s an example: https://www.screencast.com/t/SrkiMNJw4kS
I’ve tried editing
woocommerce-products-slider/templates/scripts.php
to remove as much of the line breaks as I could find. It hasn’t gotten rid of the paragraph tags though. Could I be editing the wrong file? I’m 100% sure it’s not from caching.Any help would be appreciated here. Thanks very much!
Regards,
Jeff
- The topic ‘wpautop filtering shortcode output’ is closed to new replies.