get_field by post id 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';
}