acf field value in theme 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';
}