Skip to main content

The Data Picker

The Data Picker is a visual tool for inserting dynamic data into your content without writing a single expression. You search for the data you want, pick it, and Unblock writes the matching {{ … }} for you.

No syntax required

Everything the Data Picker builds is a normal expression. You never have to type a dot, a pipe, or a brace. And the moment you want to, hand-written expressions and picked ones are completely interchangeable.

Opening the Data Picker

Select any Unblock block that can hold text (Paragraph, Heading, Text, and so on), then click the data button in the block toolbar. A searchable popover titled Dynamic Data opens with your cursor in the search box.

The button appears only on text-bearing blocks. Structural wrappers like Section, Container, and Div hold other blocks rather than text, so they have no data button.

The Data Picker open below the block toolbar, titled Dynamic Data, with the search field focused and the Data and Functions groups listed

What you can insert

The picker groups everything you can reach:

  • Data covers the providers like Post, User, and Site.
  • Loops give the current item inside a Loop block.
  • Variables are the values you defined with Variable blocks.
  • Functions are helpers like get_post, date, or min that you insert as a call.
  • Value is a literal text, number, or true / false.

Insert a field

The everyday task, showing a piece of data, takes three steps and no syntax:

  1. Open the picker.
  2. Type what you're looking for, e.g. title. The list narrows and Post Title rises to the top.
  3. Click it (or press Enter) to add it to the preview.
  4. Click Insert (or press Enter again), and Unblock drops {{ post.title }} at your cursor.

What you pick: Post Title What gets inserted: {{ post.title }}

The Data Picker with Title selected, the preview showing post.title and the Insert button enabled

Some data contains more data. A post's author is a user, and its featured image is an image. Those rows show a chevron (›) and can be opened:

  1. Type authorAuthor appears with a ›.
  2. Click it → the breadcrumb reads post / author and the list swaps to the author's own fields.
  3. Pick Display Name{{ post.author.display_name }}.

The Data Picker drilled into the author, the breadcrumb reading Post / Author with the author fields listed

You can keep drilling as deep as the data goes.

Transform or combine: Filters & Operators

To do more than show a raw value, click + to open Filters & Operators:

The Data Picker with the + pressed and the Filters & Operators list open, the preview reading post.title | upper after applying the Uppercase filter

  • Filters transform a value, like upper to capitalize, truncate to shorten, or date to format a date.
  • Operators combine values or supply a fallback, for example showing a default when a field is empty.

For instance, build post.title, then add the Uppercase filter:

What gets inserted: {{ post.title | upper }}

Fill in values

A few fields need a value before they can be inserted, such as a custom field key or an image size. The picker suggests matching options as you type, so you don't have to remember exact names:

  1. Pick Custom Field.
  2. Start typing in the key field, and existing custom field keys are suggested.
  3. Choose one → {{ post.meta('subtitle') }}.

Edit an existing expression

To change an expression already in your content, place your cursor inside it and open the Data Picker. It opens pre-filled with that expression, ready to adjust. Choosing Insert replaces it in place.

Next steps