Reply To: using the_content and the_tags witin map_poi_list.php

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

#14667
danthonyl
Participant

    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; ?>