sorry for the late answer but i have been out of business.
So i tried some echo statements and the result is:
in mashup it’s ok:
(The post is: and the field is: 921 01 Piešťany)
in single post (custom post type) not:
(The post is: 1226 and the field is:_________)
i am using advanced custom fields plugin so code is:
$postid = ($poi->postid) ? $poi->postid : $post->ID;
echo “The post is: $post->ID and the field is: “;
echo get_field(‘mesto’, $postid);
Can you check it please?
Thank a lot