So I have each of my locations as individual posts and I am able to mashup my posts very well using the meta field types, however, I am running into trouble displaying the meta information on the actual pages.
I tried for example $poi->get_post_meta($post->ID, 'post-class', true);
But that just threw tons of ajax errors. How do I go about getting the contents of the customfield types to display with the poi content?
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:
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.