Shortcodes
Shortcodes are the simplest way to embed a Kreebi Form into any WordPress post, page, or widget area. Just paste the shortcode where you want the form to appear.
Basic Usage
Every published form gets a unique numeric ID. Use it with the kreebi_form shortcode:
[kreebi_form id="123"]
Parameters
| Attribute | Type | Default | Description |
|---|---|---|---|
id | number | — | Required. The ID of the form to render. |
class | string | "" | Add custom CSS classes to the form wrapper. |
title | boolean | true | Whether to display the form title above the fields. |
ajax | boolean | true | Submit the form via AJAX without a full page reload. |
Examples
Hide the form title and add a custom class:
[kreebi_form id="123" title="false" class="my-custom-form"]
Disable AJAX submission (useful for debugging or when JavaScript is restricted):
[kreebi_form id="123" ajax="false"]
Usage in the Classic Editor
Simply paste the shortcode directly into the content area of the Classic Editor. Switch to the Text tab if the Visual tab reformats it.
Usage in the Block Editor (Gutenberg)
You have two options in Gutenberg:
- 1Shortcode Block — Add a Shortcode block and paste
[kreebi_form id="123"]into it. - 2Kreebi Forms Block — Search for "Kreebi Forms" in the block inserter. Select your form from the dropdown — no shortcode needed.
Usage in Page Builders
Most page builders (Elementor, Beaver Builder, Divi, WPBakery) include a shortcode or HTML module. Add the module to your layout and paste the Kreebi Forms shortcode. The form will render in the builder preview and on the frontend.