Hi,
Is it possible to call a map via code added to my theme?
I want to place the map elsewhere, actually, outside of the main content loop, thus not before or after the post...but well down the page, after a photo gallery and such. Is it possible with your plugin? Thus far I really like it.
Thanks.
You should be able to use wpgeo_post_map() in the loop.
http://www.wpgeo.com/documentation/template-tags
You could try using the same function passing the post ID outside the loop:
wpgeo_post_map($post_id);
Biggity bam, that's exactly what I needed.
I've been trying other mapping plugins, but they never worked as needed/wanted. Yours does! Thank you so much!!!
jasonday
Member
Posted 1 year ago #
Is it also possible to only show custom post types? (the only geocoded posts I will have)
@jasonday
Can you explain more fully what you mean.
Do you only want to show a map on certain post type pages or create one map that only shows a certain custom post type?