offbeatwp/acf-blocks 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

offbeatwp/acf-blocks

最新稳定版本:1.3.1

Composer 安装命令:

composer require offbeatwp/acf-blocks

包简介

Make OffbeatWP components available as Editor blocks

README 文档

README

ACF offers since version 5.8 the possibilty the create blocks. This service makes the OffbeatWP components available as blocks in the Wordpress editor (gutenberg)

Install by running this command from the root of your OffbeatWP Theme:

composer require offbeatwp/acf-blocks

Next add the following line to your config/services.php file:

OffbeatWP\AcfBlocks\Service::class,

Installing the "Block" Component

Run the following command from somewhere in your wordpress installation.

wp acf-blocks:install

Enable component for blocks

Add within the support array in the settings method editor like:

public static function settings()
{
    return [
        ...
        'supports'   => ['editor'],
        ...
    ];
}

统计信息

  • 总下载量: 13.85k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 1
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2019-01-25