Support

Account

Home Forums Front-end Issues Space between Label ":"

Helping

Space between Label ":"

  • Hello,

    I use the Kalium theme with WP Bakery and ACF. I have only one problem which is to add a space before the “:”.
    To have for example “Place : Field” and not “Place: Field”

    Can you please help me ?
    Thanks

  • Put this code in your functions.php file. Then, change the part “field_123abcf” below with the field key of the field you want to change the label

    
    function my_acf_load_field( $field ) {
        $field['label'] = "Place : ";
        return $field;
    } 
    
    add_filter('acf/load_field/key=field_123abcf','my_acf_load_field');
    
Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.