Toolset allows you to add any post field to any Divi Module. There are two ways to display post fields:

  • Using a Text Module: simply display the fields you want using Toolset styling. Use this approach if, for example, you want to display a Google Map field.
  • Using any other Modules: use fields as arguments for Divi Modules. Use this approach if, for example, you want to create a button and use fields to control the button text and URL to which it links.

Displaying fields using a Text Module

  1. Insert a Divi Text Module and click on the Fields and Views button to insert a field. If you want to insert a form, click on Toolset Forms.

Using the "Fields and Views" button in Divi Text module

  1. The Fields and Views shortcodes dialog opens. Select the field you want and select additional options for it if needed. Click the Insert shortcode.

Toolset "Fields and Views" dialog for inserting fields

  1. The field you selected was inserted into the Text Module.

Field inserted into a Divi Text Module

Displaying Fields using any other Module

  1. In our example, we insert a Button Module.

Inserting the Divi Button Module

  1. On the top bar of the WordPress administration display, click on Toolset Shortcodes -> Fields and Views.

Using the "Fields and Views" dialog on the top bar

  1. Select the field you want to display from the Fields and Views shortcodes dialog.
  1. We select the Post URL field. Next, click on the Create shortcode button.

Inserting the field that displays the post URL

  1. The shortcode is automatically generated and can be copied and pasted to any location you want, including to any Divi module.

Generated shortcode for post URL

  1. In our example, we paste it into the Button URL field of the Button Module.
  2. Using the same method, we insert the Post title field into the Button Text of the Button Module.

The Divi Builder now includes a button that uses the URL and text from two custom fields.

Divi Button Module with fields inserted for text and URL

What’s next?

Next Control access to your content built with Divi