Shortcode Preview Block
Normal WordPress blocks do not show how a shortcode will look on the front end. This block renders the shortcode in the editor so you can check the result without opening the front end. How to use Add the Shortcode with Preview block. Enter a shortcode, for example [gallery] . The preview below the
Normal WordPress blocks do not show how a shortcode will look on the front end. This block renders the shortcode in the editor so you can check the result without opening the front end.
How to use
- 01Add the Shortcode with Preview block.
- 02Enter a shortcode, for example [gallery] .
- 03The preview below the field shows the rendered output.
- 01Upload the plugin files to /wp-content/plugins/shortcode-with-preview-block , or install it through the Plugins screen.
- 02Activate the plugin through the Plugins screen.
- 03Edit a post or page and insert the Shortcode with Preview block.
Frequently asked questions.
Does this replace the core Shortcode block?
No. Use this block when you want to see the rendered shortcode while editing.
Which WordPress version does this require?
WordPress 6.3 or newer, and PHP 7.2 or newer. It is tested with WordPress 7.1.