WP REST API Sidebars
An extension for the WP REST API that exposes endpoints for sidebars and widgets.
Plugin info
Maintenance & Compatibility
Maintenance score
Possibly abandoned • Last updated 3638 days ago • 1 reviews
Is WP REST API Sidebars abandoned?
Possibly abandoned (last update 3638 days ago).
Compatibility
Similar & Alternatives
Explore plugins with similar tags, and compare key metrics like downloads, ratings, updates, support, and WP/PHP compatibility.
Description
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": "
/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": "
Installation
Get the content to the plugin directory and activate the plugin
note: to enable you to use any version/branch of the WP REST API plugin during this rapid development phase there is currently no good way to check if it is active. Therefore make sure that it is before you activate this plugin.
Frequently Asked Questions
Review feed
Works great!
Screenshots
Changelog
0.1.1
- Now using a plugin specific endpoint namespace: /wp-rest-api-sidebars/v1
- Including widgets in the /sidebars/{id} response