Title: WP REST API Helper
Author: MD. Rabiul Islam Robi
Published: <strong>2020 年 3 月 29 日</strong>
Last modified: 2021 年 3 月 14 日

---

搜尋外掛

![](https://ps.w.org/wp-rest-api-helper/assets/banner-772x250.jpg?rev=2268238)

這個外掛**並未在最新的 3 個 WordPress 主要版本上進行測試**。開發者可能不再對這個
外掛進行維護或提供技術支援，並可能會與更新版本的 WordPress 產生使用上的相容性問題。

![](https://ps.w.org/wp-rest-api-helper/assets/icon.svg?rev=2268238)

# WP REST API Helper

 由 [MD. Rabiul Islam Robi](https://profiles.wordpress.org/rabiulislamrobi/) 開發

[下載](https://downloads.wordpress.org/plugin/wp-rest-api-helper.zip)

 * [詳細資料](https://tw.wordpress.org/plugins/wp-rest-api-helper/#description)
 * [使用者評論](https://tw.wordpress.org/plugins/wp-rest-api-helper/#reviews)
 *  [安裝方式](https://tw.wordpress.org/plugins/wp-rest-api-helper/#installation)
 * [開發資訊](https://tw.wordpress.org/plugins/wp-rest-api-helper/#developers)

 [技術支援](https://wordpress.org/support/plugin/wp-rest-api-helper/)

## 外掛說明

A plugin to help out the default WordPress REST API Data.

### Credits

Please visit my YouTube Channel. I publish WordPress development related videos 
regularly. The channel name is [Robiz Show](https://www.youtube.com/channel/UCxn-5T3PreCovWDUW-iJTVA?view_as=subscriber)

### Features

Post & Pages

Endpoint: 
 http://your-site.com/wp-json/wp/v2/posts  http://your-site.com/wp-json/
wp/v2/pages

 * Get feature image url of a post. [ Full, Large, Medium, Thumbnail ]
 * Get publish date in a human readable format.
 * Get author details which includes user_nicename, user_url.
 * Get post terms object. That includes term id, name, slug, description, parent,
   post count and url.

### Posts

Endpoint: http://your-site.com/wp-json/wp/v2/posts

 * Featured image source stated as  `featured_image_src`  with multiple variations[
   Full, Large, Medium, Thumbnail ].
 * Post published date in more readable format stated as   `published_on`  (e.g:
   Feb 20, 2020)
 * Author details stated as  `author_details`.
 * Post terms stated as  `post_terms` . This contains an array of objects of the
   terms.

### Pages

Endpoint: http://your-site.com/wp-json/wp/v2/pages
 * Featured image source stated
as  `featured_image_src`  with multiple variations [ Full, Large, Medium, thumbnail).

### Menus

Endpoint: http://your-site.com/wp-json/wp/v2/menus
 * Provides full menu list of
a theme based on menu location. object contains parent and its child information.

### Widgets

Endpoint: http://your-site.com/wp-json/wp/v2/widgets
 * Provides the widget area
list associated with the widgets.

### General Info

Endpoint: http://your-site.com/wp-json/wp/v2/general
 * Provides the general information
about the site.

## 安裝方式

This section describes how to install the plugin and get it working.

e.g.

 1. Upload the plugin files to the `/wp-content/plugins/wp-rest-api-helper` directory,
    or install the plugin through the WordPress plugins screen directly.
 2. Activate the plugin through the ‘Plugins’ screen in WordPress
 3. Use the Settings->Plugin Name screen to configure the plugin
 4. (Make your instructions match the desired user flow for activating and installing
    your plugin. Include any steps that might be needed for explanatory purposes)

## 使用者評論

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

### 󠀁[Nice plugin for adding widgets to REST API!](https://wordpress.org/support/topic/nice-plugin-for-adding-widgets-to-rest-api/)󠁿

 [geochanto](https://profiles.wordpress.org/geochanto/) 2021 年 8 月 9 日

Just used this and it saved me a lot of time by adding some of the commonly used
widgets to the REST API, like categories and recent posts. Thanks!

 [ 閱讀全部 1 則使用者評論 ](https://wordpress.org/support/plugin/wp-rest-api-helper/reviews/)

## 參與者及開發者

以下人員參與了開源軟體〈WP REST API Helper〉的開發相關工作。

參與者

 *   [ MD. Rabiul Islam Robi ](https://profiles.wordpress.org/rabiulislamrobi/)

[將〈WP REST API Helper〉外掛本地化為台灣繁體中文版](https://translate.wordpress.org/projects/wp-plugins/wp-rest-api-helper)

### 對開發相關資訊感興趣？

任何人均可[瀏覽程式碼](https://plugins.trac.wordpress.org/browser/wp-rest-api-helper/)、
查看 [SVN 存放庫](https://plugins.svn.wordpress.org/wp-rest-api-helper/)，或透過
[RSS](https://plugins.trac.wordpress.org/log/wp-rest-api-helper/?limit=100&mode=stop_on_copy&format=rss)
訂閱[開發記錄](https://plugins.trac.wordpress.org/log/wp-rest-api-helper/)。

## 變更記錄

Release Version – 1.0.0

 * Initial release.

Release Version – 2.0.0

 * Internal plugin structure changed.

Release Version – 2.0.1

 * Plugin updater added.

Release Version – 2.0.2

 * Permission callback fixed for the REST API.
 * In post author details updated.
 * In page author details updated.
 * In menus type_label & slug updated.

## 中繼資料

 *  版本 **2.0.2**
 *  最後更新 **6 年前**
 *  啟用安裝數 **30+**
 *  WordPress 版本需求 ** 4.7 或更新版本 **
 *  已測試相容的 WordPress 版本 **5.7.19**
 *  PHP 版本需求 ** 7.0 或更新版本 **
 *  語言
 * [English (US)](https://wordpress.org/plugins/wp-rest-api-helper/)
 * 標籤:
 * [api](https://tw.wordpress.org/plugins/tags/api/)[rest](https://tw.wordpress.org/plugins/tags/rest/)
   [rest-api](https://tw.wordpress.org/plugins/tags/rest-api/)
 *  [進階檢視](https://tw.wordpress.org/plugins/wp-rest-api-helper/advanced/)

## 評分

 5 星，滿分為 5 星

 *  [  1 個 5 星使用者評論     ](https://wordpress.org/support/plugin/wp-rest-api-helper/reviews/?filter=5)
 *  [  0 個 4 星使用者評論     ](https://wordpress.org/support/plugin/wp-rest-api-helper/reviews/?filter=4)
 *  [  0 個 3 星使用者評論     ](https://wordpress.org/support/plugin/wp-rest-api-helper/reviews/?filter=3)
 *  [  0 個 2 星使用者評論     ](https://wordpress.org/support/plugin/wp-rest-api-helper/reviews/?filter=2)
 *  [  0 個 1 星使用者評論     ](https://wordpress.org/support/plugin/wp-rest-api-helper/reviews/?filter=1)

[撰寫評分](https://wordpress.org/support/plugin/wp-rest-api-helper/reviews/#new-post)

[查看全部使用者評論](https://wordpress.org/support/plugin/wp-rest-api-helper/reviews/)

## 參與者

 *   [ MD. Rabiul Islam Robi ](https://profiles.wordpress.org/rabiulislamrobi/)

## 技術支援

使用者可在技術支援論壇提出意見反應或使用問題。

 [檢視技術支援論壇](https://wordpress.org/support/plugin/wp-rest-api-helper/)