Plugin is braking other shortcodes
-
Hi,
There is a problem caused by the plugin, as it moves ‘wpautop’ filter at the end of the processing queue and after all the shortcodes are processed. So the output of the other plugin’s shortcodes is broken by the unwanted
and <p> tags.
The code in question is located at the very bottom of the “adamrob-parallax-scroll/includes/adamrob-parralax-shortcode.php” file:
remove_filter( 'the_content', 'wpautop' );
add_filter( 'the_content', 'wpautop' , 99);
add_filter( 'the_content', 'shortcode_unautop',100 );
Please consider removing these lines and calling the wpautop function directly for the your shortcode output text (like
wpautop( $output);
), if you still want to use it.https://www.ads-software.com/plugins/adamrob-parallax-scroll/
- The topic ‘Plugin is braking other shortcodes’ is closed to new replies.