danthonyl

Forum Replies Created

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • danthonyl
    Participant

      Thank you Chris for your quick reply. I implemented your first option in my mashup map and it worked perfectly. Thank you for saving me hours of headache!

      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; ?>
      Viewing 2 posts - 1 through 2 (of 2 total)