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>

Search the site


Address

123 Main Street
Town
City
P05T C0D3

Tel: 01234 567 899

Mob: 01234 567 899

Email: ben@gomopress.com


Copyright 2023. Blah blah blah Company Limited