mcp-easy-ai__wp_list_sidebars
Lists the widget areas (sidebars) of a classic theme — sidebars, footers and other areas the theme registers — with the ids of the widgets in each, in display order. Optional: include_markup (default false) also returns each area's class, before_widget, after_widget, before_title and after_title — the CSS class and the HTML the theme registered to wrap each widget and its title ("" for wp_inactive_widgets). Returns { sidebars: [{ id, name, description, status, widgets: [widget ids] }], total }. status is "active" for an area the theme registers and "inactive" for wp_inactive_widgets (widgets removed from every area but kept with their settings). When the theme has no widget areas — a block theme — returns { sidebars: [], total: 0, hint }: the hint points to wp_list_templates / wp_get_template, because a block theme builds headers and footers from template parts instead. Next steps: wp_list_widgets (settings of each widget), wp_create_widget, wp_update_widget. Requires the edit_theme_options c… Through Royally: its server marks it read-only, so it runs straight away.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| site_id | No | Site to run this tool on: 8ef2e52b-bd07-4671-a363-ebe8b480b65c (https://demo.royalplugins.com) | |
| include_markup | No | Also return each widget area's class, before_widget, after_widget, before_title and after_title (the CSS class and wrapper HTML the theme registered for it). Default false. |