acf get_field write on the function.php code example
Example: acf get field
$value = get_field( "text_field" );
if( $value ) {
echo $value;
} else {
echo 'empty';
}
$value = get_field( "text_field" );
if( $value ) {
echo $value;
} else {
echo 'empty';
}