Toolset allows you to display Dynamic Sources, like custom fields, inside any text blocks including headings, buttons, and more.
You can find the Toolset’s Inline Fields button inside WordPress core blocks, Toolset blocks, and popular block plugins.
To display any Dynamic Source inline, insert or select a block with a text input and look for the Inline Fields button. Dropdown menus will appear, allowing you to select a Dynamic Source.
Toolset Inline Field button in the Paragraph block’s dialog
Toolset Inline Field button in the Genesis Testimonial block’s dialog
You can change the format of certain types of custom fields (dates, taxonomies and excerpts), by clicking on them.
If at any time, you want to select another field for the inserted inline field, simply click on it and use the dropdowns.
You can display the Post title with a link and Author Posts Link fields inline using the following blocks:
- Core Paragraph
- Core Heading
- Toolset Heading
Fields containing HTML tags are not available in most blocks. This is because outputting links and other HTML inside blocks can break their output.
Because of this, the preview of links has HTML removed in the backend editor. The field’s text remains, of course.
Currently, there are two limitations on where and how the Inline Fields feature works.
Toolset Inline Fields automatically work in all blocks that use RichText input.
However, if a block uses the simple text input, the Inline Fields button is not available.
Inline Fields display Dynamic Sources like custom fields and standard WordPress fields. As these fields are dynamic, their values can change at any time.
If a value of any field that you display using the Inline Fields feature changes, this will be automatically updated and reflected in the backend editor only for the Toolset Button and Toolset Heading blocks. Currently, all other blocks do not automatically refresh the values of fields displayed inline.
Of course, on the front-end, dynamic sources will always display the current (i.e. updated) version of the value, as it’s stored in the database.
- Styling Custom Searches
- Styling Views and Archives
- Styling Single-post Templates
- Adding Custom CSS to Templates, Archives and Views
- Assigning Templates to Posts Conditionally
- Show all related topics...
- Passing Arguments to Views
- YouTube Videos with Advanced Options
- Displaying Form Data
- Creating templates to display members-only content
- Creating and Displaying Repeatable Field Groups
- Displaying a Map on A Single Post Template
- Displaying a List of Posts on A Map
- Creating Sliders with Dynamic Post Content
- Adding Dynamic Content to Your Homepage
- Creating a View
- Creating a Custom Archive Page
- Creating Templates to Display Custom Posts
- Creating Responsive Columns and Grids
- Display Content Conditionally
- Using Third-Party Hidden Fields