WPThumbs
Themes Plugins By purpose By industry Best-of lists Fix it guides
Free Plugin by Martin Pettersson v0.1.1

WP REST API Sidebars

An extension for the WP REST API that exposes endpoints for sidebars and widgets.

WP REST API Sidebars

The facts

Rating
5★ from 1
Active installs
100+
Price
Free
Last updated
14 Jan 2016
Added
Jan 2016
Requires WP
4.4
Tested up to
WP 4.4.34
Downloads
73,224

Our analysis

AI-assisted

WP REST API Sidebars is a WordPress plugin that extends the WP REST API by exposing endpoints for managing sidebars and widgets. It allows developers to retrieve a list of registered sidebars and details about specific sidebars, including their associated widgets.

This plugin is aimed at developers who need to interact with sidebars programmatically through the REST API, making it useful for custom themes and applications that require dynamic sidebar management.

Best for: Developers looking to integrate sidebar management into their applications using the WP REST API.

What it does well

  • Exposes endpoints for sidebars and widgets
  • Allows retrieval of sidebar details and associated widgets
  • Free to use and available on WordPress.org

Where it falls short

  • Currently under heavy development with limited features
  • Last updated in January 2016, may not be fully compatible with newer WordPress versions

Verdict

This plugin offers a basic solution for accessing sidebars via the REST API, but its development status and age may limit its usability for current projects.

From the developer

Martin Pettersson's own description of WP REST API Sidebars, lightly tidied.

An extension for the WP REST API that exposes endpoints for sidebars and widgets.

note: this plugin is under heavy development and will receive frequent feature updates (including documentation) so stay tuned and checkout the github repo for the latest updates

Currently supported endpoints

/wp-json/wp-rest-api-sidebars/v1/sidebars returns a list of registered sidebars

[
    {
        "name": "Sidebar Name",
        "id": "sidebar-id",
        "description": "Sidebar description...",
        "class": "sidebar-class",
        "before_widget": "<aside id=\"%1$s\" class=\"widget %2$s\">",
        "after_widget": "<\/aside>",
        "before_title": "<h1 class=\"widget-title\">",
        "after_title": "<\/h1>"
    }
]

/wp-json/wp-rest-api-sidebars/v1/sidebars/{id} returns the given sidebar

{
    "name": "Sidebar Name",
    "id": "sidebar-id",
    "description": "Sidebar description...",
    "class": "sidebar-class",
    "before_widget": "<aside id=\"%1$s\" class=\"widget %2$s\">",
    "after_widget": "<\/aside>",
    "before_title": "<h1 class=\"widget-title\">",
    "after_title": "<\/h1>",
    "rendered": "<aside id=\"widget-id-1\" class=\"widget widget_widget-id\">...",
    "widgets": [
        {
            "name": "Widget Name",
            "id": "widget-name-1",
            "classname": "widget_widget_name",
            "description": "Widget description",
            "rendered": "<aside id=\"widget-names-1\" class=\"widget widget_widget_name\">..."
        }
    ]
}

Read the full description on the official page →

Tagged as

Alternatives

Other plugins for integrating services.

LocoAI

LocoAI

89

LocoAI - Auto Translate For Loco Translate is a powerful tool for developers looking to quickly translate thei...

Free 70k+ installs 4.9★ (637)
Uncanny Automator

The AI + Automation plugin for WordPress. Automate workflows across all your plugins and apps, add an AI agent...

Free 40k+ installs 4.9★ (156)
Open User Map

Create custom interactive maps with free Leaflet-based styles, no Google Maps API key, frontend marker submiss...

Free 10k+ installs 5★ (67)
Activity Log

Monitor every change on your WordPress site — who did what, when, and where it came from — for a complete audi...

Free 200k+ installs 4.3★ (74)
Reviews Feed

No API key required. Display Yelp and Google reviews for any business in a clean, customizable feed on your si...

Free 100k+ installs 4.4★ (34)
Bit integrations

Contact Form, Google Sheet, MailChimp, Brevo, Webhook, Zoho CRM Automation and Integration plugin that Connect...

Free 20k+ installs 4.9★ (160)