Home › Forums › MapPress Support › using the_content and the_tags witin map_poi_list.php › Reply To: using the_content and the_tags witin map_poi_list.php
May 9, 2014 at 2:44 am
#14667
Here’s a simplified version of my code in map_poi_list.php:
<?php foreach($map->pois as $poi) : ?>
<?php
global $post;
$postid = ($poi->postid) ? $poi->postid : $post->ID;
?>
<div>
<span><?php the_tags(); ?></span>
<?php the_content(); ?>
</div>
<?php endforeach; ?>