With this WP Google Maps Pro and Search Widget for Google Maps, using this shortcode [google_search_form map_url=" "]you can display search form very easily and with flexibility. You can easily decide which map will connect with a specific search form by passing a map URL in the shortcode. You have to enable a URL filter for that specific map. For displaying form please place this code in any page/post/widget where you want to show.

You could pass the form title, search box placeholder, and search location button text through a parameter in a shortcode. There is the plugin settings page for saving these parameter values common for all search forms. The Shortcode parameter got priority to show labels in form.

Please make sure you have installed WP Google Map Pro plugin into your website. In case you have not installed it yet. Please download this plugins and configure them first. Here are the following steps to install the WP Google Map Pro plugin.

Here is the following process to configure Search Widget for Google Maps:

Step 1: Please navigate to the “WP Google Map Pro -> Search Widget Settings”, fill form details as per your requirements and save this setting.

Step 2: Please insert this shortcode [google_search_form map_url=""on any page/post/widget where you want to show search form.
Example: [google_search_form map_url="https://www.wpmapspro.com/example/restaurants-listing/“]


Note:map_url” this parameter is required for searching on the map.

  • You could pass the form title, search box placeholder, and search location button text through a parameter in a shortcode. These shortcode parameters got priority to show labels in form.

1. Search Widget title: Please pass this “title” parameter as below given.
[google_search_form map_url="https://www.wpmapspro.com/example/restaurants-listing/" title="Find Near By Restaurant"]

2. Search Widget Placeholder Please pass this “placeholder” parameter as below given.
[google_search_form map_url="https://www.wpmapspro.com/example/restaurants-listing/" placeholder="Enter restaurant name / cuisine name / dish name "]

3. Search Widget Button Text Please pass this “button_text” parameter as below given.
[google_search_form map_url="https://www.wpmapspro.com/example/restaurants-listing/" button_text="Search Restaurants"]

To view an example of Grid style please click here.