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 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:
- “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 WordCampWordCamp WordCamps are casual, locally-organized conferences covering everything related to WordPress. They’re one of the places where the WordPress community comes together to teach one another what they’ve learned throughout the year and share the joy. Learn more. 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?