themovation / th-widget-pack

Theme Widget Pack
19 stars 6 forks source link

Flex Slider error when using formidable shortcode #88

Closed ryanlabelle closed 7 years ago

ryanlabelle commented 7 years ago

Hi @adiraomj I'm having a heck of a time trying t debug this issue.

If you try putting in a formidable shortcode in the flex slider, it errors. I'll past some screens:

If you get latest, and pull on our slider widget into the preview mode you should get 3 default slides: https://cl.ly/01330F3D0k2G

next, go to slide #3 and update the shortcode so that it uses [formidable id=3] or a form that you created with Formidable https://cl.ly/1G1q2929081n

As soon as that happens, Elementor refreshes and flex slider breaks. https://cl.ly/1f2b2j0H2M1D

It's like it can't find the flexslider function.

The only thing I see that the formidable shortcode is adding is some jquery and css when that shortcode is added (in preview mode)..https://cl.ly/1d3D0k3F210c

Any help would be greatly appreciated.

ryanlabelle commented 7 years ago

In addition to that, Elementor has their slider as well and they don't support shortcodes inside it, so if we can't sort this out, perhaps we try and prevent the formidable shortcode from getting rendered in preview mode... not great but it's an option.

ryanlabelle commented 7 years ago

Solved. Looks like I had SiteOrigin Widgets Bundled active which causes the issue. We are good now.