/* ============================================================ TREATMENT PAGES — AUTO-CREATE & TEMPLATE ============================================================ */ function sunnyglow_add_treatment_template($templates) { $templates['page-treatment.php'] = 'Treatment Page'; return $templates; } add_filter('theme_page_templates', 'sunnyglow_add_treatment_template'); function sunnyglow_ensure_treatment_pages() { $treatments = array( 'botox-anti-wrinkle-injections' => 'Botox & Anti-Wrinkle Injections', 'dermal-fillers' => 'Dermal Fillers', 'prp-microneedling' => 'PRP (Platelet-Rich Plasma) Microneedling', 'prp-hair-restoration' => 'PRP (Platelet-Rich Plasma) Hair Restoration', 'fat-dissolving-body-contouring' => 'Fat Dissolving & Body Contouring', 'iv-therapy-vitamin-shots' => 'IV Therapy & Vitamin Shots', 'sculptra-biostimulators' => 'Sculptra & Biostimulators', 'radiesse-collagen-stimulation' => 'Radiesse & Collagen Stimulation', 'mesotherapy-skin-boosters' => 'Mesotherapy & Skin Boosters', ); foreach ($treatments as $slug => $title) { $page = get_page_by_path($slug, OBJECT, 'page'); if (!$page) { $id = wp_insert_post(array( 'post_title' => $title, 'post_name' => $slug, 'post_content' => '', 'post_status' => 'publish', 'post_type' => 'page', )); if ($id && !is_wp_error($id)) { update_post_meta($id, '_wp_page_template', 'page-treatment.php'); } } else { if ($page->post_status !== 'publish') { wp_update_post(array( 'ID' => $page->ID, 'post_status' => 'publish', )); } $current_tpl = get_post_meta($page->ID, '_wp_page_template', true); if ($current_tpl !== 'page-treatment.php') { update_post_meta($page->ID, '_wp_page_template', 'page-treatment.php'); } } } } add_action('admin_init', 'sunnyglow_ensure_treatment_pages'); function sunnyglow_force_treatment_template($template) { $treatment_slugs = array('botox-anti-wrinkle-injections', 'dermal-fillers', 'prp-microneedling', 'prp-hair-restoration', 'fat-dissolving-body-contouring', 'iv-therapy-vitamin-shots', 'sculptra-biostimulators', 'radiesse-collagen-stimulation', 'mesotherapy-skin-boosters'); foreach ($treatment_slugs as $slug) { if (is_page($slug)) { $treatment_tpl = get_template_directory() . '/page-treatment.php'; if (file_exists($treatment_tpl)) { return $treatment_tpl; } } } return $template; } add_filter('template_include', 'sunnyglow_force_treatment_template', 99); function sunnyglow_get_treatment_url($slug) { $page = get_page_by_path($slug); if ($page && $page->post_status === 'publish') { return get_permalink($page->ID); } return home_url('/' . $slug . '/'); }
Personalized injectable and skin rejuvenation treatments designed to help you look refreshed, confident, and naturally beautiful.
From wrinkle reduction and facial rejuvenation to PRP, biostimulators, and IV therapy, every treatment is tailored to your goals and designed to deliver natural-looking results.
Reduce fine lines, soften wrinkles, and help prevent new ones from forming with expertly placed neuromodulator treatments. Enjoy a refreshed, natural-looking appearance with little to no downtime.