From all the Shortcodes, [wpt_productions] seemed to be the best candidate to validate the idea of using block-transforms on the existing shortcodes to migrate into the new era of blocks.
I would go on creating dedicated issues for each shortcode. This should help while developing and documenting the necessary steps, parameters, fields and use-cases.
Create transforms for all existing shortcodes and all its parameters to achieve best compatibility with existing installations
From all the Shortcodes,
[wpt_productions]
seemed to be the best candidate to validate the idea of using block-transforms on the existing shortcodes to migrate into the new era of blocks.https://github.com/slimndap/wp-theatre/assets/198883/55468ccc-71a9-4259-896d-a42bb6d290e1
Ressources
Steps I did
register_post_type()
arguments ofwp_theatre_prod
with:'show_in_rest' => true,
order
into block-attributes is working for most, not all attributes out of the box{{excerpt}}
into innerBlocksworking, so far
1.
[wpt_productions]
[wpt_productions limit=1]
[wpt_productions cat=2]
[wpt_productions post__not_in=11,12]
[wpt_productions order=desc]
[wpt_productions limit=8 cat=2 post__not_in=11,12 order=desc]
[wpt_productions fields="thumbnail,title,summary"]
and some more fields2.
[wpt_event_ticket_button]
[wpt_event_ticket_button id=123]
https://github.com/slimndap/wp-theatre/assets/198883/0d236850-50ce-4d55-8524-fef8c95e7180
Next steps
I think, that all of this, could be done independently from our decisions whether to carry out an own event-management solution or not.