For more details, see “Converting WordCamp Shortcodes to Gutenberg Blocks,” “WordCamp Block: Speakers,” and “WordCamp Block: Organizers and Sponsors.”
Our first iteration on the Schedule block 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:
- “Headings” are automatically inserted for each day. Both the text in these headings, and the settings, are editable. You can also remove these blocks.
- I’ve simplified the existing
speaker_linkandsession_linksettings. The current default parameter forspeaker_linkisanchor, andpermalinkforsession_link. Now, both defaults would bepermalink, 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 useanchorornone, or usewporgfor speakers, please tell me about your use case and provide a link to your WordCamp 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 shortcode?
- 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?