Reply To: Show Dates in POI List

Home Forums MapPress Support Show Dates in POI List Reply To: Show Dates in POI List

#10068
Chris
Keymaster

Hi,

I’m sorry I was thinking of modifying the template for individual posts.  For the poi list you can read the post ID for each poi from the field $poi->postid;

So you’ll need this in the ‘foreach’  loop:

<td>
  <?php       
    if ($poi->postid) {
      $p = get_post($postid);
      echo $p->post_date;
    }      
  ?>     
</td>

Don’t forget to add a “<th>” header for the column too.

I hope that helps.  If you like I can also email you the whole file.  Send me an email at “chrisvrichardson” at mappresspro.com.