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

#14041
Chris
Keymaster

Hi,

Perhaps there is a syntax error? Below is a template file that will display field ‘test’ just below the POI body.

If that doesn’t work for you, please provide your template file and let me know if you’re displaying a map or mashup, along with any other details that might help.


<div class='mapp-iw'>
	<div class='mapp-title'>
		<?php echo $poi->get_title_link(); ?>
	</div>
	<div class='mapp-body'>
		<?php echo $poi->get_thumbnail(array('class' => 'mapp-thumb')); ?>
		<?php echo $poi->get_body(); ?>
		<?php
		 global $post;
		 $postid = ($poi->postid) ? $poi->postid : $post->ID;
		 echo get_post_meta($postid, 'test', true);
		?>
	</div>
	<div class='mapp-links'>
		<?php echo $poi->get_links(); ?>
	</div>
</div>