Title: WP REST API Sidebars
Author: Martin Pettersson
Published: <strong>14 ژانویه 2016</strong>
Last modified: 14 ژانویه 2016

---

جستجوی افزونه‌ها

این افزونه **با ۳ نگارش عمدهٔ اخیر وردپرس آزمایش نشده است**. ممکن است دیگر نگهداری
یا پشتیبانی نشود و هنگام استفاده با نگارش‌های تازه‌تر وردپرس مشکل سازگاری داشته 
باشد.

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

# WP REST API Sidebars

 توسط [Martin Pettersson](https://profiles.wordpress.org/njetskive/)

[دانلود](https://downloads.wordpress.org/plugin/wp-rest-api-sidebars.0.1.1.zip)

 * [جزئیات](https://fa.wordpress.org/plugins/wp-rest-api-sidebars/#description)
 * [نقد و بررسی‌ها](https://fa.wordpress.org/plugins/wp-rest-api-sidebars/#reviews)
 *  [نصب](https://fa.wordpress.org/plugins/wp-rest-api-sidebars/#installation)
 * [توسعه](https://fa.wordpress.org/plugins/wp-rest-api-sidebars/#developers)

 [پشتیبانی](https://wordpress.org/support/plugin/wp-rest-api-sidebars/)

## توضیحات

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\">..."
            }
        ]
    }
    ```

## نصب

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.

## نقد و بررسی‌ها

![](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/) 3 سپتامبر 2016

Using it for a theme and works great!

 [ خواندن تمامی 1 نقد و بررسی‌ ](https://wordpress.org/support/plugin/wp-rest-api-sidebars/reviews/)

## توسعه دهندگان و همکاران

“WP REST API Sidebars” نرم افزار متن باز است. افراد زیر در این افزونه مشارکت کرده‌اند.

مشارکت کنندگان

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

[ترجمه “WP REST API Sidebars” به زبان شما.](https://translate.wordpress.org/projects/wp-plugins/wp-rest-api-sidebars)

### علاقه‌ مند به توسعه هستید؟

[کد را مرور کنید](https://plugins.trac.wordpress.org/browser/wp-rest-api-sidebars/)،
[مخزن SVN](https://plugins.svn.wordpress.org/wp-rest-api-sidebars/) را بررسی کنید،
یا از طریق [RSS](https://plugins.trac.wordpress.org/log/wp-rest-api-sidebars/?limit=100&mode=stop_on_copy&format=rss)
در [گزارش توسعه](https://plugins.trac.wordpress.org/log/wp-rest-api-sidebars/) مشترک
شوید.

## گزارش تغییرات

#### 0.1.1

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

## اطلاعات

 *  نگارش **0.1.1**
 *  آخرین به‌روزرسانی **11 سال پیش**
 *  نصب‌های فعال **100+**
 *  نگارش وردپرس ** 4.4 یا بالاتر **
 *  آزمایش‌شده تا **4.4.34**
 *  زبان
 * [English (US)](https://wordpress.org/plugins/wp-rest-api-sidebars/)
 * برچسب
 * [api](https://fa.wordpress.org/plugins/tags/api/)[JSON](https://fa.wordpress.org/plugins/tags/json/)
   [rest](https://fa.wordpress.org/plugins/tags/rest/)[rest-api](https://fa.wordpress.org/plugins/tags/rest-api/)
   [sidebar](https://fa.wordpress.org/plugins/tags/sidebar/)
 *  [نمایش پیشرفته](https://fa.wordpress.org/plugins/wp-rest-api-sidebars/advanced/)

## امتیازها

 5 از 5 ستاره.

 *  [  امتیاز 1 5-ستاره     ](https://wordpress.org/support/plugin/wp-rest-api-sidebars/reviews/?filter=5)
 *  [  امتیاز 0 4-ستاره     ](https://wordpress.org/support/plugin/wp-rest-api-sidebars/reviews/?filter=4)
 *  [  امتیاز 0 3-ستاره     ](https://wordpress.org/support/plugin/wp-rest-api-sidebars/reviews/?filter=3)
 *  [  امتیاز 0 2-ستاره     ](https://wordpress.org/support/plugin/wp-rest-api-sidebars/reviews/?filter=2)
 *  [  امتیاز 0 1-ستاره     ](https://wordpress.org/support/plugin/wp-rest-api-sidebars/reviews/?filter=1)

[بررسی شما](https://wordpress.org/support/plugin/wp-rest-api-sidebars/reviews/#new-post)

[مشاهدهٔ همهٔ بررسی‌ها](https://wordpress.org/support/plugin/wp-rest-api-sidebars/reviews/)

## مشارکت کنندگان

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

## پشتیبانی

چیزی برای گفتن دارید؟ نیاز به کمک دارید؟

 [مشاهده انجمن پشتیبانی](https://wordpress.org/support/plugin/wp-rest-api-sidebars/)

## کمک مالی

آیا تمایل دارید از پیشرفت این افزونه حمایت کنید؟

 [ کمک مالی به این افزونه ](http://example.com/)