Reply To: MapPress Show Date and Category on Mashup Pop Ups

Home Forums MapPress Support MapPress Show Date and Category on Mashup Pop Ups Reply To: MapPress Show Date and Category on Mashup Pop Ups

#13899
Chris
Keymaster

    Hi,

    There’s only one template, but you can get different output for mashups and individual posts by including an ‘else’ after you check if there’s a post for the current POI. For example, to print the body saved with the POI on individual maps:

    
    if ($post) { 
    ... 
    } else {
      echo $poi->get_body();
    }