Skip to content

Conversation

@coreymckrill
Copy link
Contributor

@coreymckrill coreymckrill commented Nov 21, 2020

Adds some new functions for retrieving and caching events from the wporg_events database table (same table used by the Official WordPress Events plugin, and the Events API). In this case it is only pulling meetup events from the one group that is being used to organize these discussion groups. Up to three events will be displayed in a new section on the Learn front page. The events' date and time are rendered in UTC, and then progressively updated via JavaScript to show the site visitor's presumed local timezone, based on the timezone setting of their browser.

Fixes #143

Screenshot

discussion-groups

@coreymckrill coreymckrill added [Component] Learn Theme Website development issues related to the Learn theme. [Component] Content Website development issues related to the content on Learn. labels Nov 21, 2020
@coreymckrill coreymckrill added this to the 2nd Iteration milestone Nov 21, 2020
@coreymckrill coreymckrill self-assigned this Nov 21, 2020
@coreymckrill coreymckrill marked this pull request as ready for review November 24, 2020 19:59
Copy link
Collaborator

@hlashbrooke hlashbrooke left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks great! I'm happy to ship this.

@coreymckrill coreymckrill merged commit 9b2a9f2 into trunk Dec 1, 2020
@coreymckrill coreymckrill deleted the fix/143/upcoming-discussions branch December 1, 2020 20:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

[Component] Content Website development issues related to the content on Learn. [Component] Learn Theme Website development issues related to the Learn theme.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add “Upcoming discussion groups” list after “Recent workshops”

3 participants