• Resolved wgroenewold

    (@wgroenewold)


    When we use your plugin it strips the markup of the_content(). It is because you strip it from wpautop with:

    
    add_filter( 'the_content', 'twoj_gallery_remove_autop', 0 );
    function twoj_gallery_remove_autop( $content ){
    	remove_filter('the_content', 'wpautop');
        return $content;
    }

    We patched it with:

    
    remove_filter('the_content', 'twoj_gallery_remove_autop', 0);
    

    But this shouldn’t be necessary. Could you please elaborate why you strip the_content() from wpautop?

    • This topic was modified 6 years, 10 months ago by wgroenewold.
    • This topic was modified 6 years, 10 months ago by wgroenewold.
Viewing 1 replies (of 1 total)
  • Plugin Author 2jgallery

    (@2jgallery)

    Thank you for your comments. We’re really appreciate that you select our gallery plugin.

    We have market this problem and it’s gonna be solved in few next gallery releases. I’m not sure if it’s gonna be next gallery release, but in few next for sure.

Viewing 1 replies (of 1 total)
  • The topic ‘Plugin removes style from content’ is closed to new replies.