Shortcode

A shortcode is a text command inside square brackets [like this] that is inserted in a post, page, or text widget to tell your site to display certain content there. A common shortcode that is built in to WordPress is [gallery], which displays selected pictures in the page or post where the shortcode is inserted.

Additional language within the shortcode brackets may further specify what content to display, or how to display it, e.g. [gallery type=”slideshow”].

Some shortcodes are built in to WordPress, while others can be added (to self-hosted WordPress only) using plugins.

Click here for a list of WordPress.com built-in shortcodes
Click here for a list of self-hosted WordPress built-in shortcodes

Some themes for self-hosted WordPress do not support using shortcodes in a text widget.

« Back to Glossary Index