Compatible theme
WP Advanced Block Theme needs a compatible theme
Back-end part
# Theme specification file
Your theme has to have a JSON specification file which describes some behaviours used by "WP Advanced Block Theme" plugin.
View available properties
Front-end part
# Front-end code
PHP Constant: THEME_FRONT_END_RELATIVE_PATH
Your theme has to have a specific front-end directory.
# Frontspec (optionnal)
PHP Constant: THEME_FRONTSPEC_JSON_FILENAME
The front-end code inside your theme has to have its frontpec file, which works with the previous Theme specification file.
# Front-end views
PHP Constant: THEME_VIEW_ROOT_LOCATION
"WP Advanced Block Theme" plugin uses Twig Template Engine to render content. The front-end code inside your theme has to support Twig, and has to contain a sub-directory with views. Each view is a sub-directory with:
.twig file
viewspec JSON file
# Front-end components use as Gutenberg Block
PHP Constant: COMPONENTS_RELATIVE_PATH
The front-end code inside your theme has to support Twig, and has to contain a sub-directory with views, and sub-directories for each components used as Gutenberg Block.
Last updated