PHP code example of eighteen73 / block-theme-developer
1. Go to this page and download the library: Download eighteen73/block-theme-developer library. Choose the download type require.
2. Extract the ZIP file and open the index.php.
3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
eighteen73 / block-theme-developer example snippets
define( 'BLOCK_THEME_DEVELOPER_MODE', 'file' );
/**
* Title: My Awesome Pattern
* Slug: my-theme/my-awesome-pattern
* Description: A simple paragraph pattern for greetings
* Categories: hero, text
* Keywords: greeting, hello
* Viewport Width: 1200
* Block Types: core/paragraph
* Post Types: post, page
* Template Types: author, 404
* Inserter: true
* Synced: true
*
* @package MyTheme
*/