Service Area Postcode Checker
Allow your users or customers to search their postcode from a custom list. Create multiple lists for Service Area, Delivery Area etc.
Want to contribute to the plguin? Check out the github:
Please consider donating if this plugin has helped you. – Most of our plugins are free, we also proved support for free and all donations, big and small, go towards the development of present and future plugins.
- Personalize the plugin with custom classes and text
- Personalize error and success messages
- Customise submit options
- Create multiple lists to search from
- Use shortcodes or widgets to display anywhere
- Redirect users or customers to URL if successful
- Lists accept Wildcard (*) parameter
- On/Off switch for both Checker and Display
- Numeric and alphanumeric postcodes accepted
Exmaple List Formats
Service Area Postcode Checker will accept all these postcode formats.
If you are using the shortcodes you need to include the list you want to search.
Accepted Parameters (Note if not found, the default settings on the Options page will fill the blanks)
list-select = “Default” *** REQUIRED ***
title-checker = “This is a Test Title”
message-success = “This is a Success Message”
class-success = “success-class”
message-error = “This is a Error Message”
placeholder = “Start Typing Your Postcode”
class-error = “error-class”
trigger-value = “4”
verify-integer = “on” // on or off
type-trigger = “on” // on or off
enable-enter = “on” // on or off
enable-button = “on” // on or off
button-class = “button-class”
button-txt = “Press Me”
redirect = “http://google.com”
title-display = “This is a Test Title”
class-display = “display-class”
class-bullet = “bullet-class”
The plugin creates 2 different widgets:
– 1 that displays the suburbs and postcodes into a selected list.
– 1 that displays an input box to check user or customer postcode from selected list
Settings created in the widget overide settings in the option page.
Demo & Help
Installation is simple.
- Upload the plugin files to the
/wp-content/plugins/directory, or install the plugin through the WordPress plugins screen directly.
- Activate the plugin through the ‘Plugins’ screen in WordPress
- From the menu click Postcode Checker Settings and input your suburb:postcode list.
- Insert Postcode Checker Input widget on one of your pages.
- (Optional) Insert Postcode Display Widget on one of your pages.
- I Get Invalid List: Contact Admin when using Shortcode
You need to include the correct list name when using shortcodes [sapc_checker list-select=”Default”]
- What is this plugin used for?
This plugin is mainly used for local businesses who need a plugin that helps their users search their service or delivery areas quickly and easily.
- Will it be updated?
Plugin will be updated as much as I can.
Contributors & Developers
“Service Area Postcode Checker” is open source software. The following people have contributed to this plugin.Contributors
Interested in development?
- Fixed Spelling error in code ( Thanks stefanos82 – GitHub )
- Fixed PHP include problem causing errors ( Thanks stefanos82 – GitHub )
- Fixed Plugin Header Issue
- Removed “Postcode Not Foun” in error message
- Added case insensitive check for postcodes.
- Added Update Placeholder Text from Options Page, Widget and Shortcode
- Removed PHP Deprecated Create_Function
- PHP function mispelled
- Removed Delete_Option for more testing
- Redirect JS Error Fixed
- Added Translations
- Corrected Success & Error Message bugs
- Fixed Small Code Imperfections
- Made List Name Checks Case Insensitive
- Fixed JS Button Bug – Class Typo
- Fixed Bug that caused some users to lose their postcodes on update.
- Fixed typo
- Fixed whitespace issue and Default Postcode List Issue
- Optimized Code and Functions
- Added Multiple List Function
- Added Wildcard Function
- Added URL Redirect on Success
- Add Multiple Searches on 1 Page
- Fixed Bug with WordPress.com
- Fixed Bug with typing trigger
- List now accepts postcodes only, or format postcode:suburb (or both)
- Fixed incorrect labels and hints
- Fixed Submit Button Issues
- Fixed couple of bugs in JS
- Fixed Bug with Verify Integer
- Fixed Bug in Display Widget
- Added Shortcodes for Checker and Display
- Updated Back end for easier use.
- Optimised Code
- Added more submitting options
- option to add button with custom text and custom class
- turn typing trigger on and off
- options added for pressing enter on input box
- fixed bug when enter was pressed would reload page
- Added admin option to allow Text Postcode for international users. If the Verify Integer checkbox is checked it will check if the users input is all integers / numbers.
- Added custom success / error messages
- Added custom input trigger length value