
內容簡介
Share Buttons & AI-powered Summaries 外掛將每篇文章轉變為具備 AI 能力的目的地。它會在分享按鈕旁生成可擴展的 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.
Only where there is something to summarize: posts with fewer than 50 words of text get no summary, so the box never shows an AI reply saying there was nothing to summarize.
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.
Browser actions: a Copy link button and a native Share button that opens the device share sheet (reaching WhatsApp, Signal, Instagram, Messages or AirDrop), shown only where the browser supports it.
Google Preferred Source: a button that takes readers to the Google tool where they mark your site as a preferred source, with the clicks counted per post. It can go with the social networks, in a section of its own, or anywhere with the shortcode.
Where they show: inline before or after the content, through the [ayudawp_share_buttons] shortcode, or in a floating bar pinned to the left, the right or the bottom of the screen — on its own or alongside the inline block.
Compact on phones: optionally collapse the whole set behind a single Share button, or show a few buttons plus a More button, without touching the desktop layout.
6 visual styles, 4 sizes, custom colors, brand SVG icons, dark-mode auto-adaptation, drag-and-drop ordering, optional UTM tagging. 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.
Printing the blocks in theme hooks
Some themes rewrite the post content after WordPress filters it, for example to place ads, and end up duplicating whatever plugins added to it. For those, the ayudawp_aiss_content_anchors filter prints what goes before the content, what goes after it, or both, in an action of the theme instead:
add_filter( 'ayudawp_aiss_content_anchors', function ( $anchors ) {
$anchors['before'] = array( 'hook' => 'mytheme_before_content', 'priority' => 20 );
$anchors['after'] = array( 'hook' => 'mytheme_after_content', 'priority' => 1 );
return $anchors;
} );
The settings still decide whether the buttons and the summary show and where (before, after or both).
The stylesheet still loads in the head, exclusions and the floating bar keep working, and each block is printed once per page.
Leave an anchor as the_content to keep it inside the content.
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: the front end script is plain JavaScript and does not load jQuery
The floating bar ships its CSS and JS as separate files, loaded only where the bar is shown
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
Filters: ayudawp_aiss_floating_bar_buttons (which buttons the bar shows), ayudawp_aiss_show_floating_bar (whether it renders on a given request), ayudawp_aiss_utm_args (the campaign parameters added to a shared link), ayudawp_aiss_trusted_proxies (which addresses may set the forwarding header behind a CDN or load balancer), ayudawp_aiss_content_anchors (print the blocks in theme actions), ayudawp_aiss_summary_min_words (minimum length for a summary) and ayudawp_aiss_google_preferred_domain (the domain sent to Google)
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.
