Your address will show here +12 34 56 78

Home Forums Custom Work How we create the search ajax on the google maps with advanced search

This topic contains 0 replies, has 1 voice, and was last updated by  Anna 2 years, 3 months ago.

  • Author
    Posts
  • #114796

    Anna
    Keymaster

    There is a function in pin-management.php that generates a php array with the pins, These pins are then transported in javascript , where they are parsed and transformed into the markers that are added in the markers array called gmarkers[] . If you add new fields on your own, you should start by adding the new info in pin-management , then go into javascript create marker function and add it to the marker object.

    Our search templates are in wpresidence/templates

    We have 3 searches for header , 1 for mobile.

    adv_search_mobile.php

    advanced_search_type1.php

    advanced_search_type2.php

    advanced_search_type3.php

    There are 2 more files in wpresidence\libs

    – for widget- widgets.php

    – shortcode – shortcodes.php

    • This topic was modified 2 years, 3 months ago by  Anna.
    • This topic was modified 2 years, 3 months ago by  Anna.

The forum ‘Custom Work’ is closed to new topics and replies.