$categories = wp_get_post_categories($post->ID);
$cat_text = get_category($categories[0]);
if ($cat_text->name == 'Uncategorized') {
$cat_text->name = "";
}
?>
if ($type == 'development') { echo "
"; } ?>
if ($images = get_posts(array(
'post_parent' => $post->ID,
'post_type' => 'attachment',
'numberposts' => -1,
'orderby' => 'title',
'order' => 'ASC',
'post_mime_type' => 'image',
'exclude' => $thumb_ID,
))) {
if (count($images) == 1) {
}
else {
?>
}
}
?>
if ($type == 'development') { ?>
foreach($images as $image) {
echo '';
echo "";
echo "";
}
?>
echo($meta['wpcf-google-maps'][0]);
echo($meta['wpcf-address'][0]);
if($meta['wpcf-development_website'][0]) {
echo "";
}
if($meta['wpcf-pdf_link'][0]) {
echo "";
}
?>