Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #545054

    Hello,

    1) We have about 50 markers on the Google map, but instead of always showing them in the predefined order set in WordPress, we would like them to appear in random order. Is there a way, some code changes or addition, to do this?

    2) In the past, I already asked if there is a way to remove or alter the ALT text on the markers. I get a lot of complaints about it being too confusing since it only shows the name of the street instead of the name of the location itself. Support then told me to replace the entire code of the JS file, but with each update, I need to check if it is still valid because sometimes it gives some issues after updating. So preferably I would only add or change one or a few lines of code somewhere.

    So, instead of it showing the street name, it would be better if the ALT shows either the location name or nothing at all. The markers are spread all over Europe, so street names as ALT are useless in this case.

    Any way I can either easily disable the ALT or make it show a different field like City instead of Street?

    Thanks in advance!

    #545435

    Hi DavyE!

    1. That would take a lot of time and code and would have to be considered custom work. It would be best to hire a freelancer to help you out with this customization.

    2. It’s actually a title instead of alt text and you can find it on line 598 in the /enfold/js/shortcodes.js file.

    title: _self.$data.marker[key].address,
    

    Regards,
    Elliott

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.