web_summarize_with_ai Shortcode
The web_summarize_with_ai shortcode creates links that ask selected third-party AI services to summarize the current public URL.
The attributes below match the current Page Builder controls and public output. Use raw syntax only for reviewed content that cannot be maintained through the visual controls.
Usage
[web_summarize_with_ai]
Attributes
| Attribute | Default | Accepted values | Purpose |
|---|---|---|---|
prompt_text |
Summarize the information and share the key insights from: {{url}} |
Plain text, up to 2,000 characters | Replace every {{url}} token with the consuming page permalink, or append the URL when the token is absent. Empty restores the default. |
enabled_platforms |
chatgpt,gemini,perplexity,grok,claude |
chatgpt, gemini, perplexity, grok, claude |
Choose where the summary prompt link should be available. |
icon_color |
14 |
Palette slot 1–15, or empty | Existing text-main-N helper; empty inherits. |
icon_bg_color |
9 |
Palette slot 1–15, or empty | Existing bg-main-N helper; empty is transparent. |
alignment |
center |
left, center, right |
Align the wrapping row through existing flex helpers. |
accessible_name |
Summarize this page with AI |
Plain text | Optional group label. Every link names its provider separately. |
device_visibility |
— | Space-separated web-hide-on-lg, web-hide-on-md, web-hide-on-sm, web-hide-on-xs |
Hide independently in the four theme device ranges. |
el_id |
— | Valid unique HTML ID | Enter section ID (Note: make sure it is unique and valid according to w3c specification). |
el_class |
— | String unless stated otherwise | If you wish to style particular content element differently, then use this field to add a class name and then refer to it in your css file. |
Verification
Confirm prompt_text contains {{url}} where the current URL should appear and enable only the intended services. Each link opens the third-party service in a new tab; the visitor decides whether to continue there. Verify the encoded prompt and review the site's privacy information before publication.
The gemini key opens Google AI Mode, not the Gemini app. Providers control their sign-in, availability, prompt-prefilling and submission behavior. These links are not a guaranteed API integration. No AI request runs while the page renders, and no extra public stylesheet or script is required.
Unknown or duplicate platform names are ignored; an empty platform selection or unavailable public destination outputs nothing. Reusable content follows the consuming page URL. Supported canonical archives work, but search requests do not forward their raw query. Do not put sensitive information in the prompt.
For Gutenberg authoring, see Offer AI summary links. Both versions share the same presentation and work without Page Builder administration enabled.