Title: Removing time from waypoints
Last modified: November 11, 2021

---

# Removing time from waypoints

 *  [simonbeertv](https://wordpress.org/support/users/simonbeertv/)
 * (@simonbeertv)
 * [4 years, 6 months ago](https://wordpress.org/support/topic/removing-data/)
 * Hi Timo,
 * Thanks for all your great work on this plugin.
 * Can you point me in the right direction, I’d like to be able to edit the locations
   shown on the map to remove the time in the window once you click on the waypoint,
   I only want to show the date I was there, not the time. Which file in the plugin
   directory on my server would I need to modify?
 * Thanks,
 * Simon.
    -  This topic was modified 4 years, 6 months ago by [simonbeertv](https://wordpress.org/support/users/simonbeertv/).
    -  This topic was modified 4 years, 6 months ago by [simonbeertv](https://wordpress.org/support/users/simonbeertv/).

Viewing 4 replies - 1 through 4 (of 4 total)

 *  Plugin Author [techtimo](https://wordpress.org/support/users/techtimo/)
 * (@techtimo)
 * [4 years, 6 months ago](https://wordpress.org/support/topic/removing-data/#post-15059937)
 * Hi Simon,
 * thanks for your kind words.
 * this is a valid point! So far I have only users who like to see more data then
   the Spot is sending … 😀
 * If you are concerned about privacy this is quite a problem, since currently via
   the AJAX call (when your browser asks the data from your wordpress server) it
   is possible to get all data the spotmap plugin is storing. Just not the feed 
   password.
 * If it’s just about the point that you like to show less data, you can modify 
   the popup text generation maphandler.js file under /spotmap/public/js/maphandler.
   js on the line 484 and the following.
    If you like to disable the popup at all
   you can remove the following part from line 524: `.bindPopup(message)`
 * I will look into a more permanent option. Do you use the Block or the shortcode?
 * // Timo
 *  Thread Starter [simonbeertv](https://wordpress.org/support/users/simonbeertv/)
 * (@simonbeertv)
 * [4 years, 6 months ago](https://wordpress.org/support/topic/removing-data/#post-15059941)
 * Thanks Timo, I use the shortcode to embed on the page.
 *  Thread Starter [simonbeertv](https://wordpress.org/support/users/simonbeertv/)
 * (@simonbeertv)
 * [4 years, 6 months ago](https://wordpress.org/support/topic/removing-data/#post-15060092)
 * Playing with the js code above.
 * I really, really want to add a link to certain waypoints. I have added a row 
   in the database, called link and added the following code to the js file within
   the message box:
 *     ```
       if (entry.link)
                   message += 'Blog: ' + '<a href=' + entry.link + '>Click here</a>' + '</br>';
       ```
   
 * This works really well, it just means I need to enter links to blogs via phpadmin
   at the moment.
 * To make this easier it would be great to have a tab in the plugin that lists 
   all the waypoints and lets you add a link to whatever ones you want. These links
   could be to twitter, or instagram, blog entries, whatever the user wants.
 * All the best and thanks again,
 * Simon.
    -  This reply was modified 4 years, 6 months ago by [simonbeertv](https://wordpress.org/support/users/simonbeertv/).
    -  This reply was modified 4 years, 6 months ago by [simonbeertv](https://wordpress.org/support/users/simonbeertv/).
    -  This reply was modified 4 years, 6 months ago by [simonbeertv](https://wordpress.org/support/users/simonbeertv/).
 *  Plugin Author [techtimo](https://wordpress.org/support/users/techtimo/)
 * (@techtimo)
 * [4 years, 6 months ago](https://wordpress.org/support/topic/removing-data/#post-15060239)
 * Hi Simon,
 * I see your need for this. The problem is that this Plugin is desinged to show
   the data the spot is sending. It is not really meant to edit the data. THough
   I was thinkin a lot about this in the past.
    I don’t see this making myself in
   2021 to be honest though.
 * Custom links might make it too complicated, but adding new markers for blog posts
   which are assigned with a geolocation could be shown in the map. E.g. all blog
   posts published with a geolocation in the timerange specified for the Spotmap.
   —
   But this will go beyond what the plugin should do (but it would be nice…)
 * I see there are option to store metadata in blogposts:
    [https://developer.wordpress.org/plugins/metadata/managing-post-metadata/](https://developer.wordpress.org/plugins/metadata/managing-post-metadata/)
   I was thinking for similar things on photos uploaded to WordPress. Unfortunaltey
   WP is cutting the geolocation stored in the photo exif data…
 * Some kind of point management needs to be added anyway. Directly via the block
   or via the Dashboard. To move markers that are sent not entirely correct and 
   delete markers. This would be the right place to be able to change the text of
   the CUSTOM markers, which would then include any link to where ever you need 
   it.
    In addition the popup field should be configurable + options to decide wether
   the popup is shown or not. In your case it’ll be only shown on CUSTOM and maybe
   OK messages with a minimum of information but ofcourse with the Message part,
   which you could edit alter on. OkayOkay this is how it could work. What do you
   think?
 * Editing the plugin code manually is generally speaking not a good idea, since
   if I push a new Version to WPorg you will loose the changes you made as soon 
   as download the new version.

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Removing time from waypoints’ is closed to new replies.

 * ![](https://ps.w.org/spotmap/assets/icon.svg?rev=3550958)
 * [Spotmap](https://wordpress.org/plugins/spotmap/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/spotmap/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/spotmap/)
 * [Active Topics](https://wordpress.org/support/plugin/spotmap/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/spotmap/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/spotmap/reviews/)

 * 4 replies
 * 2 participants
 * Last reply from: [techtimo](https://wordpress.org/support/users/techtimo/)
 * Last activity: [4 years, 6 months ago](https://wordpress.org/support/topic/removing-data/#post-15060239)
 * Status: not resolved