• Hi,

    Amazing plugin. Might soon upgrade to premium if I can figure this crucial aspect out.

    When using the post locator maps, I find that I am forced to manually add the location of each post after the users post it. In order to allow users to add their own location data to show up on the MAP I need to be able to make sure that they can Input the information on the same form that they use to submit posts. How can I go about doing this?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Eyal Fitoussi

    (@ninjew)

    Hello @sess10nsteam,

    You have a couple of options:

    1. A custom function that will fire on form submission (the form that submits posts ), will geocode the address entered in the form and save the location data in GEO my WP’s database. Here you can find an example of such a function.
    2. If the address entered in the submission form is saved in a custom field, you should be able to use the Meta Fields Geolocation extension to sync that address with GEO my WP.

    I hope this helps.

    Let me know if you have additional questions.

    Thread Starter sess10nsteam

    (@sess10nsteam)

    Hi, thanks for your response this is so helpful that you do this. I have attached a link with an image of the part of the code from the form of my site plugin. Please review thank you.https://ibb.co/Fw5JxSS look forward to hearing from you.

    • This reply was modified 1 year, 8 months ago by sess10nsteam.
    • This reply was modified 1 year, 8 months ago by sess10nsteam.
    Thread Starter sess10nsteam

    (@sess10nsteam)

    As above.

    • This reply was modified 1 year, 8 months ago by sess10nsteam.
    • This reply was modified 1 year, 8 months ago by sess10nsteam.
    Plugin Author Eyal Fitoussi

    (@ninjew)

    @sess10nsteam,

    The code you posted is not much of a help.

    you need to find a hook ( if there is one ) that fires on form submission and use that with a custom function as I mentioned above.

    You might want to contact the developer of the plugin/theme that generates that form and ask if such hook exist.

    Please note that such custom function requires testing and debugging directly on your site. Unfortunately, that is not something I can help via this support forum. So you might need the help of a developer for this task.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Adding the Location Input to Form on My site’ is closed to new replies.