Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

The office_staff post type allows employees to be imported and displayed in the offices.

Create the spreadsheet

This can be done in any spreadsheet software, but LibreOffice Calc is recommended since you'll need to use that to convert it later anyway:

  1. Create your header row. The columns should be:
    1. post_type
    2. post_status
    3. post_title
    4. post_author
    5. post_name
    6. name_first_meta
    7. name_middle_meta
    8. name_last_meta
    9. title_meta
    10. email_meta
    11. phone_office_meta
    12. phone_mobile_meta
    13. phone_fax_meta
    14. address_before_meta
    15. address_id_meta
    16. address_after_meta
    17. office_ids_staff_meta
    18. office_ids_leadership_meta
    19. social_facebook_meta
    20. social_twitter_meta
    21. bio_meta
    22. responsibilities_meta
  2. Populate data:
    1. post_type = office_staff
    2. post_status = publish
    3. post_title = (combine the first and last names into one column for the title (=H2&", "&F2))
    4. post_author = (1=webteam/admin, 105=Rachel, 828=Jeff)
    5. post_name = (optional slug)
    6. name_first_meta = (first name)
    7. name_middle_meta = (middle name)
    8. name_last_meta = (last name)
    9. title_meta = (Job title)
    10. email_meta = (email address)
    11. phone_office_meta = (office phone number)
    12. phone_mobile_meta = (mobile phone number)
    13. phone_fax_meta = (fax phone number)
    14. address_before_meta = (Text shown one line above address)
    15. address_id_meta = (id of the address that represents the staff member's physical office location. See below for key.)
    16. address_after_meta = (Text shown one line below address)
    17. office_ids_staff_meta = (Double pipe delimited list of office ids. See below for instructions & key.)
    18. office_ids_leadership_meta = (Double pipe delimited list of office ids. See below for instructions & key.)
    19. social_facebook_meta = (link to Facebook account)
    20. social_twitter_meta = (link to Twitter account)
    21. bio_meta = (Biography. Must be formatted/encoded. Instructions coming soon.)
    22. responsibilities_meta = (Double pipe delimited list of responsibilities. See below for instructions.)
post_typepost_statuspost_titlepost_authorpost_namename_first_metaname_middle_metaname_last_metatitle_metaemail_metaphone_office_metaphone_mobile_metaphone_fax_metaaddress_before_metaaddress_id_metaaddress_after_metaoffice_ids_staff_metaoffice_ids_leadership_metasocial_facebook_metasocial_twitter_metabio_metaresponsibilities_meta
office_staffpublishMurray, William1
WilliamJamesMurrayActorbmurray@uwsa.edu608555555560844444446083333333Text before address3646Text after address1950||2001||19461933||2377https://www.facebook.com/Bill-Murray-39529739799/?ref=br_rshttps://twitter.com/BillMurrayThis is some unformatted text.Responsibility One||Responsibility Two||Responsibility Three

Convert to CSV using LibreOffice

  1. Open the Excel Spreadsheet in LibreOffice, and choose Save As.
  2. Select the filetype of csv.
  3. Confirm you want to save the document as a Text CSF.
  4. On the options screen:
    1. Select UTF-8 as charset.
    2. Field delimiter as ,
    3. Text delimiter as "
    4. Check the Quote all text cells box.
  5. Select OK.

Import Into Wordpress

  1. Tools > Import > CSV.
  2. Once the import is complete, clean out the trash.

...

Add Offices/Appointments

If you have more than one responsibility to enter, separate them with a double pipe "||"

Code Block
titleDouble pipe delimited Office/Appointment
1950||2001||1946



Add Responsibilities 

If you have more than one responsibility to enter, separate them with a double pipe "||"

...

Address Key

As of 05/16/2018

IDAddress Title
3633UW-Oshkosh - Office of Internal Audit
3634UW-Green Bay - Office of Internal Audit
3635UW-Platteville - Office of Internal Audit
3636UW-Stout - Office of Internal Audit
3637UW-La Crosse - Office of Internal Audit
3638UW-Stevens Point - Office of Internal Audit
3639UW-Eau Claire - 2154 Old Library
3640UW-Eau Claire - 220 Schofield Hall
3641UW-Eau Claire - 729 Hibbard Hall
3642UW-Eau Claire - 730 Hibbard Hall
3643UW-Milwaukee - Office of Internal Audit
3644UW-Madison - Office of Internal Audit
3645W. Washington
3646Van Hise
3647Regent
4043UW-Whitewater - Internal Audit

To get an updated list of address IDs, use the following query.

...

Offices Key

As of 05/16/2018

IDOffice TitleParent Office
1950Academic Programs and Educational Innovation (APEI)Office of Academic & Student Affairs
2405Economic DevelopmentOffice of University Relations
2404Federal RelationsOffice of University Relations
2001Human ResourcesUW System Human Resources
1946Office of Academic & Student Affairs
2055Office of Administration
1967Office of Administrative ServicesOffice of Administration
1980Office of Budget & PlanningOffice of Finance
1969Office of Capital Planning & BudgetOffice of Administration
1964Office of Finance
1970Office of Financial AdministrationOffice of Finance
1933Office of General Counsel
3191Office of Information ServicesOffice of Learning and Information Technology Services
1997Office of Internal Audit
2009Office of Learning and Information Technology ServicesOffice of Administration
1954Office of Policy Analysis and Research (OPAR)Office of Academic & Student Affairs
1973Office of ProcurementOffice of Administrative Services
1974Office of Risk ManagementOffice of Administrative Services
2377Office of the Board of Regents
2015Office of the President
1971Office of Trust FundsOffice of Finance
1962Office of University Relations
2407State RelationsOffice of University Relations
2406Strategic CommunicationsOffice of University Relations
1956Student SuccessOffice of Academic & Student Affairs
2390UW Service CenterUW System Human Resources
3169UW Service Center Affinity GroupsUW Service Center
3170UW Service Center BenefitsUW Service Center
3172UW Service Center CommunicationsUW Service Center
3171UW Service Center FinanceUW Service Center
3173UW Service Center HRUW Service Center
3174UW Service Center PayrollUW Service Center
3176UW Service Center Professional DevelopmentUW Service Center
3175UW Service Center Project Management OfficeUW Service Center
3177UW Service Center ReconciliationUW Service Center
3178UW Service Center ReportingUW Service Center
3591UW System Human ResourcesOffice of Administration
1975UWSA Office & Building ServicesOffice of Administrative Services
2391Wisconsin Intercollegiate Athletic Conference (WIAC)

To get an updated list of office IDs, use the following query.

...