SHOW:
|
|
- or go back to the newest paste.
1 | <?php | |
2 | /* | |
3 | Title: Credentials Select Box | |
4 | Post Type: provider | |
5 | - | piklist('field', array( |
5 | + | |
6 | - | 'type' => 'select' |
6 | + | |
7 | - | ,'scope' => 'post_meta' // Not used for settings sections |
7 | + | piklist('field', array( |
8 | - | ,'field' => 'Credentials' |
8 | + | 'type' => 'select' |
9 | - | ,'value' => 'Acupuncturist' // Sets default to Option 2 |
9 | + | ,'field' => 'Credentials' |
10 | - | ,'label' => __('Credentials') |
10 | + | ,'value' => 'Acupuncturist' |
11 | - | ,'description' => __('Credentials of the provider') |
11 | + | ,'label' => __('Credentials') |
12 | - | ,'choices' => array( |
12 | + | ,'description' => __('Credentials of the provider') |
13 | - | 'Acupuncturist' => 'Acupuncturist' |
13 | + | ,'position' => 'wrap' |
14 | - | ,'Alcohol/Drug Counselor' => 'Alcohol/Drug Counselor' |
14 | + | ,'choices' => array( |
15 | - | ,'Audiologist' => 'Audiologist' |
15 | + | 'Acupuncturist' => 'Acupuncturist' |
16 | - | ,'Biofeedback Technician' => 'Biofeedback Technician' |
16 | + | ,'Alcohol/Drug Counselor' => 'Alcohol/Drug Counselor' |
17 | - | ,'Certified Registered Nurse Anesthetist' => 'Certified Registered Nurse Anesthetist' |
17 | + | ,'Audiologist' => 'Audiologist' |
18 | - | ,'Christian Science Practitioner' => 'Christian Science Practitioner' |
18 | + | ,'Biofeedback Technician' => 'Biofeedback Technician' |
19 | - | ,'Clinical Nurse Specialist' => 'Clinical Nurse Specialist' |
19 | + | ,'Certified Registered Nurse Anesthetist' => 'Certified Registered Nurse Anesthetist' |
20 | - | ,'Clinical Psychologist' => 'Clinical Psychologist' |
20 | + | ,'Christian Science Practitioner' => 'Christian Science Practitioner' |
21 | - | ,'Clinical Social Worker' => 'Clinical Social Worker' |
21 | + | ,'Clinical Nurse Specialist' => 'Clinical Nurse Specialist' |
22 | - | ,'Dietician' => 'Dietician' |
22 | + | ,'Clinical Psychologist' => 'Clinical Psychologist' |
23 | - | ,'Doctor of Chiropractic (DC)' => 'Doctor of Chiropractic (DC)' |
23 | + | ,'Clinical Social Worker' => 'Clinical Social Worker' |
24 | - | ,'Doctor of Dental Medicine (DMD)' => 'Doctor of Dental Medicine (DMD)' |
24 | + | ,'Dietician' => 'Dietician' |
25 | - | ,'Doctor of Dental Surgery (DDS)' => 'Doctor of Dental Surgery (DDS)' |
25 | + | ,'Doctor of Chiropractic (DC)' => 'Doctor of Chiropractic (DC)' |
26 | - | ,'Doctor of Podiatric Medicine (DPM)' => 'Doctor of Podiatric Medicine (DPM)' |
26 | + | ,'Doctor of Dental Medicine (DMD)' => 'Doctor of Dental Medicine (DMD)' |
27 | - | ,'Licensed Practical Nurse' => 'Licensed Practical Nurse' |
27 | + | ,'Doctor of Dental Surgery (DDS)' => 'Doctor of Dental Surgery (DDS)' |
28 | - | ,'Marriage/Family Therapist' => 'Marriage/Family Therapist' |
28 | + | ,'Doctor of Podiatric Medicine (DPM)' => 'Doctor of Podiatric Medicine (DPM)' |
29 | - | ,'Massage Therapist' => 'Massage Therapist' |
29 | + | ,'Licensed Practical Nurse' => 'Licensed Practical Nurse' |
30 | - | ,'Medical Doctor (MD)' => 'Medical Doctor (MD)' |
30 | + | ,'Marriage/Family Therapist' => 'Marriage/Family Therapist' |
31 | - | ,'Midwife' => 'Midwife' |
31 | + | ,'Massage Therapist' => 'Massage Therapist' |
32 | - | ,'Naturopath' => 'Naturopath' |
32 | + | ,'Medical Doctor (MD)' => 'Medical Doctor (MD)' |
33 | - | ,'Neuropsychologist' => 'Neuropsychologist' |
33 | + | ,'Midwife' => 'Midwife' |
34 | - | ,'Nurse Midwife' => 'Nurse Midwife' |
34 | + | ,'Naturopath' => 'Naturopath' |
35 | - | ,'Nurse Practitioner' => 'Nurse Practitioner' |
35 | + | ,'Neuropsychologist' => 'Neuropsychologist' |
36 | - | ,'Nutritionist' => 'Nutritionist' |
36 | + | ,'Nurse Midwife' => 'Nurse Midwife' |
37 | - | ,'Occupational Therapist' => 'Occupational Therapist' |
37 | + | ,'Nurse Practitioner' => 'Nurse Practitioner' |
38 | - | ,'Optician' => 'Optician' |
38 | + | ,'Nutritionist' => 'Nutritionist' |
39 | - | ,'Optometrist' => 'Optometrist' |
39 | + | ,'Occupational Therapist' => 'Occupational Therapist' |
40 | - | ,'Osteopathic Doctor (DO)' => 'Osteopathic Doctor (DO)' |
40 | + | ,'Optician' => 'Optician' |
41 | - | ,'Pharmacist' => 'Pharmacist' |
41 | + | ,'Optometrist' => 'Optometrist' |
42 | - | ,'Physical Therapist' => 'Physical Therapist' |
42 | + | ,'Osteopathic Doctor (DO)' => 'Osteopathic Doctor (DO)' |
43 | - | ,'Physician Assistant' => 'Physician Assistant' |
43 | + | ,'Pharmacist' => 'Pharmacist' |
44 | - | ,'Professional Counselor' => 'Professional Counselor' |
44 | + | ,'Physical Therapist' => 'Physical Therapist' |
45 | - | ,'Registered Nurse' => 'Registered Nurse' |
45 | + | ,'Physician Assistant' => 'Physician Assistant' |
46 | - | ,'Respiratory Therapist' => 'Respiratory Therapist' |
46 | + | ,'Professional Counselor' => 'Professional Counselor' |
47 | - | ,'Speech Pathologist' => 'Speech Pathologist' |
47 | + | ,'Registered Nurse' => 'Registered Nurse' |
48 | - | ) |
48 | + | ,'Respiratory Therapist' => 'Respiratory Therapist' |
49 | - | ); |
49 | + | ,'Speech Pathologist' => 'Speech Pathologist' |
50 | ) | |
51 | )); | |
52 | ?> |