Shortcodes 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.
Installation Instructions

To install this plugin, copy the command above to your terminal.

5/ 5
Rating: 5 out of 5 stars
Active Installs
282
Version
4.0.3
License
MIT
Compatibility
Craft 3, Craft 4, Craft 5
Last release
September 14, 2026
Activity (30 days)
0
Closed Issues
0
Open Issues
0
Merged PRs
0
Open PRs