post a photo
about
home

Fotomobil.at

OpenStreetMap plugin

DOWNLOAD FORUM E-MAIL

 

- – - Mark all tagged posts in your map – - -

0.) install the WordPress OpenStreetMap plugin.
1.) define a custom field name for your geo-address in the plugin settings.
2.) assign a geo-address to each post/page by the defined custom field
3.) add the Osm-short code with import – argument in text of your post/page

< click on the pin to get a link to the post >

1.) define a custom field name for your geo-ddress in the plugin settings.
If you are using already another geo-plugin with a customfield for geo data, you can simply reuse it, “OSM_geo_data” is just a sample!

 

The Custom Field to define the geo data of your post/page

2.) assign a geo-address to each post/page by the defined custom field
When you edit your post/page you find the “Custom Fields” section. Use the custom field you have defined in the plugin settings at “Custom Field Name”. Insert your address like: Lat,Lon

 

assign a geo address to a post or page

3.) add the Osm-short code with marker_all_posts – argument in text of your post/page

Edit the post/page where you want to place a map showing the places of your posts/pages and add the OSM-shortcode. Note, the shortcode must not be formated text!

[osm_map Lat="47" Long="0" zoom="1" width="505" height="350" type="Osmarender" marker_name="wpttemp-yellow.png" import="osm"]

Note: if you want to add marker with link to your posts/pages you have to use import=”osm_l” instead of import=”osm”. You find a sample at the posts here.

Include or exclude posts of one category

if you want to include just one category and display just category austria, use the tag import_osm_cat_incl_name:

[osm_map Lat="47" Long="0" zoom="1" width="505"  height="350"  type="Osmarender" marker_name="wpttemp-yellow.png"  import="osm" import_osm_cat_incl_name="austria"]

and if you want to exclude one cagetory and display all execpt austria, use the tag import_osm_cat_excl_name:

[osm_map Lat="47" Long="0" zoom="1" width="505"  height="350"   type="Osmarender" marker_name="wpttemp-yellow.png"  import="osm" import_osm_cat_excl_name="austria"]