ACF shortcode + Elementor.

August 19, 2019

Elementor allows you to use by default ACF custom fields in your designs – Elementor Integration With ACF.

But what if you need to use a shortcode???

  1. Click on the Dynamic icon of your widget
  2. Choose Shortcode
  3. Paste in your shortcode in this format: [acf field="field_name"]

Some widgets allow you to add the shortcode straight in the widget content.

  1. Text widget – tested and working
  2. More to follow, need to test :).

Example

This is a story about a boy named [acf field="name"]. He is [acf field="age"] years old.

Limitations