Versions Compared

Key

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

How to insert a custom schedule in a WordPress page (knowledge for the WordPress site editors)

the The short code takes two attributes:   builder and tags.

"The builder " attribute takes an integer that represent represents the event.:1 -

  1. for homecoming

...

  1. for reunion

"The tags " attribute takes one or more comma delimited tags that will be given to you buy the web team.  (Usually only one tag)can be found in the admin area of the builder.

To insert a custom schedule on a page, paste or write the On each class page, paste the according short code with the appropriate tag(s) that's given to you by the web team in the text tab of the WYSIWYG interface.

For example, for reunion class of 1938:

Code Block
[cornell_schedule builder=2 tags="CF2AB44D-FDC0-40E4-ACB720B25CFB87F0"]

For example, for homecoming Hotel school

Code Block
[cornell_schedule builder=1 tags="EAE391E4-C4FE-D301-9315DE20C97A04E4"]

The latter example will look like this in WordPress:

Image Modified

 

Doing so will automatically pull the related events from the Itinerary builder and insert the content them on the page in chronological order of time.

Image Modified 

 

About the plugin (knowledge for the web team)

The Itinerary builder itself is written built and maintained by Adam Palcich and his team.

We (web team) maintain a WordPress short code plugin that make API calls to Itinerary builder to fetch events data, format and sort by time, then display them on our WordPress site.

The short code plugin is at cornell-alumni/web/wp-content/plugins/cornell-schedule-shortcode/cornell-schedule-shortcode.php

the The short code takes two attributes:  builder and tags.

...

"tags" takes a comma separated list of tags from the admin panel of the itinerary builder.*

Where to get the tags

...

https://apps.univcomm.cornell.edu/itinerary-builder/?view=tags*

Example short code to enter on the alumni.cornell.edu website:

Code Block
[cornell_schedule builder=2 tags="CF2AB44D-FDC0-40E4-ACB720B25CFB87F0"]


Every year, we (web team) find all the class related tags, paste them in a spreadsheet, then share them with the user (reunion/homecoming web page editor), who will then enter the short code on each page that needs a schedule to be displayed.

Image Modified

 

There are two folders (reunion, homecoming) stored on alumni.cornell.edu Wordpress site server along with other static web pages.   The folders are given to us by Adam and are usually updated once a year when he makes changes.

...