Compatibility with Brizy Builder

QuestionsCategory: WordPress ThemesCompatibility with Brizy Builder
Viorel asked 2 years ago

Hi guys,
I’m a dev of the plugin Brizy
There are some users that have an issue using your theme ClubFashion and our plugin. The content built in with our plugin is missing on the frontentd.
This is happening because you have a function that adds a css class(img-fluid) on all images. The function is handled on the hook the_content and on the content is performed a preg_replace which returns null. I think the regex has some issue that’s why the null is returned.
To reproduce this issue you need to install our plugin and the theme and edit a page with brizy builder there add some blocks with multiple images like galleries by clicking on the plus button.
If you can’t reproduce the issue write to me on the email.