Search by

verbb / shortcodes

verbb

A Craft CMS plugin for creating reusable shortcodes that map to Twig templates.

Package info

github.com/verbb/shortcodes

Documentation

Type:craft-plugin

pkg:composer/verbb/shortcodes

Fund package maintenance!

verbb

Statistics

Installs: 13 275

Dependents: 0

Suggesters: 0

Stars: 8

Open Issues: 0

4.0.3 2026-09-14 10:32 UTC

This package is auto-updated.

Last update: 2026-10-01 03:39:56 UTC


README

Shortcodes icon

Shortcodes for Craft CMS

Shortcodes is a Craft CMS plugin that lets content carry small, reusable instructions that Twig turns into project-owned output. Give authors concise tokens for components or dynamic values without allowing arbitrary template code in the field.

Register a shortcode name and handler, then let authors place that token within supported text. Attributes carry the few values the component needs while the rendering logic remains in project code.

Features

  • Represent a reusable component with a concise shortcode token.
  • Pass controlled options without exposing Twig expressions to authors.
  • Define what each shortcode means in module or template code.
  • Update presentation centrally while stored content stays concise.
  • Process shortcodes inside the content formats selected by the project.
  • Use a shortcode within surrounding text or as a block-level component.
  • Add the component vocabulary the site needs rather than a fixed catalogue.

Documentation

Visit the Shortcodes Plugin page for all documentation, guides, pricing and developer resources.

Credit & Thanks

Originally created by Sam Hernandez.

Support

Get in touch with us via the Shortcodes Support page or by creating a Github issue

Sponsor

Shortcodes is licensed under the MIT license, meaning it will always be free and open source - we love free stuff! If you'd like to show your support to the plugin regardless, Sponsor development.

Verbb