Loading slider via REST API
-
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.
- The topic ‘Loading slider via REST API’ is closed to new replies.