Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/spacedmonkey/show-widgets-in-rest-api
https://github.com/spacedmonkey/show-widgets-in-rest-api
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/spacedmonkey/show-widgets-in-rest-api
- Owner: spacedmonkey
- License: gpl-3.0
- Created: 2021-11-21T21:32:53.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2021-11-22T14:19:26.000Z (about 3 years ago)
- Last Synced: 2024-10-09T02:41:28.878Z (3 months ago)
- Language: PHP
- Size: 14.6 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.txt
- License: LICENSE
Awesome Lists containing this project
README
=== Show widgets in REST API ===
Contributors: spacedmonkey
Donate link: https://github.com/sponsors/spacedmonkey
Tags: widgets, api, wp-json, rest-api
Requires at least: 5.9
Tested up to: 5.9
Requires PHP: 5.6
Stable tag: 1.0.0
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-3.0.en.htmlShow widgets in REST API.
== Description ==
A simple plugin to add block data in json format into the rest api. Once installed, there will be two new fields added to the rest api, `has_blocks` and `blocks`.
An example of output, can be found in the screenshots.
=== Technical Notes ===
* Requires PHP 5.6+.
* Requires WordPress 5.9+.
* Issues and Pull requests welcome on the GitHub repository: https://github.com/spacedmonkey/show-widgets-in-rest-api== Installation ==
### Using The WordPress Dashboard
1. Navigate to the 'Add New' in the plugins dashboard
2. Search for 'show-widgets-in-rest-api'
3. Click 'Install Now'
4. Activate the plugin on the Plugin dashboard### Uploading in WordPress Dashboard
1. Navigate to the 'Add New' in the plugins dashboard
2. Navigate to the 'Upload' area
3. Select `show-widgets-in-rest-api.zip` from your computer
4. Click 'Install Now'
5. Activate the plugin in the Plugin dashboard### Using FTP
1. Download `show-widgets-in-rest-api.zip`
2. Extract the `show-widgets-in-rest-api` directory to your computer
3. Upload the `show-widgets-in-rest-api` directory to the `/wp-content/plugins/` directory
4. Activate the plugin in the Plugin dashboard== Changelog ==
= 1.0.0 =
* First version.