PluginWordPress

Plugin Released “REST API Widgets”

Now I trying WP REST API, and I made a plugin that create Widgets using WP REST API. Required Of course the pl […]

広告ここから
広告ここまで

Now I trying WP REST API, and I made a plugin that create Widgets using WP REST API.

WordPress › Rest API Widgets « WordPress Plugins

WordPress › Rest API Widgets « WordPress Plugins

Required

Of course the plugin needs “WP REST API(Version2)”.

If you want to try it, you have to install “WP REST API(Version2)”.

How to install

Search “REST API Widgets”, you can find it.
*

How to Use

If you activate this plugin, you can use some Widgets.
*

New Post List Widget

you can edit widget title

you can edit widget title

show 10 new post

show 10 new post

If you want to change API query, you can use ‘rest-widgets-postlist-query’ filter.

[php]
$api_url = home_url( ‘/’ ). ‘wp-json/wp/v2/posts’;
$api_url = apply_filters( ‘rest-widgets-postlist-query’ , $api_url );
$api_url = esc_url( $api_url );
[/php]
rest-api-widget/class.postlist.php at master · hideokamoto/rest-api-widget

All Comment List Widget

show ten comments that added recently.

show ten comments that added recently.

Comment Form Widget

POST comment to current post

POST comment to current post

In fllowing page,this Widget is hidden.

– TOP
– Archive
– Closed Comment Post

Need Pull Request

hideokamoto/rest-api-widget

ブックマークや限定記事(予定)など

WP Kyotoサポーター募集中

WordPressやフロントエンドアプリのホスティング、Algolia・AWSなどのサービス利用料を支援する「WP Kyotoサポーター」を募集しています。
月額または年額の有料プランを契約すると、ブックマーク機能などのサポーター限定機能がご利用いただけます。

14日間のトライアルも用意しておりますので、「このサイトよく見るな」という方はぜひご検討ください。

広告ここから
広告ここまで

Related Category posts