WP Manifestindependent plugin directory
manifest / utilities / wp-parish-crime

Parish Crime Display self-updates

WordPress plugin displaying local crime statistics from national UK data

by NonaTech Services Ltd · github.com/nonatech-uk/wp-parish-crime · website

0stars
0forks

Install

No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:

wp plugin install https://github.com/nonatech-uk/wp-parish-crime/archive/refs/heads/main.zip

Ships its own WordPress updater (built-in updater), so new versions show up under Dashboard → Updates.

A WordPress plugin that displays crime data from data.police.uk for a configurable parish or local area.

Features

  • Interactive Map: View crime locations on an OpenStreetMap-based map with Leaflet.js
  • Filterable Table: Browse crimes in a sortable table format
  • Date Range Selection: Filter crimes by month with easy-to-use dropdowns
  • Category Filtering: Filter by crime type (burglary, anti-social behaviour, etc.)
  • Configurable Boundary: Set your own parish boundary coordinates via the admin settings
  • Auto-Updates: Automatically checks for updates from GitHub releases

Installation

  1. Download the latest release from GitHub Releases
  2. Upload to /wp-content/plugins/parish-crime/
  3. Activate the plugin through the WordPress admin
  4. Configure your parish boundary in Settings > Parish Crime

Configuration

Setting Your Parish Boundary

  1. Go to Settings > Parish Crime in WordPress admin
  2. Enter your area name (e.g., "Albury Parish")
  3. Enter boundary coordinates as lat,lng on each line:
    51.245,-0.520
    51.245,-0.475
    51.200,-0.470
  4. Save settings

The plugin will automatically clear cached crime data when you update the boundary.

Shortcodes

Main Crime Display

[parish_crime]

Shows crimes with toggle between map and table view.

Attributes:

  • display - Initial view: map (default) or table
  • height - Map height (default: 500px)
  • zoom - Initial zoom level (default: 14)

Parish Area Map

[parish_crime_area]

Shows just the parish boundary on a map.

Map Key/Legend

[parish_crime_map_key]

Displays a legend table of crime categories and their colours.

Data Source

Crime data is provided by the Police UK API. Data is:

  • Updated monthly (typically 6-8 weeks behind current date)
  • Anonymised to approximate locations
  • Cached locally for 24 hours to reduce API calls

Requirements

  • WordPress 5.0+
  • PHP 7.4+

License

This plugin is released under a Non-Commercial Open Source License.

  • Free for non-commercial use (local government, parish councils, charities, educational institutions)
  • Commercial use requires a separate license

For commercial licensing or support, contact:

NonaTech Services Ltd Email: stu.bevan@nonatech.co.uk Web: https://nonatech.co.uk

Support

For bug reports and feature requests, please use GitHub Issues.

Credits