Smooth Locations

0

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

Version
Last updated
Active installations
WordPress Version
Tested up to
Rating
Total ratings
Tags
This plugin is outdated and might not be supported anymore.

Description

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