Support

Account

Home Forums General Issues Shortcode for Title Reply To: Shortcode for Title

  • Hi @fireleaf

    Apologies for the delay.

    You can create a custom shortcode to do this and get the values using the get_field_object() function.

    Here is an example of how to achieve this:

    $field_name = "text_field";
    $field = get_field_object($field_name);
    
    echo $field['label'] . ': ' . $field['value'];
    

    Regarding the other question, please check out the wrapper attributes under the field edit screen.