jomarkosabel (March 7th, 2012)
$custom_fields = get_post_custom();
if ( !empty($custom_fields[$app_abbr.'_zipcode']) || !empty($custom_fields[$app_abbr.'_country']) ||
!empty($custom_fields[$app_abbr.'_state']) || !empty($custom_fields[$app_abbr.'_city']) ||
!empty($custom_fields[$app_abbr.'_street']) ) {
$gmap_active = true;
}
$custom_fields = get_post_custom();
if ( !empty($custom_fields[$app_abbr.'_zipcode']) || !empty($custom_fields[$app_abbr.'_country']) ||
!empty($custom_fields[$app_abbr.'_state']) || !empty($custom_fields[$app_abbr.'_city']) ||
!empty($custom_fields[$app_abbr.'_street']) || !empty($custom_fields[$app_abbr.'_area'])) {
$gmap_active = true;
}
jomarkosabel (March 7th, 2012)
There are currently 1 users browsing this thread. (0 members and 1 guests)