✨feature: First build
This commit is contained in:
@@ -1 +1 @@
|
||||
/* {{ BLOCK_NAME }} block styles */
|
||||
/* {{BLOCK_NAME}} block styles */
|
||||
|
||||
@@ -1,15 +1,15 @@
|
||||
<?php
|
||||
/**
|
||||
* Block Name: {{ BLOCK_NAME }}
|
||||
* Block Name: {{BLOCK_NAME}}
|
||||
*
|
||||
* Add a description of your block. Shows up in the block inserter
|
||||
* Add a description of your block. Shows up in the block inserter.
|
||||
*
|
||||
* @package BasicWP
|
||||
*/
|
||||
|
||||
namespace BasicWP;
|
||||
|
||||
$classes = '{{ BLOCK_SLUG }}';
|
||||
$classes = '{{BLOCK_SLUG}}';
|
||||
|
||||
/**
|
||||
* NOTE: DO NOT remove this function call - it is required to avoid editor issues.
|
||||
|
||||
@@ -1,18 +1,20 @@
|
||||
{
|
||||
"name": "acf/{{ BLOCK_SLUG }}",
|
||||
"title": "{{ BLOCK_NAME }}",
|
||||
"description": "",
|
||||
"name": "acf/{{BLOCK_SLUG}}",
|
||||
"title": "{{BLOCK_NAME}}",
|
||||
"description": "Add a description of your block. Shows up in the block inserter.",
|
||||
"style": [
|
||||
"file:./{{ BLOCK_SLUG }}.css"
|
||||
"file:./{{BLOCK_SLUG}}.css"
|
||||
],
|
||||
"category": "vdi-block",
|
||||
"icon": "block-default",
|
||||
"keywords": [
|
||||
"{{ BLOCK_NAME }}"
|
||||
"{{BLOCK_NAME}}"
|
||||
],
|
||||
"acf": {
|
||||
"blockVersion": 3,
|
||||
"autoInlineEditing": true,
|
||||
"mode": "preview",
|
||||
"renderTemplate": "{{ BLOCK_SLUG }}.php"
|
||||
"renderTemplate": "{{BLOCK_SLUG}}.php"
|
||||
},
|
||||
"supports": {
|
||||
"align": true,
|
||||
|
||||
Reference in New Issue
Block a user