Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Events: Swap out google maps on homepage for event list. #1133

Merged
merged 3 commits into from
Dec 7, 2023

Conversation

StevenDufresne
Copy link
Contributor

In order to use the event-list block on the front-page.html, we need to make the grouping optional.

This PR adds that functionality and swaps out the block on the homepage.

There is an incidental change where wp-block-wporg-google-map is removed from the block because:

  1. We aren't using to style
  2. The map block looks for that class and hides the block. Not sure why yet, probably don't need to investigate.

Users can control the grouping as follows:

<!-- wp:wporg/event-list {"groupByMonth":"true","limit":"500"} /-->

@StevenDufresne StevenDufresne force-pushed the event-list/group-conditionally branch from 8c15c1d to 565e094 Compare December 7, 2023 04:37
@StevenDufresne StevenDufresne merged commit eb2aa33 into production Dec 7, 2023
3 checks passed
@StevenDufresne StevenDufresne deleted the event-list/group-conditionally branch December 7, 2023 04:42
@iandunn iandunn added this to the Events: Promotion milestone Dec 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants