GEO my WP Support

Use this forum for technical support and general questions related to GEO my WP plugin and its core add-ons only. For technical support and general questions related to any of the premium extensions please open a new premium support ticket.

[Resolved]Displaying a map on page load

Home Forums Support Displaying a map on page load

Tagged: ,

This topic contains 8 replies, has 2 voices, and was last updated by  Eyal Fitoussi 1 year ago.

Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #58700

    mishaLSE
    Participant

    Hello,
    I successfully added a form that searches through all of the members on this site but now I’m at a roadblock. I need to have a map appear above the form with all of the locations of the members on it once this page loads.

    https://masterrugcleaner.net/member-directory/

    How would I accomplish this?

    #58724

    Eyal Fitoussi
    Keymaster

    Hi,

    Please follow these steps:

    1. navigate to the “Page Load Results” tab of form editor in the dashboard. Check the “Enable page load features” checkbox and in the “Display map” dropdown menu select “Using shortcode”. Then Set up the rest of the filters on this tab as you wish.

    2. Navigate to the “Form Submission” tab and set the “Display map” dropdown to “Using shortcode” as well.

    3. In the content of the page where you display the form use the shortcodes like the below ( replace 1 with the ID of your form ):

    let me know if this helps.

    • This reply was modified 1 year, 1 month ago by  Eyal Fitoussi.
    #58739

    mishaLSE
    Participant

    Thank you for your reply. Unfortunately, the map is still not showing up.
    I checked the “Enable page load features” checkbox and updated the ‘Display Map’ dropdown
    http://prnt.sc/mpvm16

    also updated the ‘Form Submission’ tab
    http://prnt.sc/mpvmk4

    here is how I have the shortcode displayed:
    http://prnt.sc/mpvouj

    Any other ideas? Any other pointers would be helpful.

    #58751

    Eyal Fitoussi
    Keymaster

    Have you checked the “Visitor’s current location filter” checkbox?

    Can you please provide a screenshot of the entire Page Load Results tab?

    #58757

    mishaLSE
    Participant

    Yes, I checked that box. I attached the screenshot of the whole page.

    Attachments:
    You must be logged in to view attached files.
    #58780

    mishaLSE
    Participant

    Hey Eyal,
    Could you give me any more pointers for this?

    #58781

    Eyal Fitoussi
    Keymaster

    Hi,

    I think the city filter option is the issue.

    When adding an address to a post, GEO my WP geocodes it returns the location fields from Google API. And those location fields will be saved in the database.

    So if you enter the address “5310 W 23rd St, St Louis Park, MN 55416, USA” for example, the city field that returns from Google and saved in GEO my WP database might be “Saint Luis Park” instead of “St. Luis Parks”. And because the city filter will search for the exact term ( St. Luis Parks ) in the database, you will not get results.

    Remove the city filter from the page load results and try again.

    And since you are using the address filter to search nearby by location, you should also remove the zip code, state, and country filters. Those filters the results by the exact term, rather than by proximity, like the address filter.

    #58822

    mishaLSE
    Participant

    That worked!
    You are a gentleman and a scholar, thank you!

    #59006

    Eyal Fitoussi
    Keymaster

    You are very welcome. I am glad I could help.

Viewing 9 posts - 1 through 9 (of 9 total)

The topic ‘Displaying a map on page load’ is closed to new replies.