Controls
Text
Text control is used to store a string value for the block. See examples below to use this control.
Control Settings
- Placeholder – the text will be visible when the value is empty
- Characters Limit – limit the maximum number of characters allowed. Leave blank to no limit
Usage
PHP
<p>
Your string is:
<?php echo $attributes['control_name']; ?>
</p>
Handlebars
<p>
Your string is:
{{control_name}}
</p>
Post Meta
<p>
Your string is:
<?php echo get_lzb_meta( 'control_meta_name' ); ?>
</p>