I encourage you to use an appropriate USPS mailing address format such as:
123 Easy Street
Anytown, MA 02333
See below the modification code you will want to include in your Dashboard click on Geodirectory click on THEME COMPATIBILITY and scroll down to css section down below:
1. Get rid of the COUNTRY because USPS does not display a country in the mailing address.
Copy and Paste to css below:
#geodir_post_country_row {display: none !important;}
2. Realign the format of your remaining address:
MAKE A BACKUP OF YOUR FTP, SQL, AND THEN MAKE YOUR CODE CHANGES:
Go to FTP and download a functions.php file in your supreme theme folder. Copy and paste code below to the bottom of your functions.php file. Remember to go back to your FTP and rename your original functions.php file to FUNCTIONS-ORIGINAL.php before you upload the revised functions.php file so you do not overwrite your original functions.php file.
//MODIFY BUSINESS ADDRESS ON LISTING DETAILS PAGE
add_filter(‘geodir_show_post_address’, ‘geodir_change_address_order’ , 100 , 2) ;
function geodir_change_address_order($html , $vars)
{
global $post, $preview, $wpdb;
$field_icon=”;
if (strpos($field_icon,’http’) !== false) {$field_icon_af = ”;}
elseif($field_icon==”){$field_icon_af = ‘<i class=”fa fa-home”></i>’;}
else{$field_icon_af = $field_icon; $field_icon=”;}
if(!$preview)
{
$html = ‘<p class=”” style=”clear:both;” itemprop=”address” itemscope itemtype=”http://schema.org/PostalAddress”>’;
$html .= ‘<span class=”geodir-i-location” style=”‘.$field_icon.'”>’.$field_icon_af;
$html .= ‘ ‘;
$html .= ‘</span>’;
//print_r($_POST);
$html .= ‘<br>’;
if($post->post_address){ $html .= ‘<span itemprop=”streetAddress”>’.$post->post_address.'</span><br>’;}
if($post->post_city){ $html .= ‘<span itemprop=”addressLocality”>’.$post->post_city. ‘ </span>’;}
if($post->post_region){ $html .= ‘<span itemprop=”addressRegion”>’.$post->post_region. ‘ </span>’;}
if($post->post_zip){ $html .= ‘<span itemprop=”postalCode”>’.$post->post_zip.'</span><br>’;}
$html .= ‘</p>’;
}
return $html ;
}
//END OF MODIFY BUSINESS ADDRESS ON LISTING DETAILS PAGE
Best of luck.