# Getting Started
Advanced Custom Blocks is a WordPress plugin which allows you to add **extra content blocks** to the new WordPress editor. These extra blocks can allow you to build custom structures of content for use on the posts and pages of your websites.
## Creating a custom block
Getting started with Advanced Custom Blocks is easy. Look for the **Custom Blocks** menu item in your WordPress admin sidebar, then press Add New.
Start by giving your block a name, in the **Enter block name here** field at the top of the screen.
Next, we need to define some settings for your Block in the **Block Properties** section.
- Choose a Category from the list, or create a new one. This is the heading your block will appear under in the WordPress editor's block selector.
- Write a description for your block.
- Give your block some keywords, used when searching for blocks in the WordPress editor's block selector.
The next section lets you define the options that will be presented to users when adding your new Block to their post. These options are known as **Fields**.
Fields are the points of data that could be different each time you use the block. For example, if you were creating a Button block, you would have fields for the button's text, and link URL.
Add a new field by pressing the Add Field button.
- Give your field a Label, which will be displayed next to the input field when adding the block.
- The field Name should auto-populate, but can be customised. This will be used by the block template.
- Choose the control Type for the field. This is the type of input presented to the user when adding the block.
- Depending on the Type, additional options will be available. Refer to the [Field Types](#field-types) section below for more details.
## Displaying custom blocks in your theme
In order for blocks to properly display, you'll need to create an associated HTML template, using the Advanced Custom Blocks API to include field data. These templates are commonly referred to as **Block Templates**.
### The Basics
The Block Template needs to be stored inside a `blocks` directory in your theme, using the slug of your block in the filename. The slug of your block can be seen in the Slug section of the Block editor. The correct format to use is: `block-{block name}.php`.
For example, if your block's slug is `testimonial`, Advanced Custom Blocks would look for the the Block Template file in your theme: `blocks/block-testimonial.php`. Advanced Custom Blocks first checks if the template exists in the child theme, and if not, in the parent theme.
### Block Previews
Sometimes a block's template markup will be too detailed to be properly previewed in the WordPress editor. In this case, you may create a **Preview Template**. This will be used instead of the Block Template while previewing the block in the WordPress editor. Preview Templates should be saved in your theme, as `block/preview-{block name}.php`.
### Example
A Block Template for a testimonial.
Template: `my-custom-theme/blocks/testimonial.php`
```HTML+PHP