Title: WP REST API Sidebars
Author: Martin Pettersson
Published: <strong>2016-01-14</strong>
Last modified: 2016-01-14

---

Szukaj wtyczek

Wtyczka **nie została przetestowana z trzema ostatnimi głównymi wydaniami WordPressa**.
Może nie być już utrzymywana lub obsługiwana, co może skutkować problemem ze zgodnością
z nowszymi wersjami WordPressa.

![](https://s.w.org/plugins/geopattern-icon/wp-rest-api-sidebars.svg)

# WP REST API Sidebars

 Autor: [Martin Pettersson](https://profiles.wordpress.org/njetskive/)

[Pobierz](https://downloads.wordpress.org/plugin/wp-rest-api-sidebars.0.1.1.zip)

 * [Szczegóły](https://pl.wordpress.org/plugins/wp-rest-api-sidebars/#description)
 * [Recenzje](https://pl.wordpress.org/plugins/wp-rest-api-sidebars/#reviews)
 *  [Instalacja](https://pl.wordpress.org/plugins/wp-rest-api-sidebars/#installation)
 * [Rozwój](https://pl.wordpress.org/plugins/wp-rest-api-sidebars/#developers)

 [Wsparcie](https://wordpress.org/support/plugin/wp-rest-api-sidebars/)

## Opis

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](https://github.com/martin-pettersson/wp-rest-api-sidebars)
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\">..."
            }
        ]
    }
    ```

## Instalacja

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](https://wordpress.org/plugins/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.

## Recenzje

![](https://secure.gravatar.com/avatar/1cfeb5d44f459bab1846e235a153dbc3efbd9fc9ab4137bc3be58db5fa6ca3f8?
s=60&d=retro&r=g)

### 󠀁[Works great!](https://wordpress.org/support/topic/works-great-2781/)󠁿

 [Quema Labs](https://profiles.wordpress.org/nicoandrade/) 2016-09-03

Using it for a theme and works great!

 [ Przeczytaj 1 recenzje ](https://wordpress.org/support/plugin/wp-rest-api-sidebars/reviews/)

## Kontrybutorzy i deweloperzy

„WP REST API Sidebars” jest oprogramowaniem open source. Poniższe osoby miały wkład
w rozwój wtyczki.

Zaangażowani

 *   [ Martin Pettersson ](https://profiles.wordpress.org/njetskive/)

[Przetłumacz wtyczkę “WP REST API Sidebars” na swój język.](https://translate.wordpress.org/projects/wp-plugins/wp-rest-api-sidebars)

### Interesuje cię rozwój wtyczki?

[Przeglądaj kod](https://plugins.trac.wordpress.org/browser/wp-rest-api-sidebars/),
sprawdź [repozytorium SVN](https://plugins.svn.wordpress.org/wp-rest-api-sidebars/)
lub czytaj [dziennik rozwoju](https://plugins.trac.wordpress.org/log/wp-rest-api-sidebars/)
przez [RSS](https://plugins.trac.wordpress.org/log/wp-rest-api-sidebars/?limit=100&mode=stop_on_copy&format=rss).

## Rejestr zmian

#### 0.1.1

 * Now using a plugin specific endpoint namespace: /wp-rest-api-sidebars/v1
 * Including widgets in the /sidebars/{id} response

## Meta

 *  Wersja **0.1.1**
 *  Ostatnia aktualizacja **10 lat temu**
 *  Włączone instalacje **100+**
 *  Wersja WordPressa ** 4.4 lub nowszej **
 *  Testowano do **4.4.34**
 *  Język
 * [English (US)](https://wordpress.org/plugins/wp-rest-api-sidebars/)
 * Tagi
 * [api](https://pl.wordpress.org/plugins/tags/api/)[JSON](https://pl.wordpress.org/plugins/tags/json/)
   [rest](https://pl.wordpress.org/plugins/tags/rest/)[rest-api](https://pl.wordpress.org/plugins/tags/rest-api/)
   [sidebar](https://pl.wordpress.org/plugins/tags/sidebar/)
 *  [Widok zaawansowany](https://pl.wordpress.org/plugins/wp-rest-api-sidebars/advanced/)

## Oceny

 5 na 5 gwiazdek.

 *  [  1 recenzja 5-gwiazdkowa     ](https://wordpress.org/support/plugin/wp-rest-api-sidebars/reviews/?filter=5)
 *  [  0 recenzji 4-gwiazdkowych     ](https://wordpress.org/support/plugin/wp-rest-api-sidebars/reviews/?filter=4)
 *  [  0 recenzji 3-gwiazdkowych     ](https://wordpress.org/support/plugin/wp-rest-api-sidebars/reviews/?filter=3)
 *  [  0 recenzji 2-gwiazdkowych     ](https://wordpress.org/support/plugin/wp-rest-api-sidebars/reviews/?filter=2)
 *  [  0 recenzji 1-gwiazdkowych     ](https://wordpress.org/support/plugin/wp-rest-api-sidebars/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/wp-rest-api-sidebars/reviews/#new-post)

[Zobacz wszystkierecenzje.](https://wordpress.org/support/plugin/wp-rest-api-sidebars/reviews/)

## Zaangażowani

 *   [ Martin Pettersson ](https://profiles.wordpress.org/njetskive/)

## Wsparcie

Masz coś do dodania? Potrzebujesz pomocy?

 [Zobacz forum wsparcia](https://wordpress.org/support/plugin/wp-rest-api-sidebars/)

## Złóż datek

Czy chcesz wesprzeć rozwój wtyczki?

 [ Wspomóż wtyczkę ](http://example.com/)