feat: bootstrap Community Works Collaborative theme from starter

This commit is contained in:
Keith Solomon
2026-05-02 10:14:49 -05:00
commit a21ad94189
152 changed files with 28363 additions and 0 deletions
+26
View File
@@ -0,0 +1,26 @@
{
"name": "acf/boilerplate",
"title": "Block Boilerplate",
"description": "Boilerplate code to create ACF blocks.",
"style": [
"file:./boilerplate.css"
],
"category": "vdi-blocks",
"icon": "block-default",
"keywords": [
"boilerplate"
],
"acf": {
"mode": "preview",
"renderTemplate": "boilerplate.php"
},
"supports": {
"align": true,
"anchor": true,
"color": true,
"html": false,
"jsx": false,
"mode": true,
"multiple": false
}
}
+23
View File
@@ -0,0 +1,23 @@
<?php
/**
* Block Name: Boilerplate
*
* This is the template for building your own custom blocks.
*
* @package BasicWP
*/
namespace BasicWP;
$classes = 'boilerplate';
/**
* NOTE: DO NOT remove this function call - it is required to avoid editor issues.
* $is_preview is a WordPress global when in the editor.
*/
$wrapper = blockWrapperAttributes( $classes, $is_preview );
?>
<section <?php echo wp_kses_post( $wrapper ); ?>>
<!-- Your block code will go here -->
</section>