Place Postal Code Before City in Gravity Forms Address Fields

Here is a quick and undocumented fix for placing postal code before city name in address fields generated by Gravity Forms plugin:

add_filter( 'gform_address_display_format', 'place_zip_before_city' );

function place_zip_before_city() {
	return 'zip_before_city';
}

Use Contact Form 7 to collect business leads and enquiries? I created Storage for Contact Form 7 plugin which stores them safely in WordPress database.

Get it now for only $19 →

One Comment

  1. Eric says:

    Thank you for the fix ! Very usefull for me.

Leave a Reply