SFR Directory Map

Plugin Banner

SFR Directory Map

by SupportFromRichard

Download
Description

SFR Directory Map is a powerful WordPress plugin designed specifically for Directorist that displays your directory listings on interactive OpenStreetMap maps.

Key Features

  • Built for Directorist – Seamless integration with Directorist directory plugin
  • Interactive Maps – Uses OpenStreetMap with Leaflet.js for fast, responsive maps
  • Marker Clustering – Groups nearby markers for better performance with large datasets
  • Rich Popups – Shows listing images, addresses, phone numbers, and categories
  • Responsive Design – Works perfectly on mobile and desktop devices
  • AJAX Loading – Fast, dynamic content loading without page refreshes
  • Admin Configuration – Customizable default location and zoom settings
  • Search Analytics – Track what users search for with anonymous statistics
  • Support From Richard Toolkit – Quickly open companion dashboards or visit the Support From Richard tools directory straight from the settings screen

Usage

Use the shortcode [sfr_directory_map] on any page or post to display your directory listings on an interactive map.

Available Parameters:
* height – Map height (default: 500px)
* category – Filter by category slug
* post_type – Specify post type or “auto” to detect
* cluster – Enable marker clustering (true/false)

Examples:
[sfr_directory_map]
[sfr_directory_map height=”600px”]
[sfr_directory_map category=”restaurants”]

Privacy Policy

This plugin does not collect, store, or transmit any personal data. Map data is loaded directly from your WordPress database and displayed using OpenStreetMap tiles.

The optional analytics feature tracks search terms anonymously (no IP addresses, no personal data). You can disable analytics at any time in the plugin settings.

Support

For support, please visit the WordPress.org support forum for this plugin or contact us at plugins@supportfromrichard.co.uk

  1. Upload the plugin files to /wp-content/plugins/sfr-directory-map, or install through WordPress admin
  2. Activate the plugin through the ‘Plugins’ screen in WordPress
  3. Ensure you have Directorist installed and active
  4. Go to Directory Maps > Settings to configure your default map settings
  5. Use the shortcode [sfr_directory_map] on any page or post
  1. Interactive map displaying directory listings with marker clustering

    Interactive map displaying directory listings with marker clustering

  2. Rich popup with listing details, images, and contact information

    Rich popup with listing details, images, and contact information

  3. Admin settings page with map configuration options

    Admin settings page with map configuration options

  4. Analytics dashboard showing search statistics

    Analytics dashboard showing search statistics

Does this plugin work with my directory plugin?

This plugin is specifically designed for Directorist. It automatically detects and integrates with your Directorist listings.

Can I customize the map appearance?

Yes! The plugin includes comprehensive CSS styling that you can override with your theme’s custom CSS.

Is there a limit on the number of listings?

The plugin handles large numbers of listings efficiently using marker clustering. It limits queries to 1000 listings per request for optimal performance.

Can I filter listings by category?

Yes, use the category parameter in the shortcode to filter listings by category slug.

What analytics are available?

The free version includes basic search tracking showing total searches, success rates, and popular search terms. All data is collected anonymously.

1.6.1

  • Feature: Added the Support From Richard Toolkit card to the settings page so you can launch companion dashboards, download other plugins, and access Pro upgrades without leaving the map plugin.
  • Enhancement: Added a matching CTA highlighting the Support From Richard tools directory for quick access to free audit and insight resources.

1.6.0

  • Compliance: Removed inline script and style tags from main plugin file for WordPress.org standards
  • Compliance: Converted inline JavaScript to WordPress enqueue functions
  • Compliance: Converted inline CSS to WordPress enqueue functions
  • Security: Replaced all json_encode() with wp_json_encode() for proper escaping
  • Security: Added wp_kses_post() escaping for dynamic style attributes
  • Enhancement: Improved code organization and WordPress coding standards compliance
  • Fix: Maintained all functionality while improving plugin architecture
  • Tested: Verified compatibility with WordPress 6.8

1.5.0

  • Compliance: Localized all Leaflet marker images (removed CDN dependencies)
  • Compliance: Updated Chart.js to latest stable version (v3.9.1)
  • Security: Added proper nonce verification for analytics export functionality
  • Security: Replaced json_encode() with wp_json_encode() for proper escaping
  • Security: Added proper escaping for dynamic style attributes
  • Standards: Renamed generic AJAX actions with proper prefixes (sfrdm_)
  • Standards: Removed deprecated shortcode names
  • Enhancement: Improved WordPress.org submission compliance
  • Fix: Resolved all WordPress.org review feedback issues

1.0.0

  • Initial public release
  • Interactive maps with OpenStreetMap
  • Marker clustering for performance
  • Rich popups with listing details
  • Category filtering
  • Search functionality
  • Basic analytics tracking
  • Responsive design
  • Full Directorist integration
Back to top