Okay
  Public Ticket #2938173
print acf label or value
Closed

Comments

  •  3
    Norman started the conversation

    Hi,

    I have a ACF select field with a label:value. (no multiple values).  Now I want to print the value and label separate in my UE widget template.

    <li>{{item.agenda_item.cf_status_inschrijving}</li>

    But how? I search the documentation but can't find an answer..

    It's an array so I thought {{item.agenda_item.cf_status_inschrijving[1]}} or {{item.agenda_item.cf_status_inschrijving.value]}

    Can you please give me some directions?

  •  1,194
    Amit replied

    When you say array you mean its a repeater field ?


  •  3
    Norman replied

    Hi, it's just a select field. No repeater field.

  •   Max replied privately
  •  3
    Norman replied

    Hi Max, sorry but you write debug in "advanced tab". I can't find a advanced tab. In Unlimited Elements?

  •  3
    Norman replied

    Sorry, it's in Elementor. I saw a post that debug is moved to another place. Now with the debug information it's easy peasy. :) Thanks!