wpextend / wp-advanced-block-theme
1.6.1
2023-09-21 15:48 UTC
Requires
- php: >=7.4
- timber/timber: ^1.19
- dev-master
- 1.6.1
- 1.6.0
- 1.5.91
- 1.5.9
- 1.5.8
- 1.5.6
- 1.5.5
- 1.5.4
- 1.5.3
- 1.5.2
- 1.5.1
- 1.5.0
- 1.4.93
- 1.4.92
- 1.4.91
- 1.4.9
- 1.4.8
- 1.4.7
- 1.4.6
- 1.4.5
- 1.4.4
- 1.4.3
- 1.4.2
- 1.4.1
- 1.4.0
- 1.3.9
- 1.3.8
- 1.3.7
- 1.3.6
- 1.3.5
- 1.3.4
- 1.3.3
- 1.3.2
- 1.3.1
- 1.3.0
- 1.2.9
- 1.2.8
- 1.2.7
- 1.2.6
- 1.2.5
- 1.2.4
- 1.2.3
- 1.2.0
- 1.1.8
- 1.1.7
- 1.1.6
- 1.1.5
- 1.1.3
- 1.1.2
- 1.1.1
- 1.0.0
- dev-feature/refactoring
- dev-feature/react18
- dev-feature/new_start_from_olive_updates
- dev-feature/look-and-feel
- dev-develop
This package is auto-updated.
Last update: 2024-09-20 18:03:18 UTC
README
前端部分
由前端开发者开发的功能组件必须放置在主题内部,在2级目录下:默认为 views/components/。
每个组件都需要两个文件: viewspec.json 和 component_name.twig
> 更多关于前端部分的信息
后端部分
使用WP-CLI命令生成块
wp wpe-blocks generate_component_blocks
这将生成包含所有组件的 blocks/custom/ 目录。
您可以通过添加一个 override.json 文件来添加或替换某些组件的属性/配置。