get_guests()); $bedrooms = absint($property->get_bedrooms()); $city = trim((string) $property->get_city()); $state = trim((string) $property->get_state_territory()); $location = $city; if ($city !== '' && $state !== '') { $location = $city . ', ' . $state; } elseif ($state !== '') { $location = $state; } ?> 0 || $bedrooms > 0) : ?>