403Webshell
Server IP : 198.71.58.22  /  Your IP : 216.73.216.72
Web Server : Apache/2.4.62 (AlmaLinux) OpenSSL/3.2.2
System : Linux localhost 5.14.0-570.33.2.el9_6.x86_64 #1 SMP PREEMPT_DYNAMIC Thu Aug 14 07:37:35 EDT 2025 x86_64
User : root ( 0)
PHP Version : 8.3.24
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : ON
Directory :  /var/www/html/gladstonespeech.com/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/html/gladstonespeech.com//create_team_members.php
<?php
/**
 * Create Gladstone Speech team members.
 * Run: wp --allow-root eval-file create_team_members.php
 */

$members = [
    [
        'post_title'   => 'Gillian Gladstone Teran',
        'post_name'    => 'gillian-gladstone-teran',
        'post_content' => '<p>Nationally recognized Speech-Language Pathologist and IAOM Board Certified Orofacial Myologist with over 15 years of clinical and leadership experience. Gillian directs Gladstone Speech and specializes in speech, feeding, swallowing, and orofacial myofunctional disorders throughout the DC Metropolitan Area.</p>
<p>She holds a Master\'s degree from the University of Maryland and a Bachelor\'s from Miami University. Licensed in Maryland, Washington DC, and Virginia. Recognized as an expert mentor and consultant, Gillian presents to medical and dental professionals on oral motor development and orofacial myofunctional therapy.</p>',
        'post_excerpt' => 'Nationally recognized SLP and IAOM Board Certified Orofacial Myologist with over 15 years of clinical and leadership experience.',
        'medical_title'  => 'Owner / Speech-Language Pathologist | MA, CCC-SLP, COM',
        'short_about'    => 'Nationally recognized SLP and IAOM Board Certified Orofacial Myologist with over 15 years of clinical and leadership experience. Licensed in MD, DC, and VA.',
        'thumbnail_id'   => 3606,
    ],
    [
        'post_title'   => 'Grace Tung',
        'post_name'    => 'grace-tung',
        'post_content' => '<p>Grace earned her Bachelor\'s degree from the University of Rochester and her Master\'s degree from the University of Maryland. She has worked with clients of all ages — from preschool through adults — in school, clinic, and rehabilitation settings.</p>
<p>Her clinical experience includes articulation and phonological disorders, mixed receptive/expressive language disorders, cognitive disorders, AAC, apraxia, dysphagia, and oral motor disorders. Grace places a strong emphasis on teamwork with families and interdisciplinary teams to deliver patient-centered care. She is a DMV-area native and is licensed in Maryland and Virginia.</p>',
        'post_excerpt' => 'Speech-Language Pathologist with experience across all ages in school, clinic, and rehabilitation settings.',
        'medical_title'  => 'Speech-Language Pathologist | MA, CCC-SLP',
        'short_about'    => 'Experienced SLP working with all ages in school, clinic, and rehabilitation settings. Specializes in articulation, language, AAC, apraxia, and dysphagia. Licensed in MD and VA.',
        'thumbnail_id'   => 3603,
    ],
    [
        'post_title'   => 'Averi Cannon',
        'post_name'    => 'averi-cannon',
        'post_content' => '<p>Averi holds a Master\'s degree from Massachusetts General Hospital Institute of Health Professions and a Bachelor\'s from Loyola University Maryland. Her clinical background spans outpatient, hospital, and school settings across all age groups, with specialized training in pediatric feeding and medically complex cases.</p>
<p>As a Certified Lactation Counselor, Averi focuses on supporting the mother-child dyad for feeding success. She employs a patient and family-centered therapeutic approach, ensuring that families are empowered as active partners in care. Licensed in Maryland and Massachusetts.</p>',
        'post_excerpt' => 'SLP and Certified Lactation Counselor specializing in pediatric feeding and medically complex cases.',
        'medical_title'  => 'Speech-Language Pathologist, Certified Lactation Counselor | MS, CCC-SLP, CLC',
        'short_about'    => 'SLP and Certified Lactation Counselor with specialized training in pediatric feeding and medically complex cases. Licensed in MD and MA.',
        'thumbnail_id'   => 3586,
    ],
    [
        'post_title'   => 'Jamie Carlin',
        'post_name'    => 'jamie-carlin',
        'post_content' => '<p>Jamie began her career as an elementary school teacher, where she developed a deep passion for working with children and their families. She joined the Gladstone Speech team bringing her organizational strengths and dedication to pediatric care.</p>
<p>In her role as Office Manager, Jamie ensures that every client experiences a smooth and caring journey from first contact through ongoing care. She holds a Master\'s degree in Teaching and a Bachelor\'s degree in Psychology from Quinnipiac University, and remains committed to supporting children and their families.</p>',
        'post_excerpt' => 'Office Manager dedicated to creating a smooth, caring experience for every client and family.',
        'medical_title'  => 'Office Manager',
        'short_about'    => 'Former elementary school teacher who brings warmth and organizational excellence to every client interaction as our Office Manager.',
        'thumbnail_id'   => 3650,
    ],
];

foreach ( $members as $member ) {
    $post_data = [
        'post_title'   => $member['post_title'],
        'post_name'    => $member['post_name'],
        'post_content' => $member['post_content'],
        'post_excerpt' => $member['post_excerpt'],
        'post_status'  => 'publish',
        'post_type'    => 'team-member',
    ];

    $post_id = wp_insert_post( $post_data, true );

    if ( is_wp_error( $post_id ) ) {
        WP_CLI::warning( "Failed to create {$member['post_title']}: " . $post_id->get_error_message() );
        continue;
    }

    update_post_meta( $post_id, 'medical_title', $member['medical_title'] );
    update_post_meta( $post_id, 'short_about', $member['short_about'] );
    set_post_thumbnail( $post_id, $member['thumbnail_id'] );

    WP_CLI::success( "Created team member: {$member['post_title']} (ID {$post_id})" );
}

Youez - 2016 - github.com/yon3zu
LinuXploit