Reply To: Display Paragraph Content in POI List

Home Forums MapPress Support Display Paragraph Content in POI List Reply To: Display Paragraph Content in POI List

#15711
Chris
Keymaster

Hi,

Yes, you can modify the poi list template file (map_poi_list.php) to show the post content. Here’s an example where I’ve added it below the poi title:


<div class='mapp-title'>
	<?php echo $poi->get_open_link(); ?>
</div>
<div>
	<?php
		if ($poi->postid) {
			$post = get_post($poi->postid);
			echo $post->post_content;
		}
	?>
</div>