Check Your Soliloquy Sliders for Problems with AI
Hidden, broken, empty and unused Soliloquy sliders found in one read-only report.
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.
My WordPress site uses Soliloquy. Check my sliders for problems. Don't change anything. 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 status any, per_page 50 and max_length 100000 (if a response says it was cut, lower per_page and start again). While page is below total_pages, run it again with page raised by 1. Sliders in the trash are not listed. Add up their slide_count: if it is over 300, tell me and ask which sliders to check (up to 300 slides in one run), offering the published ones first, and name the ones not checked in the report. 3. Find every page and post that shows a slider: 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. In each, note every soliloquy shortcode (the Soliloquy block saves one inside it) and its id, in double, single or no quotes, or its slug; for a slug, find its slider in the list from step 2 (a slider's slug is in that list), and if none has it, flag it. 4. Read the sliders' slides 10 sliders at a time, not one call each: rest_api GET /wp/v2/soliloquy with include set to 10 slider ids, per_page 10, status publish,draft,private,pending,future, context edit, _fields id,status,slider_data.slider and max_length 100000. slider_data.slider holds each slider's slides keyed by attachment id, each with attachment_id, status, title and alt (an empty slider comes back as an empty list). If a response says it was cut (truncated), read those sliders fewer at a time; a slider still cut on its own, read alone with rest_api GET /wp/v2/soliloquy/SLIDER_ID with context edit, the same _fields and max_length 4000000, and if even that is cut, say its checks are incomplete. After each read, write down each slider's results in a short list (its attachment ids, which slides have an alt that is empty or the same as the slide's title, which have status pending, whether it is empty) and work from that list, not the raw answers. For each slider, flag: a status other than publish while it is on a published page (visitors see nothing there, with no message); no slides; slides whose alt is empty or the same as their title (Soliloquy uses the title when a photo had no alt text when it was added; the slider keeps its own copy, so it is fixed in the slider's edit screen, not the media library); slides with status pending (visitors don't see them until they are made active in the slider's edit screen); not found on any page or post (it may be unused, or on content this check can't see, such as products, courses, synced patterns or widget areas). 5. Collect every attachment id from all sliders and run rest_api GET /wp/v2/media with include set to them (up to 100 at a time), per_page 100, context edit and _fields id,alt_text. Flag each slide whose id did not come back: its photo was deleted from the media library and the slide shows a broken image; remove it in the slider's edit screen. Flag each slide whose alt differs from its photo's alt_text when alt_text is not empty, and show both: the slider keeps its own copy, so one of them may be out of date (or the slide's was edited on purpose in the slider's edit screen); I choose which to keep, and a slide's alt text is changed in the slider's edit screen. 6. Flag every slider id found on a page or post that is not in the list from step 2: that slider was deleted or is in the trash, and the spot shows nothing to visitors; if I am not an administrator, it may instead be another user's slider this account can't list. 7. Report each slider with its title, status, slide count, where it is shown and its problems, then the pages that show a missing slider, then the single most important thing to fix first. Offer, as a next step after my yes, to publish a slider that is on a published page (soliloquy/update-slider with status publish, which needs Allow AI to edit sliders turned on).
Skip pasting the full prompt. Drop this into your AI on a site that already has WPVibe:
Run the “Check Your Soliloquy Sliders for Problems with AI” recipe from the WPVibe cookbook on my connected site.
Slider problems are quiet. A slider left as a draft (which you still see while signed in) or moved to the trash shows nothing on a live page, a photo deleted from the media library can leave a broken slide, and a slide can have its title as alt text, or keep old alt text after you fixed it in the media library. No message tells you.
The AI lists every Soliloquy slider, reads its slides, and finds every page and post that shows one. It reports sliders that are not published but sit on a published page, slides whose photo no longer exists, empty sliders, slides with missing, placeholder or outdated alt text, slides visitors don’t see, sliders on no page, and pages that show a slider that is gone. It changes nothing.
The check finds sliders placed with the Soliloquy block or shortcode on pages and posts. A slider on a product, a course or other content, in a synced pattern or a widget area, or placed with a page builder widget, a theme template or a template part, isn’t seen, so a slider listed as not on any page may still be in use. To place a slider, use this recipe.
Outcome
A report of what is wrong with your sliders and where, with the first thing to fix, and nothing changed.