• I am attempting to load a Soliloquy slider onto a page via AJAX. I am doing so through the new REST API.

    I’ve got my endpoint setup and responding to requests. The responding function simply calls the shortcode [soliloquy slug="the_slug"]. However, the response is incomplete.

    Whereas the shortcode normally outputs javascript specific for the slider with the HTML, in the REST response, there is no javascript included.

    Unfortunately, the documentation for the API is still pretty sparse – I’m asking questions of the developers there as well. But if anyone can give me some background that might lead to an answer, I’d be like super-happy, man.

Viewing 6 replies - 1 through 6 (of 6 total)
  • Hi Tom ๐Ÿ™‚

    I apologize for the delay, our scripts will not load on a page/post unless there is an actual slider on that page.

    Since you are customizing how the slider is loading on the page, you would need to also call the init action that Soliloquy uses to load all the scripts etc.

    Customizations such as this are outside the scope of support I’m afraid, but if you run into a specific issue – I could always ask the developer to see if he can at least help point you in the right direction.

    Does that help?

    Thread Starter Tom Belknap


    Understood but… your own site gives directions to load Soliloquy sliders through AJAX and that set of directions isn’t working. I think that kinda makes it within the scope of support, yes?

    Thread Starter Tom Belknap


    So, is that a “no?”

    Hi Tom ๐Ÿ™‚

    I apologize for the delay. You are using AJAX which is actually the only thing in common with the docs referenced. Since you are also using REST API – that is what makes it out of scope of support.

    REST is a way to pull in the data from WordPress but it doesn’t pull in the dependancies needed to power the slider (scripts etc).

    I apologize for any trouble Tom!

    Hey Tom,

    I am having a very similar issue. Were you able to get this to work?

    Thread Starter Tom Belknap


    The company I was working for basically loaded the slider twice: once on page load, then again using AJAX. That way, everything was already on the page. Go figure!

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Loading slider via REST API’ is closed to new replies.