You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
[wpt_productions fields="thumbnail,title,summary"]and some more fields
2.
[wpt_event_ticket_button]
[wpt_event_ticket_button id=123]
button.mp4
Next steps
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
The text was updated successfully, but these errors were encountered:
carstingaxion
changed the title
Transform [wpt_productions] into query-block variation
POC: Transform [wpt_productions] into query-block variation
Feb 19, 2024
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.Bildschirmaufzeichnung.vom.19.02.2024.01.32.16.webm
Ressources
Steps I did
register_post_type()
arguments ofwp_theatre_prod
with:'show_in_rest' => true,
order
into block-attributesis 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]
button.mp4
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.
The text was updated successfully, but these errors were encountered: