Shortcodes, blocks and forms
How Aimogen Pro exposes its features to content - 78 shortcodes, 23 Gutenberg blocks and the AI Forms builder - and which to use when.
Aimogen Pro exposes its functionality to content through three mechanisms.
Two kinds of shortcode#
Understanding the split saves confusion:
Generation shortcodes produce content when the page renders, then cache it. [aicontent],
[aimogen-article], [aimogen-image] and its provider variants. The visitor sees finished content and
never knows AI was involved.
Form shortcodes render an interface the visitor uses. [aimogen-chat-form],
[aimogen-text-completion-form], the -generator-form variants. The visitor supplies input and triggers
generation.
Both spellings work#
Most shortcodes are registered twice — once as aimogen-… and once as aiomatic-… — pointing at the
same callback. Content written before the rename keeps working, and new content can use either.
A few newer shortcodes exist only under the aimogen name:
[aimogen_post_creator][aimogen_user_remote_chatbot][aimogen_demo_description]
[aicontent] has only ever had one name.
See Legacy Aiomatic identifiers.
Where shortcodes work#
Anywhere WordPress runs shortcodes: post content, page content, widgets, and template code through
do_shortcode().
They also resolve inside plugin prompt fields, which is more useful than it sounds. A rule prompt can
contain [aicontent] to generate part of itself, and OmniBlock parameters can contain shortcodes from
other plugins. Nested shortcodes are supported.
Shortcode or block?#
| Shortcode | Block | |
|---|---|---|
| Where it works | Everywhere | The block editor |
| Configuration | Attributes typed by hand | A settings panel |
| Discoverability | You need to know it exists | Visible in the inserter |
| Precision | Every attribute available | The exposed options |
The blocks are wrappers around the same callbacks, so they render identically. Use blocks for editors who should not be typing attributes; use shortcodes when you need an attribute the block does not expose.
Related#
Still stuck? Open a support ticket and include the diagnostics from Aimogen Pro › System & Logs › System Info.