Linux 软件免费装
Banner图

REST API blocks

开发者 spacedmonkey
更新时间 2023年4月21日 04:40
捐献地址: 去捐款
PHP版本: 7.0.0 及以上
WordPress版本: 6.2
版权: GPLv3 or later
版权网址: 版权信息

标签

blocks gutenberg api rest-api wp-json

下载

0.2.2 0.2.4 0.2.6 0.3.0 0.2.1 0.2.5 0.3.1 0.3.2 0.4.0 0.5.0 1.0.0

详情介绍:

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 block_data. An example of output, can be found in the screenshots.

安装:

Using The WordPress Dashboard
  1. Navigate to the 'Add New' in the plugins dashboard
  2. Search for 'wp-rest-blocks'
  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 wp-rest-blocks.zip from your computer
  4. Click 'Install Now'
  5. Activate the plugin in the Plugin dashboard
Using FTP
  1. Download wp-rest-blocks.zip
  2. Extract the wp-rest-blocks directory to your computer
  3. Upload the wp-rest-blocks directory to the /wp-content/plugins/ directory
  4. Activate the plugin in the Plugin dashboard

更新日志:

1.0.0 Breaking change! The field in the REST API is changed from blocks to block_data. 0.5.0 0.4.0 0.3.2 0.3.1 0.3.0 0.2.1 0.2.0 0.1.0