Blocks

Blocks »Shortcode Block

shortcode is a WordPress-specific code that lets you do nifty things with very little effort. Shortcodes can embed files or create objects that would normally require lots of complicated, ugly code in just one line. Shortcode = shortcut.

The shortcode block can be added to a page by clicking on the Add Block button. It can be found in Widgets section. Alternatively, you can type /shortcode and press enter.

Shortcode Block Slash Command
Add shortcodes with a slash command.

Detailed instructions on adding blocks can be found here.

Block Toolbar

Unlike other common blocks, the shortcode block does not include any specific settings in the block toolbar or editor sidebar.

Shortcode Block Editor Sidebar
Shortcode Block Editor Sidebar

↑ Table of Contents ↑

Writing Your Shortcode

You may type your shortcode into the box provided or paste it from the available shortcodes.

Shortcode Block Interface
The shortcode block interface.

Not quite what you're looking for?

Get Help