
Block Lab Plugin
Saved in the theme in a folder called ‘blocks’
<?php /** * Block Name: Example Block * * This is the block lab template */ ?> <h3><?php block_field( 'title' ); ?></h3> <p><?php block_field( 'description' ); ?></p> <p><?php block_field( 'button-text' ); ?></p> <p><?php block_field( 'button-link' ); ?></p> <p><?php block_field( 'color' ); ?></p>