Writing Your First Block Type

To keep things simple for our first example, let’s create a new block type which displays a styled message in a post. At this point, we won’t allow the user to edit the message. We’ll learn more about editable fields in later sections. Blocks containing static content are implemented entirely in JavaScript using the registerBlockType … Continue reading Writing Your First Block Type