Put a Soliloquy Slider on a Page with AI
A Soliloquy slider you already have, placed on a new draft page or at the end of a draft post.
Prerequisites
A site connected to WPVibe running Soliloquy 2.9.0 or newer (the free Slider by Soliloquy plugin) on WordPress 6.9 or newer, with an administrator account. To publish a draft slider, Allow AI to edit sliders is turned on under Soliloquy, Settings, AI & MCP.
My WordPress site uses Soliloquy. Put my [slider name] slider on [a new draft page called page title, or the end of my draft post or page called title]. 1. Run discover_abilities with category soliloquy. If the Soliloquy abilities are not there, stop and tell me to install the free Slider by Soliloquy plugin or update it to 2.9.0 or newer (it needs WordPress 6.9 or newer). 2. Run soliloquy/list-sliders with search set to words from the slider name, status any and per_page 50. If several match, show them with their status and slide_count and ask which one. If none match, try a single word, then run it without search and show me the list (if total_pages is more than 1, ask whether to read the next page). Sliders in the trash are not listed. If its slide_count is 0, tell me an empty slider shows nothing anywhere and ask whether to go on. 3. Check where it goes before changing anything. For a new page, check for a page with that title: rest_api GET /wp/v2/pages with search set to it, status publish,draft,private,pending,future and _fields id,title,status,link; if one exists, show it and ask whether to make a new one anyway. For a post or page I named: find it with rest_api GET /wp/v2/posts and GET /wp/v2/pages with search set to its title, status draft,pending,publish,private,future and _fields id,title,status,link; if several match, ask. Read the one I mean with rest_api GET /wp/v2/posts/POST_ID (or /wp/v2/pages/POST_ID) with context edit, _fields id,status,content.raw and max_length 4000000. If its status is not draft, change nothing: tell me it is not a draft (live, scheduled, waiting for review or private) and offer a new draft page instead. If content.raw is not empty and has no block comments (wp:), or holds page builder markup such as et_pb_, vc_ or wp:divi/, it was made with the classic editor or a page builder such as Elementor, Divi or WPBakery, which this recipe does not edit: change nothing and tell me to place the slider there myself (with the builder's own element, or the soliloquy shortcode in the classic editor). If content.raw is empty, ask whether it was built with a page builder (some, such as Bricks, Oxygen or Breakdance, keep the layout elsewhere) and go on only if I say no. If content.raw already holds the soliloquy shortcode with this slider's id or slug, change nothing and tell me it is already there. 4. If the slider's status is not publish, tell me its status and that only a published slider shows to visitors, even on a published page (I still see it while signed in, so I should check in a private window); if it is private, tell me publishing shows it to everyone. Find where the slider is shown: run rest_api GET /wp/v2/pages and GET /wp/v2/posts, each with search soliloquy, status publish,draft,private,pending,future, per_page 100 and _fields id (if a full page of 100 comes back, read the next page, and so on; an answer of rest_post_invalid_page_number means there are no more). If there are more than 40 in all, tell me how many and ask before reading them; if I say no, tell me that what you report about where sliders are shown is incomplete. Read their content 10 at a time with rest_api GET /wp/v2/pages (or /wp/v2/posts) with include set to those ids, per_page 10, status publish,draft,private,pending,future, context edit, _fields id,title,status,link,content.raw and max_length 100000. If a response says it was cut (truncated), read those ids fewer at a time; if a post is still cut on its own, read it with rest_api GET /wp/v2/pages/POST_ID (or /wp/v2/posts/POST_ID) with context edit, _fields id,status,content.raw and max_length 4000000. The search also matches the word in ordinary text, so a post may show no slider at all. A post shows the slider when its content has the soliloquy shortcode with id set to SLIDER_ID (in double, single or no quotes; the Soliloquy block saves this shortcode inside it) or with slug set to the slider's slug. This does not see sliders on other content types, such as products or courses, in synced patterns, in a widget area, placed with a page builder widget, or placed by a theme template or template part. Tell me where else it is shown, because those places show it as soon as it is published, then ask whether to publish it. On my yes, run soliloquy/describe-slider-schema; if writes_enabled is false, place it anyway and tell me it shows nothing until I turn on Allow AI to edit sliders under Soliloquy, Settings, AI & MCP and the slider is published (or I publish it in WordPress admin). Otherwise run soliloquy/update-slider with the id and status publish, and nothing else, and confirm the status it returns is publish; if it is future, the slider is scheduled: tell me the date it goes live. On my no, place it anyway and tell me it shows nothing until the slider is published. 5. The slider goes in as a Shortcode block (the block comment wp:shortcode) holding the soliloquy shortcode with id="SLIDER_ID" inside square brackets. For a new page: rest_api_write POST /wp/v2/pages with the title, status draft and that block as content. For the draft from step 3: read it again with rest_api GET /wp/v2/posts/POST_ID (or /wp/v2/pages/POST_ID) with context edit, _fields id,status,content.raw and max_length 4000000. If this answer says it was cut (TRUNCATED), change nothing and tell me. If its status is no longer draft, stop and tell me. Run the content checks from step 3 again on this read. If its content is empty, save the block as its content with rest_api_write POST to that post or page with content only. Otherwise add the block at the end without sending the whole content back: rest_api_write POST /wpvibe/v1/content/edit with target_type post, post_id POST_ID, field post_content, old_content set to the end of the draft copied character for character (its last block comment, a closing one or one that ends with a slash, together with the text just before it), and new_content set to that same text followed by two line breaks and the Shortcode block. If it answers multiple_matches, include more of the text before it; if no_match, copy it again exactly from the read. If the route does not exist (rest_no_route), change nothing and tell me to update the WPVibe plugin. Never save the whole content back. 6. Run rest_api GET on the page or post with context edit, _fields id,status,content.raw and max_length 4000000, and confirm the content holds the shortcode once with the right id and, for an existing draft, that everything in the step 5 read is still there unchanged; if anything changed, tell me at once and that the previous version is under Revisions in the editor. Give me the link to edit it, tell me to reload it first if I have it open in the editor (saving the old copy would remove the slider), and tell me the slider appears when I publish it.
Skip pasting the full prompt. Drop this into your AI on a site that already has WPVibe:
Run the “Put a Soliloquy Slider on a Page with AI” recipe from the WPVibe cookbook on my connected site.
You built a slider in Soliloquy, and now it needs a home: a new page, or the draft post you are writing. That means copying its shortcode or finding its block, and remembering that a slider left as a draft shows nothing, so finished sliders never make it onto the site.
Name the slider and where it goes. The AI finds the slider, tells you if it is empty or still a draft and publishes it only after your yes, and adds it to a new draft page, or at the end of a draft post or page you name, keeping everything already there. It reads the page back so you can check it before you publish.
The AI only changes draft pages and posts. If the one you name is already published, scheduled or waiting for review, it changes nothing there and offers a new draft page instead, so nothing goes live before you look at it. The recipe works with the block editor; with the classic editor or a page builder, it tells you how to place the slider yourself. To make a slider from scratch, use this recipe.
Outcome
The slider sits on a draft page or post, published if you said yes, and shows once you publish that page or post, with the rest of the draft unchanged.