Shortcodes

Place snippets inside posts, pages, generated pages, or page-builder blocks.

Default shortcode

[grafucci_snippet id="123"]

Replace 123 with the snippet ID shown in the library or editor. The snippet must be Active and set to Shortcode mode.

Custom shortcode tags

Each snippet can register a custom tag (for example [my_hero]) in the editor. Use the custom tag anywhere the default shortcode would go.

Page builders (Elementor, etc.)

Generated pages can bootstrap snippet output without pasting the literal shortcode into post content — useful when the page builder stores layout outside post_content. See Generated pages.

Examples

  • Embed an HTML promo block in one landing page
  • Run a Mixed snippet inside a generated page body
  • Keep PHP off global hooks but available on one page via shortcode
Execution panel with Shortcode selected
Execution → Shortcode — copy the tag into page content