Skip to content

v1.2.0

Latest

Choose a tag to compare

@github-actions github-actions released this 01 Sep 19:14

= 1.2.0 =

  • Added: a separate event template per layout. List and grid can now show different blocks, added from the Events Query block's Layout settings. Splitting is opt-in per block, so existing content keeps rendering exactly as it did.
  • Added: a WordPress Playground demo blueprint, so the plugin can be tried in a browser without installing it.
  • Changed: switching between list and grid no longer reloads the page. The control is still a set of links, so it keeps working without JavaScript, and middle-click and modified clicks still open as they always did.
  • Changed: the view switcher's starting layout now follows the Events Query block it belongs to. The separate "Default view" setting has been removed — it was what allowed the control and the results to disagree. Blocks saved with a stale default are reconciled automatically on load.
  • Changed: every Events Query now starts with an Event Template container, matching the way the core Query Loop always carries a Post Template.
  • Changed: the view switcher draws real SVG icons, in the editor preview as well as on the front end.
  • Fixed: undoing a list/grid change in the editor did not revert it, and left the page permanently marked as having unsaved changes.
  • Fixed: splitting a template produced two templates that behaved as one — the list template was dropped and every layout rendered through the grid one.
  • Fixed: splitting a template could fail with an error and corrupt the block tree.
  • Fixed: "No events found." appeared beneath every event in the editor's previews.