Use Case
The unit info shortcode can be used to display hours, location and contact information for a unit.
How to Use
Default behavior
Code
[unit-info unit="aces"]
Result
Today : 08:30 AM - 05:00 PM
Saturday : Closed
Sunday : Closed
Monday : 08:30 AM - 05:00 PM
Tuesday : 08:30 AM - 05:00 PM
Wednesday : 08:30 AM - 05:00 PM
Thursday : 08:30 AM - 05:00 PM
1101 South Goodwin Avenue, Urbana, IL 61801
Adding attributes
Code
[unit-info unit="aces" address="false" title="Funk Library Hours:"]
Result
Funk Library Hours:
Today : 08:30 AM - 05:00 PM
Saturday : Closed
Sunday : Closed
Monday : 08:30 AM - 05:00 PM
Tuesday : 08:30 AM - 05:00 PM
Wednesday : 08:30 AM - 05:00 PM
Thursday : 08:30 AM - 05:00 PM
Required Attribute
- unit: empty
Default Attributes
- delimiter: ‘<br>’
- address: true
- hours: true
- label: true
Additional Attributes
- bold_label: ‘false’
- bold_value: ‘false’
- bold: ‘false’
- title: ”
- phone: ”
- email: ”
Unit List
NOTE: The list below contains all acceptable names, abbreviations, accronyms and their corresponding Library Directory ID for use with the shortcode. You may choose either one of the values available for the unit, including the unit id. For instance: “aces” or “funk” or “9” would return the same result.
- aces, funk: 9
- acquisitions, acq: 85
- administration, admin: 86
- acdc, agricultural communications and documentation center: 93
- ask, ask a librarian: 78
- ccb, childrens books, center for childrens books: 37
- cas, central access services: 38
- chem, chemistry: 76
- comm, communications: 5
- cam, content access management: 95
- digital content, dcc, digital content creation: 41
- digital humanities: 70
- digital libraries initiative: 42
- engineering, grainger: 1
- health sciences: 79
- illinois fire service institute, ifsi: 44
- ihlc, illinois history and lincoln collections: 31
- information sciences virtual: 32
- kolb proust archive for research: 61
- labor and employment, labor and employment relations digital: 28
- law: 29
- library information technology: 110
- life sciences data services: 128
- main: 80
- map: 16
- math, mathematics: 3
- mortenson, mcip, mortenson center for international programs: 77
- oak, oak street: 83
- collections, office of collections and technical services: 119
- advancement, office of advancement: 52
- research, office of research: 120
- user services, office of user services: 121
- preservation, preservation services: 39
- preservation services unit: 55
- rbml, rare book and manuscript : 22
- ris, research and information services: 18
- rds, research data service: 123
- sc, scholarly commons: 57
- sshel, social sciences health and education: 11
- sousa, sousa archives & center for american music: 59
- sdt, staff development and training: 68
- student life, student life and culture archives: 81
- arc, archives research center: 81
- tech services, technical services: 126
- archives, university archives: 13
- vet, veterinary medicine: 73