'Tracks', 'settings' => 'Settings', 'help' => "help" ); } else if ( current_user_can('publish_posts') ) { $tabs = array( 'tracks' => 'Tracks', 'help' => "help" ); } echo ''; } function WP_GPX_Maps_html_page() { $realGpxPath = gpxFolderPath(); $cacheGpxPath = gpxCacheFolderPath(); $relativeGpxPath = relativeGpxFolderPath(); $relativeGpxPath = str_replace("\\","/", $relativeGpxPath); $tab = $_GET['tab']; if ($tab == '') $tab = 'tracks'; ?>

WP GPX Settings

Can\'t create '.$realGpxPath.' folder. Please create it and make it writable!
If not, you will must update the file manually! '; } } if(file_exists($cacheGpxPath) && is_dir($cacheGpxPath)) { //dir exsist! } else { if (!@mkdir($cacheGpxPath,0755,true)) { echo '
Can\'t create '.$cacheGpxPath.' folder. Please create it and make it writable!
If not, cache will not created and your site could be slower!
'; } } wpgpxmaps_ilc_admin_tabs($tab); if ($tab == "tracks") { include 'wp-gpx-maps_admin_tracks.php'; } else if ($tab == "settings") { include 'wp-gpx-maps_admin_settings.php'; } else if ($tab == "help") { ?>
The fastest way to use this plugin:
upload the file using the uploader in the first tab, than copy the shortcode from the list and paste it in the pages/posts.

You can manually set the relative path to your gpx: [sgpx gpx="< gpx file name >"].

You can also use gpx from other sites: [sgpx gpx="http://www.someone.com/somewhere/somefile.gpx"]


Full set of attributes: [sgpx gpx="< gpx file name >"    >> read below all the optional attributes <<    ]

Bugs, problems, thanks and anything else here!