jQuery flexslider is not a function

Hi,

I’m running into some issues when adding a revolution slider to my pages, if I also add another script.
The other scripts always loads in noConflict mode. I’ve turned on that setting for Revolution Slider as well.
wp_enqueue_script( 'tommybooking', '//api.tommybookingsupport.com/widgets/js/widget.js?noConflict=1', array('jquery'), null, true );

I’m still getting an error from cs-body.js saying TypeError: jQuery(...).flexslider is not a function
What would be a probably cause for this?
Is cs-body.js always loading in no-fonclit mode as well?

Hi there,

Thanks for writing in! We do not provide support for 3rd party scripts or plugins. However, you may try following this resource (https://digwp.com/2009/06/including-jquery-in-wordpress-the-right-way/).

Thanks!

Hi,

I do get that, that’s why did asked a simple question:
Is cs-body.js always loading in no-fonclit mode as well?

That would be essential information as the third party is blaming the issue to X/Pro not running in no-conflict mode. I’m not so sure about that and hence the simple question if your product is or is not loading all jQuery in noConflict mode.

Thanks for the link btw :grinning:

Hello There,

Thanks for updating in! Yes the theme supports no conflict mode. Upon inspection, I noticed that you are using the beta version Pro 2.0.0. Please understand that our support only caters the stable Pro 1.2.7. Any concerns relating to the beta version must be forwarded to the beta discussion thread. Kindly create another thread in the beta forum so that our developers may respond to you directly.
https://theme.co/apex/forum/c/themeco/beta

Thank you for your understanding.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.