Home › Forums › MapPress Support › more custom fileds in Geocoding body field › Reply To: more custom fileds in Geocoding body field
January 13, 2014 at 1:34 am #14069
Check that the special field is actually populated in the post you’re displaying. You should be able to see it in the WordPress post editor unless it is hidden (i.e. starts with ‘_’). If it’s hidden, check database table wp_postmeta for that post.
Then, modify map_poi.php with some ‘echo’ statements to see what’s going on:
<?php global $post; $postid = ($poi->postid) ? $poi->postid : $post->ID; echo "The post is: $post->ID and the field is: "; echo get_post_meta($postid, 'test', true); ?>
If the above steps don’t help, please send me a login and I’ll see if I can find the issue for you. Please provide a post I can test with this special field.