Reply To: Post Custom Field Data

Home Forums MapPress Support Post Custom Field Data Reply To: Post Custom Field Data

#11448
Chris
Keymaster

Hi,

There’s no ‘get_post_meta’ method for POIs, that’s a WordPress function.  You can see the POI methods in file ‘mappress_poi.php’.  There are several ways to do what you want, but I think the easiest is to use:

$poi->get_custom('post-class', true);

If that doesn’t help please send me a note with the contact form, in case I need to ask for a copy of your template.