Thank You Block

The Thank You Block is a section designed to express gratitude and display steps or instructions post-interaction. It offers a flexible structure that can accommodate different amounts of steps (either four or seven) and includes customizable heading and text content.


Content Editor Fields

Thank You Heading

  • Field Name: thankyou_heading
    • Type: Text (String)
    • Description: A heading displayed at the top of the Thank You block.

Thank You Text

  • Field Name: thankyou_text
    • Type: WYSIWYG / Rich Text
    • Description: Text that provides additional information or a message of thanks.

Thank You Steps

  • Field Name: thankyou_steps
    • Type: Select (Options: 'four', 'seven')
    • Description: Specifies the number of steps to display (either 4 or 7).

Output Summary

  • If thankyou_steps is set to "four":
    • Displays 4 steps, each numbered sequentially.
  • If thankyou_steps is set to "seven":
    • Displays 7 steps, each numbered sequentially.
  • The thankyou_heading is rendered as an <h3>, and the thankyou_text is displayed as a block of text below it.

Best For

  • Confirmation or acknowledgment messages after form submissions, purchases, or interactions.

Requirements

  • The thankyou_steps field will conditionally display either four or seven steps, depending on the selection.

Preview with image:

thank you block with image

Editor preview:

thank you block ACF