이 플러그인은 최근 3개의 주요 워드프레스 출시와 시험 되지 않았습니다. 워드프레스의 좀 더 최근 버전으로 이용할 때 더 이상 관리되지 않고 지원되지 않고 호환성 문제가 있을 수 있습니다.

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

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)

후기

모든 1 평가 읽기

기여자 & 개발자

“WP REST API Helper”(은)는 오픈 소스 소프트웨어입니다. 다음의 사람들이 이 플러그인에 기여하였습니다.

기여자

자국어로 “WP REST API Helper”(을)를 번역하세요.

개발에 관심이 있으십니까?

코드 탐색하기는, SVN 저장소를 확인하시거나, 개발 기록RSS로 구독하세요.

변경이력

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.