'; echo ''; // Open Graph tags echo ''; echo ''; echo ''; echo ''; // Structured data $structured_data = array( '@context' => 'https://schema.org', '@type' => 'Dentist', 'name' => $business_name, 'description' => $meta_description, 'url' => get_permalink(), 'telephone' => $business_phone, 'priceRange' => '$$' ); if ($business_city && $business_state) { $structured_data['address'] = array( '@type' => 'PostalAddress', 'addressLocality' => $business_city, 'addressRegion' => $business_state ); } echo ''; } add_action('wp_head', 'dentist_seo_meta', 1); // Business hours function function is_business_open_now($hours_string) { if (empty($hours_string)) { return false; } if (preg_match('/(\d{1,2}):?(\d{2})?\s*(AM|PM)\s*[-–—]\s*(\d{1,2}):?(\d{2})?\s*(AM|PM)/i', $hours_string, $matches)) { $now = new DateTime(); $current_time = $now->format('H:i'); $open_minutes = !empty($matches[2]) ? $matches[2] : '00'; $close_minutes = !empty($matches[5]) ? $matches[5] : '00'; $open_time_str = $matches[1] . ':' . $open_minutes . ' ' . strtoupper($matches[3]); $close_time_str = $matches[4] . ':' . $close_minutes . ' ' . strtoupper($matches[6]); $open_time = DateTime::createFromFormat('h:i A', $open_time_str); $close_time = DateTime::createFromFormat('h:i A', $close_time_str); if (!$open_time || !$close_time) { return false; } $open_time_24 = $open_time->format('H:i'); $close_time_24 = $close_time->format('H:i'); if ($close_time_24 < $open_time_24) { return ($current_time >= $open_time_24 || $current_time <= $close_time_24); } return ($current_time >= $open_time_24 && $current_time <= $close_time_24); } return false; } // Main template get_header(); // Get post data efficiently $dentist_id = get_the_ID(); $meta_data = get_post_meta($dentist_id); $business_data = array( 'name' => isset($meta_data['name'][0]) ? sanitize_text_field($meta_data['name'][0]) : get_the_title($dentist_id), 'category' => isset($meta_data['category'][0]) ? sanitize_text_field($meta_data['category'][0]) : 'Dental Practice', 'site' => isset($meta_data['site'][0]) ? esc_url_raw($meta_data['site'][0]) : '', 'phone' => isset($meta_data['phone'][0]) ? sanitize_text_field($meta_data['phone'][0]) : '', 'full_address' => isset($meta_data['full_address'][0]) ? sanitize_text_field($meta_data['full_address'][0]) : '', 'city' => isset($meta_data['city'][0]) ? sanitize_text_field($meta_data['city'][0]) : '', 'state' => isset($meta_data['state'][0]) ? sanitize_text_field($meta_data['state'][0]) : '', 'latitude' => isset($meta_data['latitude'][0]) ? floatval($meta_data['latitude'][0]) : '', 'longitude' => isset($meta_data['longitude'][0]) ? floatval($meta_data['longitude'][0]) : '', 'rating' => isset($meta_data['rating'][0]) ? floatval($meta_data['rating'][0]) : 0, 'reviews' => isset($meta_data['reviews'][0]) ? intval($meta_data['reviews'][0]) : 0, 'working_hours' => isset($meta_data['working_hours'][0]) ? $meta_data['working_hours'][0] : '', 'facebook' => isset($meta_data['facebook'][0]) ? esc_url_raw($meta_data['facebook'][0]) : '', 'instagram' => isset($meta_data['instagram'][0]) ? esc_url_raw($meta_data['instagram'][0]) : '', 'x_twitter' => isset($meta_data['X-twitter'][0]) ? esc_url_raw($meta_data['X-twitter'][0]) : '', 'linkedin' => isset($meta_data['linkedin'][0]) ? esc_url_raw($meta_data['linkedin'][0]) : '' ); // Parse working hours $hours = array(); if (!empty($business_data['working_hours'])) { $decoded_hours = json_decode($business_data['working_hours'], true); if (json_last_error() === JSON_ERROR_NONE && is_array($decoded_hours)) { $hours = $decoded_hours; } } // Get related dentists efficiently $related_dentists = null; if (!empty($business_data['city'])) { $args = array( 'post_type' => 'dentists', 'posts_per_page' => 6, 'post__not_in' => array($dentist_id), 'meta_query' => array( array( 'key' => 'city', 'value' => $business_data['city'], 'compare' => '=' ) ), 'no_found_rows' => true, 'update_post_meta_cache' => false, 'update_post_term_cache' => false, 'fields' => 'ids' ); $related_dentists = new WP_Query($args); } ?>

( reviews)

Address

Phone

$business_data['facebook'], 'instagram' => $business_data['instagram'], 'x_twitter' => $business_data['x_twitter'], 'linkedin' => $business_data['linkedin'] )); if (!empty($social_links)): ?>

Social Media

- in ,

is a dental practice located at in , . The practice has received a -star rating from patients, indicating a strong reputation in the local community. Patients can reach the office at for appointments or inquiries.

Services Offered

As a , this practice offers a range of dental services including routine cleanings, dental exams, fillings, crowns, and preventive care. The practice focuses on providing comprehensive dental care to patients in the area.

Location & Contact Information

The practice is located at , serving patients in and surrounding areas. For appointments or inquiries, patients can call .

About

Frequently Asked Questions

sprintf('What dental services does %s offer?', $business_data['name']), 'answer' => sprintf('%s provides comprehensive dental care services specializing in %s. Services include routine cleanings, dental exams, fillings, crowns, root canals, teeth whitening, and preventive care.', $business_data['name'], $business_data['category']) ), array( 'question' => 'Do they accept dental insurance?', 'answer' => 'This practice accepts most major dental insurance plans. Patients can contact the office to verify if they accept specific insurance plans.' ), array( 'question' => 'Do they provide emergency dental care?', 'answer' => 'Yes, this practice offers emergency dental services for patients experiencing severe pain, broken teeth, or other urgent dental issues.' ), array( 'question' => 'What should patients expect during their first visit?', 'answer' => 'During the first visit, patients can expect a comprehensive dental examination, including X-rays if needed, a thorough cleaning, and a discussion about dental health goals.' ), array( 'question' => 'How do patients schedule an appointment?', 'answer' => 'Patients can schedule an appointment by calling the office during business hours. New patients are welcome, and the practice strives to accommodate same-day appointments when possible.' ) ); foreach ($faqs as $index => $faq): ?>

have_posts()): ?>

More Dentists in

Discover other dental practices in your area

have_posts() && $count < 6): $related_dentists->the_post(); $count++; $related_data = array( 'rating' => get_post_meta(get_the_ID(), 'rating', true), 'reviews' => get_post_meta(get_the_ID(), 'reviews', true), 'category' => get_post_meta(get_the_ID(), 'category', true), 'phone' => get_post_meta(get_the_ID(), 'phone', true), 'city' => get_post_meta(get_the_ID(), 'city', true) ); ?>