felixarntz/wp-api-json-feed

Implements JSON feeds following the official JSON feed specification by using the WordPress REST API.

1.1.0 2023-10-21 19:38 UTC

This package is auto-updated.

Last update: 2024-12-05 17:39:12 UTC


README

PHP Unit Testing Codecov Packagist version Packagist license WordPress plugin version WordPress tested version WordPress plugin downloads

WP-API JSON Feed

Implements JSON feeds following the official JSON feed specification by using the WordPress REST API.

Features

  • Adds JSON feeds following the official version 1.1 spec.
  • Adds a JSON feed for posts to the REST API by default (e.g. at /wp-json/feed/v1/posts).
  • Allows adding JSON feeds for other post types by using a show_json_feed argument when registering the post type.
  • Places a link tag to the current feed inside the HTML head tag.
  • Maintains backward compatibility with the previous JSON feed version 1 spec.
  • Contains extensive filters to modify the feed responses as necessary.

Installation and usage

You can download the latest version from the WordPress plugin repository.

Please see the plugin repository instructions for detailed information on installation and usage.

Contributions

If you have ideas to improve the plugin or to solve a bug, feel free to raise an issue or submit a pull request right here on GitHub. Please refer to the contributing guidelines to learn more and get started.

You can also contribute to the plugin by translating it. Simply visit translate.wordpress.org to get started.