Sumtics provides built-in shortcodes that let you display AI summary buttons and the floating AI button anywhere on your website, including posts, pages, widgets, and theme templates.
To view the available shortcodes, navigate to: Sumtics → Shortcodes & Help
Inline AI Summary Button Shortcode #
Use the following shortcode to display the External AI Summary Buttons manually on any post, page, widget, or template.
[sumtics_ai_summarize]
Available Attributes #
- models – Display specific AI models (e.g., ChatGPT, Gemini, Claude, Grok, Perplexity).
- length – Set the summary length (short, medium, or detailed).
- prompt – Add a custom prompt for AI-generated summaries.
Floating Button Shortcode #
Use the following shortcode to display the Floating AI Button anywhere on your website.
[sumtics_floating_button]
Available Attributes #
- post_id – Display the floating button for a specific post.
- models – Select which AI models to display.
- length – Set the summary length.
- prompt – Add a custom AI prompt.
- position – Choose the button position (e.g., bottom-right, bottom-left, top-right, top-left).
- tooltip – Customize the tooltip text.
- offset_x – Set the horizontal offset in pixels.
- offset_y – Set the vertical offset in pixels.
Tips #
- Shortcodes can be used in posts, pages, widgets, and theme templates.
- If no attributes are specified, Sumtics uses the global settings configured in the plugin.
- You can use multiple shortcodes on the same page if needed.