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 short code takes two attributes:  builder and tags.

"builder" takes an integer that represent the event.

1 - homecoming

2 - reunion

"tags" takes one or more comma delimited tags that will be given to you buy the web team.  (Usually only one tag)

On each class page, paste the according short code with the tag(s) that's given to you by the web team.

...

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

For example, for homecoming Hotel school

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

...

Image Added

 

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

Image Added

 

 

About the plugin (knowledge for the web team)

...

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

the short code takes two attributes:  builder and tags.

"builder" takes an integer that represent the event.

1 - homecoming

2 - reunion

"tags" takes a comma separated list of tags from the admin panel of the itinerary builder. on the alumni.cornell.edu website:
[cornell_schedule builder="reunion" tags="CF2AB44D-FDC0-40E4-ACB720B25CFB87F0"]

* 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:
[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.

...