From 8de9ab00242987e138372bd60f6e7c198a200007 Mon Sep 17 00:00:00 2001 From: Xavier Balderas Date: Wed, 1 Feb 2012 19:43:07 +0100 Subject: [PATCH] Readme updated --- README.md | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 35ff49b..8322f13 100644 --- a/README.md +++ b/README.md @@ -23,10 +23,11 @@ On the configuration panel for plugin, located under the Settings panel of Wordp Showing the soundmap ----- -To show the map, you only have to select the url you want to use for this. On the config page you will find and option called Show map page here you can write the url. -For example, if you want to use www.yoursoundmap.com/map you need to write here map. If you want to use the root, write [home]. +To show the map, you only have use the theme tag the_map as follows: -Once you select one url, the plugin will use a template page called 'theme_yoururl.php'. You can see the template file located under 'soundmap/theme' as an example. + the_map(css_id = 'map_canvas', all_markers = FALSE, $options = array()); + +in the template page you want to show the map. More information about this and more theme tags in the documentation. It is important that inside the template file you include this HTML line: