Skip to content

uw-asa/WP-UW-Classrooms

Repository files navigation

UW Classrooms Plugin

A plugin for CTE's classroom information pages at the University of Washington. Each building and classroom is a WordPress "page" with special metadata and taxonomy terms.

Taxonomies

location-type

'Building', 'Classroom', etc

document-type

'Instructions' or 'Schematic'

location-attributes

Metadata

uw-location-sys-id

This is the identifier for the location's record in ServiceNow, aka UW Connect.

uw-location-data

An associative array containing the location's data, as fetched from ServiceNow.

uw-access-url

A link to accessibility information for the building, i.e. the Facilities Services' Access Guide

uw-location-assets

Asset data assigned to this location, as fetched from ServiceNow and specially processed

uw-album-url

A link to the gallery for this room, i.e. specially tagged photos on Flickr

Shortcodes

[location]

Displays location metadata for the current location page

Attributes:

  • field: the field to fetch from uw-location-data

Example:

  [location field=u_fac_code]

[assets]

The data in uw-location-assets, formatted for display

[attributes]

Displays the hierarchy of location-attributes terms for this location

[accessibility]

Display a link to uw-access-url

[photoalbum]

Display a link to uw-album-url

[instructions]

Display a link to the instructions for this page. The instructions being any attachment of this page with document-type "Instructions"

[schematic]

Display the schematic for this page. The schematic being any attachment of this page with document_type "Schematic"

[buildings]

Display a formatted list of buildings. e.g. the pages with location_type "Building"

[classrooms]

Display a formatted list of classrooms. e.g. the child pages of a building page

Dependencies

The UW WordPress theme

PDF Image Generator

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published