Postcodes4U Address Finder

Description

Postcodes4U Address Finder Lets you look up an address using a UK Postcode.

It allows Postcode Address Lookup to be added to your WooCommerce Checkout pages as well as Contact Form 7 and Gravity Form pages.

Easy integration into any other WordPress Page.

Also includes our own customisable Contact Form with Postcode lookup that can be added to any of your pages.

Please Note

THIS POSTCODE LOOKUP IS A UK ONLY SERVICE SO WILL NOT WORK FOR ANY OTHER COUNTRY.

THIS PLUGIN REQUIRES YOU TO REGISTER AT: http://www.postcodes4u.co.uk
WHERE YOU WILL RECEIVE 30 FREE CREDITS ON REGISTRATION

Additional Lookup Credits Can Be Purchased From as little as 1.4p per Postcode Lookup – going up to 5p per Postcode Lookup Depending on the volume of Lookups Purchased.

Credits are purchased using your account at http://www.postcodes4u.co.uk.

Technical features:

  • 100% user friendly, easy to install & remove
  • Lightweight, clean code
  • Works with WooCommerce 2.2.3 – 3.4.2
  • ContactForm 7 v4.0 – v5.0.2
  • GravityForms v2.3.1.12 – 2.3.2

Support

If you have questions or issues with the WordPress Postcodes4u Plugin then visit the support forum
https://wordpress.org/support/plugin/postcodes4u-address-finder and enter your query.
Or you can email us at support@postcodes4u.co.uk

Installation

To Install The Postcodes4u Plugin

  1. Install the plugin from your wordpress admin panel.

or

  1. Upload the Postcodes4U plugin folder to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress

Once the plugin has been activated a new page ‘Postcodes4u’ is created. This page, which isvisible to admin only, can be used to do local address lookups.

Configure Postcodes4u

The configuration settings for the Postcodes4u plugin can be accessed from the Postcodes4U page in the Settings menu.

Once Installed you will need to enter your Postcodes4U key and username which can be obtained from http://www.postcodes4u.co.uk.

When the key and user name has been entered, and your have turned ‘on’ Postcodes4u lookups (Postcodes4u Active) you can use the various integration options to add postcode lookups to your WordPress website.

WooCoommerce Integration

If you have WooCommerce installed and have have enabled WooCommerce Integration on the Postcodes4U page in the Settings menu your customers can use post code lookups in the checkout billing and shipping addresses to ensure accurate entry details.

There are additional options that allow you to control where the Postcodes4u postcode lookup will be displayed so it can better match you Theme.

Contact Form 7 Integration

If you have Contact Form 7 installed and have enabled Contact Form 7 Integration on the Postcodes4U page in the Settings menu you can add postcode lookup to a Contact Form.

This is displayed in detail in the following document.
http://www.postcodes4u.co.uk/support/Pc4u_CF7_SetupNotes.pdf.

This is summarised below:

First add the Postcodes4u address to the form where the Postcode field and Address selction dropdown is to be displayed using the new ‘field type/short code’ ‘pc4upostcode’.

[pc4upostcode Postcode]

The form fields fields that will contain the address details for the address lookup need to be set up with ID values

For the Company Name the field ID is pc4uCf7Company

… for Address Line 1 the ID is pc4uCF7Address1

… for Address Line 2 the ID is pc4uCF7Address2

… for Address Line 3 the ID is pc4uCF7Address3

… for Town/City the ID is pc4uCF7City

… for County the ID is pc4uCF7County

Please Note You only need to include the fields you need for the form, eg for a short address form you could just include Address Line1, Address Line2, Town/City and Postcode

..You just need to ensure that the required address fields are also in the email template

If you want to make the Postcode field ‘required’ simply place a ‘*’ after the postcode field eg [pc4upostcode* Postcode]

GravityForms Integration

If you have Gravity Forms installed and have enabled Gravity Forms Integration on the Postcodes4U page in the Settings menu you can add a Address Field with postcode lookup to a Gravity Form.

The plugin has replaced ‘Address‘ advanced field with ‘Pc4u Address‘. All existing Address fields will work as before, but now have Postcodes4u Lookup options available, together with a UK address option.
The Postcodes4u lookup options are on the ‘Appearance’ tab of the Address field in the form.
This includes controls to locally enable/disable the Postcode lookup on an individual address field, together with advanced positioning option,

This is displayed in detail in the following document, and it is recommended that you read these notes.
http://www.postcodes4u.co.uk/support/Pc4u_GravityForms_SetupNotes.pdf.

Postcodes4u Contact Form

We have provided a Customisable Postcode Lookup Contact form that can be added by simply placing a short code ‘[pc4u_contact_form]’ on the required page.
Full details on the customisation settings for the contact form are described in ‘Other Notes’.

To Add the Postcode Lookup Contact form use the following shortcode:

[pc4u_contact_form]

By default the short code will display the telephone and postal address fields but does not require them be be entered when the contact form is submitted.

To add a Contact Form that requires the telephone number and postal address to be present use the short code with attributes shown below:

[pc4u_contact_form musthavetelephone=”YES” musthaveaddress=”YES]

Postcodes4u Contact Form Customisation

A full list of the contact form attributes

contacttitle – Name of Contact Form – defaults to “Contact Us”

subjecttitle – Contact Form Subject Title – defaults to “Subject”

messagetitle – Contact Form Message Title – defaults to “Your Message”

showtelephone – Set to “TRUE” or “YES” to display telephone number input area, “FALSE” or “NO” to not display – Default is “YES”

musthavetelephone – Set to “TRUE” or “YES” if a telephone number must be included in the message,”FALSE” or “NO” to not display – Default is “NO”

showaddress – Set to “TRUE” or “YES” to display postal address input area, “FALSE” or “NO” to not display – Default is “YES”

musthaveaddress – Set to “TRUE” or “YES” if a postal address must be included in the message,”FALSE” or “NO” to not display – Default is “NO”

A Contact Form Shortcode example that sets all of the parameters follows:

[pc4u_contact_form contacttitle=”Send Us A Message” subjecttitle=”Message Subject” messagetitle=”Message” showtelephone=”YES” musthavetelephone=”YES” showaddress=”YES” musthaveaddress=”YES”]

FAQ

Installation Instructions

To Install The Postcodes4u Plugin

  1. Install the plugin from your wordpress admin panel.

or

  1. Upload the Postcodes4U plugin folder to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress

Once the plugin has been activated a new page ‘Postcodes4u’ is created. This page, which isvisible to admin only, can be used to do local address lookups.

Configure Postcodes4u

The configuration settings for the Postcodes4u plugin can be accessed from the Postcodes4U page in the Settings menu.

Once Installed you will need to enter your Postcodes4U key and username which can be obtained from http://www.postcodes4u.co.uk.

When the key and user name has been entered, and your have turned ‘on’ Postcodes4u lookups (Postcodes4u Active) you can use the various integration options to add postcode lookups to your WordPress website.

WooCoommerce Integration

If you have WooCommerce installed and have have enabled WooCommerce Integration on the Postcodes4U page in the Settings menu your customers can use post code lookups in the checkout billing and shipping addresses to ensure accurate entry details.

There are additional options that allow you to control where the Postcodes4u postcode lookup will be displayed so it can better match you Theme.

Contact Form 7 Integration

If you have Contact Form 7 installed and have enabled Contact Form 7 Integration on the Postcodes4U page in the Settings menu you can add postcode lookup to a Contact Form.

This is displayed in detail in the following document.
http://www.postcodes4u.co.uk/support/Pc4u_CF7_SetupNotes.pdf.

This is summarised below:

First add the Postcodes4u address to the form where the Postcode field and Address selction dropdown is to be displayed using the new ‘field type/short code’ ‘pc4upostcode’.

[pc4upostcode Postcode]

The form fields fields that will contain the address details for the address lookup need to be set up with ID values

For the Company Name the field ID is pc4uCf7Company

… for Address Line 1 the ID is pc4uCF7Address1

… for Address Line 2 the ID is pc4uCF7Address2

… for Address Line 3 the ID is pc4uCF7Address3

… for Town/City the ID is pc4uCF7City

… for County the ID is pc4uCF7County

Please Note You only need to include the fields you need for the form, eg for a short address form you could just include Address Line1, Address Line2, Town/City and Postcode

..You just need to ensure that the required address fields are also in the email template

If you want to make the Postcode field ‘required’ simply place a ‘*’ after the postcode field eg [pc4upostcode* Postcode]

GravityForms Integration

If you have Gravity Forms installed and have enabled Gravity Forms Integration on the Postcodes4U page in the Settings menu you can add a Address Field with postcode lookup to a Gravity Form.

The plugin has replaced ‘Address‘ advanced field with ‘Pc4u Address‘. All existing Address fields will work as before, but now have Postcodes4u Lookup options available, together with a UK address option.
The Postcodes4u lookup options are on the ‘Appearance’ tab of the Address field in the form.
This includes controls to locally enable/disable the Postcode lookup on an individual address field, together with advanced positioning option,

This is displayed in detail in the following document, and it is recommended that you read these notes.
http://www.postcodes4u.co.uk/support/Pc4u_GravityForms_SetupNotes.pdf.

Postcodes4u Contact Form

We have provided a Customisable Postcode Lookup Contact form that can be added by simply placing a short code ‘[pc4u_contact_form]’ on the required page.
Full details on the customisation settings for the contact form are described in ‘Other Notes’.

To Add the Postcode Lookup Contact form use the following shortcode:

[pc4u_contact_form]

By default the short code will display the telephone and postal address fields but does not require them be be entered when the contact form is submitted.

To add a Contact Form that requires the telephone number and postal address to be present use the short code with attributes shown below:

[pc4u_contact_form musthavetelephone=”YES” musthaveaddress=”YES]

Postcodes4u Contact Form Customisation

A full list of the contact form attributes

contacttitle – Name of Contact Form – defaults to “Contact Us”

subjecttitle – Contact Form Subject Title – defaults to “Subject”

messagetitle – Contact Form Message Title – defaults to “Your Message”

showtelephone – Set to “TRUE” or “YES” to display telephone number input area, “FALSE” or “NO” to not display – Default is “YES”

musthavetelephone – Set to “TRUE” or “YES” if a telephone number must be included in the message,”FALSE” or “NO” to not display – Default is “NO”

showaddress – Set to “TRUE” or “YES” to display postal address input area, “FALSE” or “NO” to not display – Default is “YES”

musthaveaddress – Set to “TRUE” or “YES” if a postal address must be included in the message,”FALSE” or “NO” to not display – Default is “NO”

A Contact Form Shortcode example that sets all of the parameters follows:

[pc4u_contact_form contacttitle=”Send Us A Message” subjecttitle=”Message Subject” messagetitle=”Message” showtelephone=”YES” musthavetelephone=”YES” showaddress=”YES” musthaveaddress=”YES”]

Do I need a Postcodes4U account to use this plugin?

Yes, you will need a Postcodes4U account in order to obtain your key and username. This is entered in the Postcodes ‘Settings’ Page.

Once you have registered you will then receive 30 free credits.

How do I get free credits

Register for an account at http://www.postcodes4u.co.uk for 30 free credits.

Purchasing Further Postcodes4u Credits

Using your account on http://www.postcodes4u.co.uk you can purchase additional Postcodes4u credits.

Do you offer address look-ups for other countries?

Currently we only offer address look ups to the UK.

Enabling Postcodes4u in the Woo Commerce Checkout

Ensure WooCommerce is installed and have set up the Postcodes4u key, Username, and Postcodes4u lookups are enabled (Postcodes4u Active) on the Postcodes4u settings page.

Then just select WooCommerce Integration ‘Show the Postcodes4u Lookup in WooCommerce Checkout’.

Adding Postcodes Lookups to Contact Form 7

Ensure WooCommerce is installed and have set up the Postcodes4u key, Username, and Postcodes4u lookups are enabled (Postcodes4u Active) on the Postcodes4u settings page.

To enable Contact Form 7 Integration select the Show the Postcodes4u Lookup in Contact Form 7 option.

Details on adding Postcodes4u lookups to a Contact 7 Form can be found in the Installation tab or you can download a simple setup guide here http://postcodes4u.co.uk/support/Pc4u_CF7_SetupNotes.pdf

Adding Postcodes Lookups to a GravityForms Form

Ensure GravityForms is installed and have set up the Postcodes4u key, Username, and Postcodes4u lookups are enabled (Postcodes4u Active) on the Postcodes4u settings page.

To enable GravityForms Integration select the Enable Gravity Forms Integration option.

Details on adding Postcodes4u lookups to a GravityForms Form can be found in the Installation tab or you can download a setup guide here http://postcodes4u.co.uk/support/Pc4u_GravityForms_SetupNotes.pdf

Woo Commerce Compatibility

Works,and tested with, WooCommerce 2.2.3 – 3.4.2 (The Current Version)

Contact Form 7 Compatibility

Works,and tested with, Contact Form 7 4.0 – 5.0.2 (The Current Version)

Gravity Form Compatibility

Works,and tested with, Gravity Forms 2.3.1.12 – 2.3.2

SUPPORT ISSUES

If you have questions or issues with the WordPress Postcodes4u Plugin then visit the support forum
https://wordpress.org/support/plugin/postcodes4u-address-finder and enter your query.
Or you can email us at support@postcodes4u.co.uk

Reviews

Awesome Support and Plugin

I can’t rate these guys highly enough! Support have been fantastic in accomodating what I needed from the plugin to get multiple lookups running on one CF7 form. Great work team, will be using you again for more clients!

Read all 1 review

Contributors & Developers

“Postcodes4U Address Finder” is open source software. The following people have contributed to this plugin.

Changelog

Version 1.5.1

  • Fixed GravityForms Lookup issue – Do not hide address if data present

Version 1.5.0

  • Add Support Gravity Forms
  • Checked Compatability with WordPress 4.9.6, WooCommerce 3.4.2 & Contact Form7 5.0.2

Version 1.4.2

  • Add Support for Multiple Contact Form 7 Postcode Lookup Forms on a page
  • Checked Compatability with WordPress 4.9.5, WooCommerce 3.3.4 & Contact Form7 5.0.1

Version 1.4.1

  • Fix Contact Form 7 Postcode ‘required field’ issue
  • Tidy up postcode lookup error messages.
  • Checked Compatability with WordPress 4.9.4 & WooCommerce 3.3.1

Version 1.4.0

  • Contact Form 7 Integration Added
  • Additional WooCommerce Address Positioning options added.
  • More control of Address County Display
  • Ability to display Addresses with more address lines
  • Tidied up Admin page.

Version 1.3.2

  • Updated for WooCommerce 3.2.6
  • Checked Compatability with WordPress 4.9.1

Version 1.3.1a

  • Fixed an issue with custom Postcode Lookup Forms

Version 1.3.1

  • Fixed an issue with WooCommerce Checkout Display

Version 1.3.0

  • Improvements to WooCommerce Address Display – Can Specify Alternate Positions for Postcode Lookup form fields.
  • Option to override WooCommerce Checkout Templates to ensure Postcodes4u Lookup is enabled if required. (But may loose any custom Theme Styling!).
  • Restored general Postcode Lookup Enable/Disable control.
  • Tidied up Admin page.

Version 1.2.5

  • Improvements to Alternative Address Display Option – Stops Company, Town, County or Postcode appearing in Address lines 1 & 2 if present elsewhere.

Version 1.2.4

  • Added an Alternative Address Display Option – Stops Company and Town appearing in Address lines 1 & 2.
  • Fixed an error with Woocommerce Shopping Address form – (Removed 2nd Postcode Field).
  • Checked Compatability with WordPress 4.6.1 and WooCommerce 2.6.8

Version 1.2.3

  • Styling Enhancements and Theme integration improvements.
  • Checked Compatability with WordPress 4.6 and WooCommerce 2.6.4

Version 1.2.2

  • Fix Issues with HTTPS Postcode Lookups.
  • Checked Compatability with WordPress4.4 and WooCommerce 2.4

Version 1.2.1

  • Admin Page Update – Allow HTTPS in WooCommerce.

Version 1.2

  • Added Shortcode customisable Contact Form with Postcode Lookup.

Version 1.1

  • Added WooCommerce Checkout Billing and Shipping Postcode Lookup Integration.

Version 1.0

  • Original ‘Blog’ form verion.