Dynamic Placeholders

Table of Contents

Dynamic placeholders provide a lightweight and flexible way to display ACF data in Elementor.

Placeholder Syntax

Placeholders follow this syntax:

{{subfield-{field_name}}}

Replace {field_name} with the name of your ACF subfield.

Examples:

  • {{subfield-title}} for a text field named “title”.
  • {{subfield-description}} for a text area named “description”.
  • {{subfield-content}} for HTML-rich content named “content”.

Key Benefits:

  • Ideal for text-based fields, including Text, Text Area, Date, Number and WYSIWYG.
  • Enables quick content integration for users without Elementor Pro.

Examples of Using Combined Placeholders:

Dynamic placeholders can also be combined to create more personalized and informative messages. Here are some examples of sentences using multiple placeholders:

  • “The meeting with {{subfield-client_name}} from the {{subfield-department}} department has been scheduled for {{subfield-date}} at {{subfield-time}}.”
  • “{{subfield-employee_name}} from {{subfield-branch}} branch contacted {{subfield-contact_person}} at {{subfield-phone_number}}.”
  • “The project ‘{{subfield-project_title}}’ led by {{subfield-team_leader}} is currently in the {{subfield-project_phase}} phase.”

Limitations:

  • Placeholders are only supported for simple fields like text, number, Date and WYSIWYG.
  • Email and URL fields can display their values using placeholders, but they cannot be used as sources for dynamic link controls.
  • Complex fields such as Gallery or Choice fields are not compatible with placeholders.

Best Practices:

  • Use placeholders for text and HTML content to simplify your workflow.
  • For visual elements like images or galleries, use dedicated widget controls.