Displaying Distance

Home Forums Calendar Products Events Calendar PRO Displaying Distance

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1067797
    fifteen15studios
    Participant

    Hello Modern Tribe,

    I would like to display the actual distance from a point (if specified) in my list of event results. I can display the cost, location, title, etc, but not distance. Is there a particular function I need to do this? I saw some hints of this online but I haven’t been able to find a solution.

    Thanks!
    Brendan

    #1068301
    Brian
    Member

    sorry… wrong thread.. still open

    #1068313
    Brian
    Member

    Hi Again,

    I can help out here, but we are limited in supporting customizations.

    The map view does have a script to calculate distance. You might be able to utilize that if you add another way to collect a persons location so you can display it

    This is the file that has the functions to determine distance:

    plugins/events-calendar-pro/src/Tribe/Geo_Loc.php

    That might provide help to get you started, there is not much else we have to provide on this.

    Let me know if you have any follow up questions.

    Thanks

    #1080739
    Support Droid
    Keymaster

    This topic has not been active for quite some time and will now be closed.

    If you still need assistance please simply open a new topic (linking to this one if necessary)
    and one of the team will be only too happy to help.

Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘Displaying Distance’ is closed to new replies.