WP Advanced Block Theme
Wordpress plugin to manage theme and Gutenberg blocks with JSON specification files.
by Paul Balanche - BuzzBrothers · github.com/paulbalanche/wp-advanced-block-theme · website
★ 0stars
139composer installs
0forks
Install
No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:
wp plugin install https://github.com/paulbalanche/wp-advanced-block-theme/archive/refs/heads/master.zipAlso on Packagist as wpextend/wp-advanced-block-theme:
composer require wpextend/wp-advanced-block-themeFrom the readme
How it works?
Front-end part
Components developed by front-end developer have to be placed inside the theme, under 2 directory level: by default views/components/.\
Each component need to have 2 files: viewspec.json and component\name.twig
Find more information about front-end part
Back-end part
Use WP-CLI command to generate blocks:
wp wpe-blocks generatecomponentblocks
This will generate blocks/custom/ directory with all components.\
You can add an override.json file in order to add or replace some component attributes/configurations.
Theme configuration