Insert additional custom elements with a WordPress shortcode.
Use the Shortcode block to write shortcodes which produce blocks.
This shortcode displays the current version of WordPress and PHP being run on the server.
[wp v p]
WordPress 5.2.2. PHP: 7.3.7
- 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.