tomas.halo

Forum Replies Created

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • in reply to: more custom fileds in Geocoding body field #14160
    tomas.halo
    Participant

      Hello,

      i use that custom field in single template and there’s ok.
      ( http://www.rkzl-tt.sk/lekar/jurga-daniel/ ) – all description is from ACF and is displayed correctly.

      Do you have any idea?

      Thank you for your support.

      in 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

        in reply to: more custom fileds in Geocoding body field #14055
        tomas.halo
        Participant

          Hello,
          i modified template map_poi.php file and it’s working for mashups but not for single map. Single map in single post is generated automatically from geocodes = custom fields with street address and city, but special custom field which i added into template file is not displayed. Can you help me with this issue?

          Thanks a lot

          in reply to: more custom fileds in Geocoding body field #14040
          tomas.halo
          Participant

            Hello,
            thank you for your answer. i tried this solution but it is not working with automatically generated maps from CF – in the info window custom field insert via code in template map_poi.php doesn’t display.

          Viewing 4 posts - 1 through 4 (of 4 total)