定制 baxtian/wp_block 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

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

baxtian/wp_block

最新稳定版本:0.3.30

Composer 安装命令:

composer require baxtian/wp_block

包简介

Class to be inherite to add block requirements.

README 文档

README

Class to be inherited to create a WP block.

Use register_block_type o register a new block.

Use extend_block to extend an existing block.

Declare a render method inside the class to have a render_callback for the created / extended block.

Mantainers

Juan Sebastián Echeverry baxtian.echeverry@gmail.com

Changelog

0.3.30

  • Increase resolution of inline styles in block wrapper.

0.3.29

  • Add get_wrapper_attributes(): injects custom inline styles and removes conflicting has-* classes added by Global Styles.

0.3.27

  • Include supports as attribute.

0.3.26

  • Assets version for development or production.

0.3.25

  • Allow setting blocks to be available on particular post types.

0.3.24

  • Allow blocks to be inserted in site-editor.php

0.3.23

  • [Bug] Prefix does not wor correctly if there isn't a block.js.

0.3.22

  • Include block for dashboard scripts.

0.3.20

  • Set global variables on declaration.

0.3.19

  • Using baxtian/wp_columns.

0.3.17

  • Allow to set post types for plugin block.

0.3.11

  • Allow to add a block that creates a sidebar plugin.

0.3.10

  • Set minimum php verion to 7.4

0.3.9

  • Include if in widgets.

0.3.6

  • Include if in new post.

0.3.5

  • If in administrator, include only if in editor.

0.3.4

  • Use render for extended block only outside the admin.

0.3.3

  • Solve error with repo.

0.3.2

  • Use static values from Merak.

0.3.1

  • Use assets.php only with scripts.

0.3

  • In case of using this class in multiple providers, allow Composer to set which file to use by default.

0.2.16

  • Include initialize in contructor.

0.2.15

  • Add function to optimize block creation with merak.

0.2.11

  • Duplicated separator in prefix.

0.2.10

  • Use directory as prefix for filenames.

0.2.9

  • Use prefix for filenames.

0.2.8

  • Allow to use PHP8.0

0.2.7

  • In case of empty list of global variables.

0.2.6

  • Solve parser warnings.

0.2.4

  • Do not enqueue bootstrap if we are in admin.

0.2.3

  • Set render function correctly in case we are extending the a block.

0.2.2

  • Enqueue styles and scripts in case of a extended block

0.2.1

  • Fixing bugs

0.2

  • Unify script and style for blocks

0.1.6

  • Fix declaration errors

0.1.1

  • Include className into attributes

0.1

  • First stable release

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: GPL-3.0-or-later
  • 更新时间: 2020-02-19

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固