Forum Replies Created
-
AuthorPosts
-
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.
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
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
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. -
AuthorPosts
