Table of Contents


Lazy Block Edit
First, you need to add block Name, Slug, Icon, Category, Description
- Textarea control named Content
- Select control named Type
- Checkbox control named Dismissible
Select control Choices value:

Then you need to add Code to output your Alert block on frontend:
Or PHP:
For Editor HTML just add {{{content}}} to preview Content control value.
Use in Theme
You can add this PHP code in your theme or plugin to use this Alert block: