Documentation

Post Title Block

The Post Title block displays the title of a WordPress post, page, or custom post type. This block is used within Post Template blocks to display post information in query loops.

Adding a Post Title Block

  1. Add aย Query Loop blockย first
  2. Inside the Post Template, click theย “+”ย button
  3. Search forย “Title”ย or find it in theย “Theme”ย category
  4. Click to insert the block

Note: This block only works within Post Template blocks and displays the title from the current post context.

Heading Level

Set the heading level for the post title:

  • H1-H6: Choose from heading levels 1-6
  • Default: H2

Use appropriate heading levels for your email structure.

  • Link to Post: Toggle to make the title a clickable link to the post
  • Open in New Tab: Choose whether the link opens in a new browser tab
  • Link Rel: Set relationship attributes (e.g.,ย nofollow,ย noopener)

Text Alignment

  • Left: Align title to the left
  • Center: Center-align title
  • Right: Align title to the right

Styling Options

  • Colors: Text color, background color, link color
  • Typography: Font size, font family, font weight, line height, letter spacing, text transform, text decoration
  • Spacing: Padding
  • Borders: Border radius, border color, border width, border style

Best Practices

  1. Appropriate Level: Use appropriate heading level (typically H2 or H3)
  2. Link Titles: Consider making titles clickable links to posts
  3. Clear Display: Make post titles easy to read
  4. Consistent Styling: Match styling with other post information blocks

Troubleshooting

Title Not Displaying

  • Verify the block is inside a Post Template block
  • Check that post data is available
  • Ensure the Query Loop block is properly configured
  • Verify “Link to Post” is enabled
  • Check that the post URL is correct
  • Test links in actual email clients

Additional resources

Use the links below for more information and guidance on adding blocks. Keep in mind that these articles are general information related to the WordPress Editor and building with blocks. Email Customizer does not utilize all blocks or functionality due to the limited capabilities of emails.

WordPress Editor