SFR Directory Map
SFR Directory Map
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
Installation
- Upload the plugin files to
/wp-content/plugins/sfr-directory-map, or install through WordPress admin - Activate the plugin through the ‘Plugins’ screen in WordPress
- Ensure you have Directorist installed and active
- Go to Directory Maps > Settings to configure your default map settings
- Use the shortcode
[sfr_directory_map]on any page or post
Screenshots
Faq
This plugin is specifically designed for Directorist. It automatically detects and integrates with your Directorist listings.
Yes! The plugin includes comprehensive CSS styling that you can override with your theme’s custom CSS.
The plugin handles large numbers of listings efficiently using marker clustering. It limits queries to 1000 listings per request for optimal performance.
Yes, use the category parameter in the shortcode to filter listings by category slug.
The free version includes basic search tracking showing total searches, success rates, and popular search terms. All data is collected anonymously.
Reviews
Changelog
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



