CTA Inline
cta_inline is a compact CTA for mid-page prompts. It keeps copy and actions in one bordered row on desktop and stacks cleanly on mobile.
When to Use
Use it between larger sections when you want to offer a next step without interrupting the page rhythm.
Usage
{{ cta_inline(
title="Need the full reference?",
action_1_text="Open shortcodes",
action_1_url="/docs/shortcodes/"
) }}Live Example
Need the full reference?
Every shortcode has a dedicated page with examples.
Parameters
| Parameter | Description |
|---|---|
container | Inner content width for the inline CTA. |
eyebrow | Small uppercase label above the title. |
title | CTA heading. |
description | Supporting copy next to the actions. |
action_1_text | Primary action label. |
action_1_url | Primary action URL. |
action_1_variant | Primary action style: solid, outline, or ghost. |
action_1_color | Primary action color token. |
action_2_text | Optional secondary action label. |
action_2_url | Optional secondary action URL. |
bg | Full-width section background token. |
class | Additional CSS classes on the outer section. |