Use the Shortcode block to write shortcodes which produce blocks.
Please set featured image
This shortcode displays the current version of WordPress and PHP being run on the server.
[wp v p]
WordPress 5.3.2. PHP: 7.3.16
- Suitable for shortcodes which produce blocks.
- Do not use for inline shortcodes.
- May fail to cater for new lines in block content.
- The shortcodes are not rendered in the editor but are invoked when the post is viewed.
- Shortcode blocks are almost impossible to use in columns.