> Skip to content
FEATURED:
  • Public Perception of College
Sign In
  • News
  • Advice
  • The Review
  • Topics
    • Data
    • Diversity, Equity, & Inclusion
    • Finance & Operations
    • International
    • Leadership & Governance
    • Teaching & Learning
    • Scholarship & Research
    • Technology
    • The Workplace
    • Data
    • Diversity, Equity, & Inclusion
    • Finance & Operations
    • International
    • Leadership & Governance
    • Teaching & Learning
    • Scholarship & Research
    • Technology
    • The Workplace
  • Current Issue
  • Virtual Events
  • Store
    • Featured Products
    • Reports
    • Data
    • Collections
    • Back Issues
    • Featured Products
    • Reports
    • Data
    • Collections
    • Back Issues
  • Jobs
    • Find a Job
    • Post a Job
    • Career Resources
    • Find a Job
    • Post a Job
    • Career Resources
Sign In
  • News
  • Advice
  • The Review
  • Topics
    • Data
    • Diversity, Equity, & Inclusion
    • Finance & Operations
    • International
    • Leadership & Governance
    • Teaching & Learning
    • Scholarship & Research
    • Technology
    • The Workplace
    • Data
    • Diversity, Equity, & Inclusion
    • Finance & Operations
    • International
    • Leadership & Governance
    • Teaching & Learning
    • Scholarship & Research
    • Technology
    • The Workplace
  • Current Issue
  • Virtual Events
  • Store
    • Featured Products
    • Reports
    • Data
    • Collections
    • Back Issues
    • Featured Products
    • Reports
    • Data
    • Collections
    • Back Issues
  • Jobs
    • Find a Job
    • Post a Job
    • Career Resources
    • Find a Job
    • Post a Job
    • Career Resources
  • News
  • Advice
  • The Review
  • Topics
    • Data
    • Diversity, Equity, & Inclusion
    • Finance & Operations
    • International
    • Leadership & Governance
    • Teaching & Learning
    • Scholarship & Research
    • Technology
    • The Workplace
    • Data
    • Diversity, Equity, & Inclusion
    • Finance & Operations
    • International
    • Leadership & Governance
    • Teaching & Learning
    • Scholarship & Research
    • Technology
    • The Workplace
  • Current Issue
  • Virtual Events
  • Store
    • Featured Products
    • Reports
    • Data
    • Collections
    • Back Issues
    • Featured Products
    • Reports
    • Data
    • Collections
    • Back Issues
  • Jobs
    • Find a Job
    • Post a Job
    • Career Resources
    • Find a Job
    • Post a Job
    • Career Resources
Sign In
ADVERTISEMENT
Profhacker Logo

ProfHacker

Teaching, tech, and productivity.

  • Twitter
  • LinkedIn
  • Show more sharing options
Share
  • Twitter
  • LinkedIn
  • Facebook
  • Email
  • Copy Link URLCopied!
  • Print

Use WordPress and GCal To Create A Dynamic Course Calendar, Part 2

By  George Williams
November 15, 2010
Calendar icon

WordPress is a great tool for hosting your course content, and it’s not terribly hard to add a dynamic course calendar to your WordPress site. In part 1 of this tutorial, I reviewed how to make a public calendar of events in Google Calendar and then grab the

We're sorry. Something went wrong.

We are unable to fully display the content of this page.

The most likely cause of this is a content blocker on your computer or network.

Please allow access to our site, and then refresh this page. You may then be asked to log in, create an account if you don't already have one, or subscribe.

If you continue to experience issues, please contact us at 202-466-1032 or help@chronicle.com

Calendar icon

WordPress is a great tool for hosting your course content, and it’s not terribly hard to add a dynamic course calendar to your WordPress site. In part 1 of this tutorial, I reviewed how to make a public calendar of events in Google Calendar and then grab the ICS file. Below, I’ll show you first how to add a plugin that grabs the ICS file to display in WordPress and then how to custom format each event in that file. [If you’re just joining us, you might first take a look at these previously published posts: “WordPress a Better LMS,” “Create Your Syllabus With a Spreadsheet and a Calendar App,” and Part 1 of the current tutorial.]

A. Select “Plugins > Add New”

media_1288273032783.png

ADVERTISEMENT


B. Search for the “ICS Calendar” plugin

media_1288273103701.png

C. Install the “ICS Calendar” plugin

media_1288273220712.png

D. Activate the plugin

ADVERTISEMENT

media_1288273274876.png

E. Select “Settings > ICS Calendar”

media_1288273331775.png

F. Paste the address for the ICS file, then click “Save Changes"at the bottom of the page

media_1288274217331.png

ADVERTISEMENT


G. To display the calendar on your site, select “Pages > Add New”

media_1288274293731.png

H. Add the calendar to the page

media_1288274428721.png

  1. Name your page something like “Calendar,”
  2. Put "[show-ics-events]” into the body of the page, and
  3. Click “Publish”

I. Adjust the appearance of the information from the calendar

ADVERTISEMENT

  1. Go to “Settings > ICS Calendar.”
  2. Scroll down to “Formatting > Custom Event Format.”
  3. Make sure you’ve clicked “Yes” next to “Use custom format?”
  4. Add HTML tags to display the information any way you’d like. (See below)
  5. Experiment until you get things just the way you want them.

Now, each event has several different fields associated with it, and each of those fields is passed from the calendar to the plugin for display. If you like, you can let the plugin use its default settings to display the events. Alternately, you can use the following variables (each of which corresponds to a particular field) to customize the way information is displayed:

  • %date-time%: The start date, end date (if different), start time, and end time, all displayed together, for the event.
  • %start-date% The start date for the event.
  • %start-time% The starting time for the event.
  • %end-date% The end date for the event (will not display if the event only lasts one day).
  • %end-time% The ending time for the event.
  • %event-title% The title of the event.
  • %description% A description of the event (will not display if not provided)
  • %location% Where the event will take place (will not display if not provided.)

For example, I use the following combination of HTML and variables:

<p>

<div><strong>%start-date%</strong></div>

<div>%event-title%</div>

ADVERTISEMENT

<div style="margin-left: 1em;">%description%</div>

</p>

This results in a calendar where each event looks something like this completely hypothetical example:

ADVERTISEMENT

M Sep 20

Sir Gawain and the Green Knight

Read the last fit and be prepared to discuss poetic form.

ADVERTISEMENT

F Sep 22

The Tragical History of Doctor Faustus

Read the first third of the play as well the introductory essay.

Next time: Incorporating other calendars into the course calendar. Sometimes you’ll want to alert your students to events on campus or in the community.

How about you? Do you have an alternate method for creating a dynamic calendar like this? Tell us about it in the comments!

ADVERTISEMENT
ADVERTISEMENT
  • Explore Content
    • Latest News
    • Newsletters
    • Letters
    • Free Reports and Guides
    • Professional Development
    • Virtual Events
    • Chronicle Store
    • Chronicle Intelligence
    • Find a Job
    • Post a Job
    Explore Content
    • Latest News
    • Newsletters
    • Letters
    • Free Reports and Guides
    • Professional Development
    • Virtual Events
    • Chronicle Store
    • Chronicle Intelligence
    • Find a Job
    • Post a Job
  • Know The Chronicle
    • About Us
    • Write for Us
    • Work at The Chronicle
    • Our Reporting Process
    • Advertise With Us
    • Brand Studio
    • DEI Commitment Statement
    • Accessibility Statement
    Know The Chronicle
    • About Us
    • Write for Us
    • Work at The Chronicle
    • Our Reporting Process
    • Advertise With Us
    • Brand Studio
    • DEI Commitment Statement
    • Accessibility Statement
  • Account and Access
    • Manage Your Account
    • Manage Newsletters
    • Individual Subscriptions
    • Institutional Subscriptions
    • Subscription & Account FAQ
    Account and Access
    • Manage Your Account
    • Manage Newsletters
    • Individual Subscriptions
    • Institutional Subscriptions
    • Subscription & Account FAQ
  • Get Support
    • Contact Us
    • Reprints & Permissions
    • User Agreement
    • Terms and Conditions
    • Privacy Policy
    • California Privacy Policy
    • Do Not Sell My Personal Information
    Get Support
    • Contact Us
    • Reprints & Permissions
    • User Agreement
    • Terms and Conditions
    • Privacy Policy
    • California Privacy Policy
    • Do Not Sell My Personal Information
1255 23rd Street, N.W. Washington, D.C. 20037
© 2023 The Chronicle of Higher Education
  • twitter
  • instagram
  • youtube
  • facebook
  • linkedin