Reply To: Mashups – Alternative To Using Thumbnails?

Home Forums MapPress Support Mashups – Alternative To Using Thumbnails? Reply To: Mashups – Alternative To Using Thumbnails?

#12610
Chris
Keymaster

Hi,

Are you trying to display this template for mashups or for single posts?

If it’s for mashups, you will need to get the postid from the poi rather than relying on the global $post variable:

postid) {
$post = get_post($poi->postid);
…your code here…
}
?>

You might also want to try just placing that code in your theme to verify that it’s working before trying to use it in the map poi…

If that doesn’t help, please send me the template so I can take a look (you can just paste it into the contact form on the site).