WordPress.org

Ready to get started?Download WordPress

Plugin Directory

Smooth Locations

A plugin to smoothly list locations in a table and on a map with an automatically updating search field.

This plugin can be used to list locations. It adds a custom post type for locations, which can be manipulated via the admin panel. The locations can be displayed on a map and in a table. In addition, a search field can be added that allows users to search for relevant locations.

The functionality is added to a page or post via shortcodes:

  • [smooth-location-map]
  • [smooth-location-search]
  • [smooth-location-table]

The settings can be configured by passing attributes to the shortcodes, like so:

[smooth-location-map width="500px" height="300px" ...more attributes]

None of the attributes are required. The following attributes are available:

  • width: defaults to "500px"
  • height: defaults to "300px"
  • center: defaults to "37.752530,-122.447777"
  • geolocation: defaults to "false"
  • maptype: defaults to "HYBRID"
  • zoom: defaults to 7
  • icon_url: url for different icon image
  • shadow_url: url for shadow of different icon image

The same functionality is available via do_action() calls with the same name as the shortcode.

In addition, the following filters are available to modify the HTML output, if necessary:

  • smooth_location_map_filter
  • smooth_location_search_filter
  • smooth_location_table_filter

Requires: 3.5.1 or higher
Compatible up to: 3.5.2
Last Updated: 2013-6-12
Downloads: 402

Ratings

0 stars
0 out of 5 stars

Support

Got something to say? Need help?

Compatibility

+
=
Not enough data

0 people say it works.
0 people say it's broken.

50,2,1