LISTING RESULTS
Clairemont
Show Filters
Features
View Map Above

<?php
$terms = get_the_terms(get_the_ID(), 'listing-type');
if (!empty($terms) && !is_wp_error($terms)) {
// Filter to only parent terms
$parent_terms = array_filter($terms, function($term) {
return $term->parent === 0;
});
// If no parent terms, use all terms
if (empty($parent_terms)) {
$parent_terms = $terms;
}
// Get the first term
$first_term = reset($parent_terms);
echo esc_html($first_term->name);
}
?>New
Offers
Clairemont Medical Center
5289 Mt Etna Dr, San Diego, CA 92117
Clairemont Medical Center offers professional healthcare services.

<?php
$terms = get_the_terms(get_the_ID(), 'listing-type');
if (!empty($terms) && !is_wp_error($terms)) {
// Filter to only parent terms
$parent_terms = array_filter($terms, function($term) {
return $term->parent === 0;
});
// If no parent terms, use all terms
if (empty($parent_terms)) {
$parent_terms = $terms;
}
// Get the first term
$first_term = reset($parent_terms);
echo esc_html($first_term->name);
}
?>New
Offers
Mahshid Michelle Hamidi, MD – Associates in Family Medicine
5222 Balboa Ave, San Diego, CA 92117, USA
Now Accepting Telemedicine Visits | Michelle Hamidi, MD: Family Medicine Physician and Weight Loss &...