Shortcode Not Working – wpautop breaking
This is a little out of my technical depth, but I’ve been having issues displaying a Vimeography Pro gallery, and the plugin author told me the following (see below). I’m not sure how to fix it, though, as I can’t find the code to which he’s referring.
Thanks for your help!
The solution is to move the wpautop filter so that it’s run before the do_shortcode filter. Your theme possibly has the code shown below somewhere, a good place to start looking is the functions.php file then any shortcode related file, find this code and remove it.
remove_filter( ‘the_content’, ‘wpautop’ ); add_filter( ‘the_content’, ‘wpautop’ , 99 ); add_filter( ‘the_content’, ‘shortcode_unautop’, 100 );
You must be logged in to reply to this topic.