Title Component
#Title Component
Since version 2.1.0, PrettyBlocks offers a component that optimizes the editing of your title tags (H1 to H6) to improve the SEO structure of your themes.
#Usage
-
Register a
title
type field in your block: Title field -
Insert the following code in your template:
1{prettyblocks_title block=$block field="title"}-
$block
: the parent block (required) -
field
: name of the field to edit (must be of type "title")
-
-
You can then modify your title markup directly from the PrettyBlocks interface:

The available markup options are:
- h1
- h2
- h3
- h4
- h5
- h6
- span
- p
This feature allows you to easily adjust your title hierarchy for better SEO structure, while maintaining the flexibility to use non-title tags like span
or p
if needed.