Text

Last update: Edit

1 Introduction

Text is a group of widgets that consists of Text, Paragraph, Headings (H1-H6), and the Page Title. They are used to display textual information to the end-user. For example, you can display a text paragraph:

2 Text, Paragraph, and Headings General Properties

You can use Text, Paragraph, or Heading widgets to display a text to the end-user. In Properties > General, you can type the text that will be displayed, define if it contains attribute values, and set the render mode.

2.1 Content

In Content, you define the text that is shown to end-users. You can also display dynamic data here: attribute values and expression outcomes.

When add attributes, the attribute value is displayed to the user. Choose Add > Attribute or press Ctrl + Space to select an attribute. For example, when the user logs in to the account, a greeting message can be shown, where Name and NumberOfMessages are attribute values:

You can also configure an expression and display the expression outcome (for more information on expressions, see Expressions). Choose Add > Expression Outcome to write an expression. For example, you can show an price excluding VAT and including it:

Content Example Expressions

To edit Content, double-click the widget on the page.

2.2 Render Mode

The render mode defines the way a text will be shown to the end-user. Basically, Text, Paragraph, and Heading widgets are different render modes of the same widget. Possible values of the render mode are described in the table below.

Value Description
Text The text will be rendered inline with the previous/next widgets on a page
Paragraph The text will be rendered as a separate paragraph
H1-H6 The text will be rendered as a heading. H1 is the largest type of the heading, H6 is the smallest one.

3 Page Title General Properties

The page title widget sets the title of the current page and displays it. This title also appears as the page title in your browser tab. The title will be displayed in the H1 style of the Theme Customizer. For details, see Theme Customizer.

If you want to change the name of the page, do the following:

  1. Open Properties of the widget > the General section.
  2. Change a name in the Title field.

The page title is changed.

The Title that you see in the page properties and in widget is one and the same. This means, if you make changes to the title in page properties, this change will be displayed in the widget, and vice versa.

4 Conditional Visibility Section

Conditional visibility allows you to hide a widget from a page unless the certain conditions are met.

For information on the Conditional Visibility section and its properties, see Conditional Visibility Section.

5 Design Section

For information on the Design section and its properties, see Design Section.

6 Read More