Skip to content

xwp/wp-next-recent-posts-widget

Repository files navigation

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.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published