WordCamp Block: Schedule

For more details, see “Converting WordCamp Shortcodes to Gutenberg Blocks,” “WordCamp Block: Speakers,” and “WordCamp Block: Organizers and Sponsors.”


Invision Prototype.

Our first iteration on the Schedule blockBlock Block is the abstract term used to describe units of markup that, composed together, form the content or layout of a webpage using the WordPress editor. The idea combines concepts of what in the past may have achieved with shortcodes, custom HTML, and embed discovery into a single consistent API and user experience. is going to be straightforward: display sessions as a grid.

I have grand ambitions for a future Schedule block that uses direct manipulation and allows you to rearrange sessions by dragging and dropping in the schedule itself, but that’s not going to be feasible in our first round of blocks.

Keep that scope in mind while reviewing this block.


Worth noting with this block:

  1. “Headings” are automatically inserted for each day. Both the text in these headings, and the settings, are editable. You can also remove these blocks.
  2. I’ve simplified the existing speaker_link and session_link settings. The current default parameter for speaker_link is anchor, and permalink for session_link. Now, both defaults would be permalink, and the other link values have been removed. Please comment if you have strong opinions on this. I did this to simplify the available options, but if you intentionally use anchor or none, or use wporg for speakers, please tell me about your use case and provide a link to your WordCampWordCamp A WordCamp is a conference where the WordPress community come together to teach one another what they’ve learned throughout the year and share the joy. https://central.wordcamp.org/about/. that I can check out. I want to understand your use case better!

Questions:

  • Would you use this block for your WordCamp?
  • Does this seem to give you more options, or less options, than working with the shortcodeShortcode A shortcode is a placeholder used within a WordPress post, page, or widget to insert a form or function generated by a plugin in a specific location on your site.?
  • Would these changes make it easier or harder to display content in a way that you like, on your WordCamp site?
  • Any other feedback or observations?
+make.wordpress.org/design