I have created a slider in Webflow that I am now trying to integrate into a Wordpress homepage. I have exported the Webflow project, copied the HTML elements that contain the slider and have linked the webflow.js file. However, the slider is not getting initiated. The slider works correctly from the original exported HTML page - calling the same webflow.js file.
I have reviewed the webflow.js file and find the structure unlike anything i have ever encountered - so it is a little difficult to debug. The file is loading correctly, as I have placed some alerts in various places to track the flow. The code gets into the first module "Front End Modules" then quits with the following error in the JS console:
Uncaught TypeError: Cannot read property 'tram' of undefined webflow.js:4695 17.../plugins/tram-min webflow.js:14 s webflow.js:16 (anonymous function) webflow.js:1203 7.../plugins/tram-min webflow.js:14 swebflow.js:16 (anonymous function) webflow.js:38 1../webflow-brand webflow.js:14 s webflow.js:22 e webflow.js:24 (anonymous function)
Is there a dependency that is not getting loaded somehow?
What exactly is the require function doing?
Is there a way to force the call to initiate the slider inline?
Any help is appreciated.