Reply To: more custom fileds in Geocoding body field

Home Forums MapPress Support more custom fileds in Geocoding body field Reply To: more custom fileds in Geocoding body field

#14154
tomas.halo
Participant

    Hello,
    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:
    http://www.rkzl-tt.sk/lekarcat/piestany/
    (The post is: and the field is: 921 01 Piešťany)

    in single post (custom post type) not:
    http://www.rkzl-tt.sk/lekar/jurga-daniel/
    (The post is: 1226 and the field is:_________)

    i am using advanced custom fields plugin so code is:

    <?php
    global $post;
    $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