• Resolved rafaviana

    (@rafaviana)


    Hi,
    I’m adding the contact form shortcode with a function on my functions.php file. The problem is that the form slider doesn’t work if I do that way, it only work if I add the shortcode into a page or widget.

    Is it possible to do it this way?

    Thanks

Viewing 4 replies - 16 through 19 (of 19 total)
  • Thread Starter rafaviana

    (@rafaviana)

    Sorry, I didn’t understand before.
    Now the slider is showing up, but I can’t skip to the next pages, there are several error on the console, like these ones:

    cf7-grid-layout-public.js:1 Uncaught TypeError: Cannot read property 'slides' of undefined
        at HTMLDivElement.<anonymous> (cf7-grid-layout-public.js:1)
        at HTMLDivElement.dispatch (jquery.js:3)
        at HTMLDivElement.r.handle (jquery.js:3)
        at _window.Glider.gliderPrototype.emit (glider.js:554)
        at glider.js:321
        at HTMLCollection.forEach (<anonymous>)
        at _window.Glider.gliderPrototype.updateControls (glider.js:288)
        at _window.Glider.gliderPrototype.init (glider.js:152)
        at new _window.Glider (glider.js:81)
        at HTMLDivElement.<anonymous> (cf7-grid-layout-public.js:1)
    
    main.js:1 Uncaught Error: Uncaught TypeError: Cannot read property 'slides' of undefined - https://dev.motorline.pt/modules/cf7-grid-layout/public/js/min/cf7-grid-layout-public.js: 1
        at Object.error (main.js:1)
        at m.win.onerror (main.js:1)
        at _window.Glider.gliderPrototype.emit (glider.js:554)
        at glider.js:321
        at HTMLCollection.forEach (<anonymous>)
        at _window.Glider.gliderPrototype.updateControls (glider.js:288)
        at _window.Glider.gliderPrototype.init (glider.js:152)
        at new _window.Glider (glider.js:81)
        at HTMLDivElement.<anonymous> (cf7-grid-layout-public.js:1)
        at Function.each (jquery.js:2)
    Plugin Author Aurovrata Venet

    (@aurovrata)

    is the slider initialised properly? can you list all the errors reported on your console when you first load the form (don’t hit next button to change slides).

    Thread Starter rafaviana

    (@rafaviana)

    Hi,
    There’s might be a cache problem because I tried again and now it works…

    Thank you for your help!

    Plugin Author Aurovrata Venet

    (@aurovrata)

    great, glad you got it to work.

    Do leave a review when you have a moment to spare.

Viewing 4 replies - 16 through 19 (of 19 total)

The topic ‘Multi-step slider doesn’t work with shortcode’ is closed to new replies.