Logo Lanfrica

ernestamart/ghana-districts-plugin

Domain:

digital infrastructure

Record type:

softwaretools
Creator:
ern
Host:
WordPress plugin for adding Ghana regions and districts dropdowns. Perfect for Ghanaian e-commerce, contact forms, and business websites. # Ghana Districts & Regions – Complete Address Fields > Replace messy city text fields with structured Ghana region and district dropdowns on any WordPress site. **Version:** 1.1.0 | **License:** GPL v2 or later | **Requires:** WordPress 5.0+, PHP 7.4+ Get the plugin on WPBay → --- ## What It Does Adds proper **Region** and **District** dropdown fields to any WordPress page, post, or Contact Form 7 form. When a user selects a region, the district dropdown automatically populates with the correct districts for that region — no page reload required. Covers all **16 Ghana regions** and **260+ districts** based on Ghana's current administrative structure. --- ## Features - **All 16 Ghana regions** — including the newest regions created in 2019 - **260+ districts** — complete, accurate database for all regions - **Smart cascading dropdowns** — district list updates instantly when a region is selected - **Shortcode support** — drop `[ghana_regions]` and `[ghana_districts]` anywhere - **Contact Form 7 integration** — native tag buttons appear in the CF7 form builder - **Multiple instance support** — use several dropdown pairs on the same page using groups - **Admin settings page** — shortcode reference and plugin info under Settings → Ghana Districts - **Minified assets** — loads `.min.css` and `.min.js` in production, full files in debug mode - **GPL-licensed** — open source, use freely on any site --- ## Screenshots ### District Selection (Shortcode) ### Contact Form 7 Integration ### CF7 Form Preview --- ## Installation 1. Download the plugin zip from WPBay 2. In your WordPress dashboard go to **Plugins → Add New → Upload Plugin** 3. Upload the zip and click **Install Now** 4. Click **Activate Plugin** **Or manually:** 1. Upload the `ghana-districts` folder to `/wp-content/plugins/` 2. Activate through **Plugins → Installed Plugins** --- ## Usage ### Shortcodes Place both shortcodes on the same page. Use the same `group` value to link them tog …