$img = wp_get_attachment_image_src($custom['leader_picture'][0]);?>
if($img[0]){?>
}else{ ?>
} ?>
if($custom['day'][0]){?>
Register
Day:
} ?>
if($custom['time_of_day'][0]){?>
Time of Day: 12:00 AM
} ?>
if($custom['start_date'][0]){?>
Start Date: 01/01/1970
} ?>
if($custom['location'][0]){?>
Location:
} ?>
if($custom['city'][0]){?>
For:
} ?>
if($custom['leader'][0]){?>
Leader:
} ?>
if($custom['leader_email'][0]){?>
Leader Email:
} ?>
if($custom['leader_phone'][0]){?>
Leader Phone:
} ?>
if($custom['childcare_available'][0]){?>
Childcare:
} ?>
if($custom['requirements'][0]){?>
Requirements:
} ?>
Register