Skip to content
No description, website, or topics provided.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
css
dev-lib @ 52874e4
js
php
.coveralls.yml
.david-dev
.gitignore
.gitmodules
.jscsrc
.jshintignore
.jshintrc
.travis.yml
Gruntfile.js
composer.json
contributing.md
instance.php
next-recent-posts-widget.php
package.json
phpcs.xml
readme.md
readme.txt

readme.md

Next Recent Posts Widget

Next-generation Recent Posts widget which fetches posts via the WP REST API and dynamically renders data with JavaScript templates.

Contributors: westonruter, xwp
Requires at least: 4.7.0
Tested up to: 4.9.0
Stable tag: trunk (master)
License: GPLv2 or later
Requires PHP: 5.4

Build Status Coverage Status Built with Grunt devDependency Status

Description

Next-generation Recent Posts widget which fetches posts via the WP REST API, renders then into the widget via JavaScript templates, and provides a JS-driven customizer control via JS Widgets.

This plugin was developed to showcase the Customize REST Resources plugin. Also try the widget with the Customize Posts plugin installed (v0.8.5+) as you'll be able to edit posts in the customizer and see their changes apply live in the widget. Selective refresh is used not to re-render the widget but rather to fetch the rendered fields on the REST API resources used in the widget.

You can’t perform that action at this time.