Admin
Content Model
Create a custom block in Purple Hub
12min
purple hub purple hub summary the document provides step by step instructions for creating a custom block on purple hub, adjusting alignment and adding a new field group on acf, creating a new field in a form, and creating a custom block in wordpress screenshots and visual references are included throughout the guide once the block is created, it can be added to article content preconditions have an admin role in purple hub how to guide 1\ go to your purple hub and click on 'custom block types' click on 'custom block types' 2\ click on 'add row' click on 'add row' 3\ in the newly added row, in the column 'unique name identifier' enter a name for your block e g "test quote" enter a name for your block 4\ in the column 'title' enter a title for your block e g "test quote" enter a title for your block 5\ in the column 'category' enter the category for your block e g "sprylab" 6\ in the column 'mode' select your preferred mode for the block to be displayed e g 'preview' select your preferred mode for the block to be displayed 7\ in the column 'align' select your preferred alignment for the block to be displayed e g 'center' 8\ in the column 'align text' select your preferred alignment for the text in the block to be displayed e g 'left' select your preferred alignment for the text in the block to be displayed 9\ click on 'update' click on 'update' 10\ click on 'acf' in the main menu click on 'acf' in the main menu 11\ click on 'field groups' click on 'field groups' 12\ click on 'add new' click on 'add new' 13\ next to 'add new field group' type a name for your field group in the text field e g "test quote" type a name for your field group in the text field 14\ click on 'add field' click on 'add field' 15\ below 'field label' enter the desired label for the field e g "test quote" enter the desired label for the field 16\ below 'field type' select your desired field type from the dropdown, e g 'text' select your desired field type from the dropdown 17\ go to 'settings' > 'rules' and below 'show this field group if' select 'block' from the dropdown 18\ in the field right next to it, select 'is equal to' from the dropdown 19\ in the field right next to it, select 'test quote' from the dropdown 20\ click on 'save changes' click on 'save changes' 21\ in the left hand side menu bar, click on 'purple feed' click on 'purple feed' 22\ click on 'articles' click on 'articles' 23\ click on 'add article' click on 'articles' 24\ click on '+' (toggle block inserter) click on '+' 25\ in the search field, type the name of the block you've just created, e g 'test' type the name of the block you've just created 26\ as soon as your block appears, you can drag and drop it into your article drag and drop the block into your article 27\ you can now use your customized block in your article content