---
title: "Shortcodes/Blocks"
canonical: "https://maestrel-resource-center.refined.site/space/HD/34767281/Shortcodes%2FBlocks"
format: markdown
---
> Macro (excerpt)
> 
> HBook shortcodes & blocks – add search form, booking form, calendar or rates table using Gutenberg or shortcode in Maestrel’s WordPress plugin.

To display HBook elements on a page, as a search form, a booking form, an availability calendar, a rate table or a list of accommodation, you can use:

- **blocks **with Gutenberg editor
- **shortcodes** with any other editor or page builder

You can display these HBook elements anywhere on your website : in a page, a post, a widget, a sidebar...

## Gutenberg Blocks

If you use the Gutenberg editor blocks, you will easily find all HBook blocks by typing “HBook” in the search for blocks :

![blocks.png](media://c908082f-0b8d-400a-92ff-c9b95da2381d)

## Shortcodes

If you prefer to use the shortcodes, you will write them in the content of a post/page/widget. For example :

![classic.png](media://516ebfa5-56f8-4fbe-ad27-18b3164e375e)

> ℹ️ Note that the shortcodes have slightly more parameters than the settings of the Gutenberg blocks. If you use Gutenberg editor but wish to use more parameters than the ones shown for the block settings, you should then use a **Shortcode** block and write the shortcode with its parameters.

## Available shortcodes and blocks

> Macro (contentbylabel)