
內容簡介
Share Buttons & AI-powered Summaries 將每篇文章轉變為具備 AI 能力的目的地。它在分享按鈕旁生成可展開的 AI 摘要,並提供一鍵分享至主要社交網絡及領先的 AI 助手。
【主要功能】
• 生成可展開的 AI 摘要
• 一鍵分享至多個社交平台
• 支援多種 AI 提供者配置
• 自訂摘要格式與長度
• 內建編輯控制與手動生成選項
外掛標籤
開發者團隊
② 後台搜尋「Share Buttons & AI-powered Summaries」→ 直接安裝(推薦)
📦 歷史版本下載
原文外掛簡介
Share Buttons & AI-powered Summaries turns every post into an AI-aware destination. It generates an inline AI summary readers can expand next to the share buttons, and offers one-click sharing to every major social network and the leading AI assistants.
Among the first plugins to integrate the native WordPress 7.0 AI Connectors API: configure your AI provider once in Settings > Connectors (OpenAI, Anthropic, Google) and the plugin reuses those credentials — no API keys to manage, no extra accounts.
Inline AI Summary
Two-tier cascade: Level A uses the WordPress 7.0 AI Client; Level C is a built-in PHP extractive fallback with zero API cost on any WP 6.1+ install.
Choose your AI model and mode: pick the provider and model used to generate summaries, or leave it on Automatic to use a fast, cost-effective model instead of the newest, most expensive one. Set how generation behaves too: AI with extractive fallback, AI only, extractive only, or disabled.
Paragraph or bullet-list format: show the summary as prose (one paragraph per sentence) or as a concise bullet list, with configurable length (1-5 sentences or points).
Collapsible inline block with native
Editor controls in the block sidebar and the classic meta box: view, edit manually, regenerate on demand, hide per post (independently from the buttons).
Visitor-facing “Generate AI summary” button for posts without a stored summary, restrictable to extractive-only or open to the AI Client.
Async generation via WP-Cron. [ayudawp_aiss_summary] shortcode also available.
Sharing
Social networks: X (Twitter), LinkedIn, Facebook, Telegram, WhatsApp, Email, Raindrop, Reddit, Bluesky, LINE, Mastodon, Threads, Pinterest.
AI assistants: Claude, ChatGPT, Google AI, Gemini, Grok, Perplexity, DeepSeek, Mistral, Copilot, Qwen, Meta AI — each opens with a citation-ready prompt linking back to your URL.
6 visual styles, 4 sizes, custom colors, brand SVG icons, dark-mode auto-adaptation, drag-and-drop ordering. SEO-friendly ( or
Analytics
Click tracking per platform and per post, timeline chart with per-platform breakdown, period comparison (previous period, same period last year, custom range), CSV export.
Dashboard widget with 7-day sparkline. VigIA cross-reference (clicks vs. AI crawler visits) when active. Redis/Memcached compatible.
Why use it?
Cite your source naturally: when readers expand the summary or share to an AI assistant, your URL travels with the content.
Reach every audience: full social spectrum plus 11 AI assistants in one place.
Future-proof: built on WP 7.0 Connectors and a REST API ready for agentic clients.
External services
This plugin connects to third-party AI providers only when the inline AI Summary feature is enabled and an AI Connector is configured (or the WP AI Client is available). All other features — social and AI share buttons, click analytics, the extractive PHP fallback summary — run entirely on your own server and do not contact any external service.
AI Summary generation
When a post is saved (or when the editor / a visitor explicitly clicks “Regenerate” or “Generate AI summary”), the plugin uses the WordPress 7.0 AI Client (wp_ai_client_prompt()) to request a short summary from whichever provider you configured in Settings > Connectors. The plugin never stores your API keys — they are managed centrally by WordPress core.
What is sent:
Post title (plain text)
Post content (HTML stripped, up to ~3000 characters of plain text)
A short instruction asking the provider to return a summary
What is not sent: API keys (managed by core Connectors), visitor IP addresses, user accounts, analytics data, or any other personal data of your readers.
Possible destinations (depending on which Connector your administrator activates):
OpenAI — Terms of use · Privacy policy
Anthropic — Terms of service · Privacy policy
Google AI — Terms of service · Privacy policy
If you do not configure any Connector, or your WordPress version is below 7.0, the plugin falls back to the local PHP extractive summarizer and no external request is made.
How to opt out
Set AI Summary generation to Disabled in the AI Summary tab of the plugin settings.
Or choose Extractive only to keep summaries fully local — zero external requests, ever.
Or choose AI only while leaving no Connector configured — no requests will be sent, and summaries simply won’t be generated.
The visitor-facing “Generate AI summary” button is off by default; if enabled, you can additionally restrict it to the extractive PHP path so visitor clicks never reach an external provider.
Sharing buttons
The social and AI sharing buttons render as /
[ayudawp_share_buttons style="icons-only" icon_style="circular"]
[ayudawp_share_buttons show_title="true" title_text="Share or Summarize" title_style="h3"]
[ayudawp_share_buttons ai_title="Summarize with AI" social_title="Share" style="outline" show_icons="true"]
[ayudawp_share_buttons buttons="chatgpt,qwen,meta_ai,mastodon,threads" size="compact" style="brand"]
[ayudawp_share_buttons style="icons-only" icon_style="square" size="large"]
[ayudawp_share_buttons size="fluid" style="outline" show_icons="true"]
AI summary shortcode
The [ayudawp_aiss_summary] shortcode renders the AI-generated summary as a standalone collapsible block. Useful when you want to place the summary somewhere other than where the share buttons are auto-inserted, or when you have buttons disabled but still want to surface the summary.
post_id: Render the summary of a specific post
– Example: [ayudawp_aiss_summary post_id="123"]
– Defaults to the current post in the loop when omitted
The shortcode outputs nothing when the post has no stored summary, so it is safe to drop into templates without conditional wrappers.
CSS Customization Guide
The plugin uses CSS custom properties for all brand colors. You can override these in your theme to change any platform color globally:
Override platform colors:
.ayudawp-share-buttons {
–ayudawp-claude: #ff0000;
–ayudawp-chatgpt: #00ff00;
}
Main container classes:
– .ayudawp-share-buttons – Main wrapper container
– .ayudawp-buttons-container – Direct container for all buttons
– .ayudawp-title – Title element before buttons
– .ayudawp-section-title – Section title with extra top margin
– .ayudawp-aiss-centered – Applied when centered alignment is enabled
Button classes:
– .ayudawp-share-btn – Base class for all buttons (both and
Important notes:
– The use of !important is no longer needed for most overrides
– Use CSS custom properties to change brand colors cleanly
– Test on both desktop and mobile viewports
– Icons-only buttons have fixed dimensions (44px default, 36px compact, 54px large)
Technical Details
System requirements
WordPress 6.1 or higher (7.0+ for AI-generated summaries)
PHP 7.4 or higher (compatible up to PHP 8.4)
Theme compatible with wp_head() and wp_footer()
Performance features
Modular file structure for maximum efficiency
Selective loading of resources (CSS/JS only where buttons display)
No external dependencies
Optimized CSS with custom properties and minimal specificity
Lightweight SVG icons (under 1KB each)
Minimal database impact: analytics queries are cached (5 min) and compatible with persistent object cache (Redis, Memcached)
Smart responsive layouts
REST API for lightweight analytics data retrieval
Developer features
Clean, documented code
WordPress coding standards compliant
Hook-based architecture
Modular class structure in /includes folder
Extensible icon system using Simple Icons
Translation ready
Comprehensive shortcode API
SEO-friendly markup options
Post meta for individual exclusions
Centralized platform color definitions
Support
Need private support or custom development?
Do you need one-on-one help, priority troubleshooting, or a custom feature, integration, or tweak built specifically for your site? I offer private support and custom development. Just contact me and tell me what you need.
Need help or have suggestions?
Official website
WordPress support forum
YouTube channel
Documentation and tutorials
Love the plugin? Please leave us a 5-star review and help spread the word!
About AyudaWP
We are specialists in WordPress security, SEO, AI and performance optimization plugins. We create tools that solve real problems for WordPress site owners while maintaining the highest coding standards and accessibility requirements.
