=== AI Share & Summarize === Contributors: fernandot,ayudawp Tags: claude, chatgpt, ai, share, social Requires at least: 5.0 Tested up to: 6.8 Stable tag: 1.0.7 Requires PHP: 7.4 License: GPLv2 or later License URI: https://www.gnu.org/licenses/gpl-2.0.html Share on social media and generate summaries with citations from all the top AIs (Claude, ChatGPT, Google AI - Gemini, Grok, Perplexity). == Description == **AI Share & Summarize** is the first free plugin published in WordPress.org that combines traditional social media sharing with the innovative functionality of generating summaries while citing the source in the top artificial intelligences. = Main features = * **Social networks**: X (Twitter), LinkedIn, Facebook, Telegram, WhatsApp, Email, Raindrop * **Artificial intelligences**: Claude, ChatGPT, Google AI (Gemini), Grok, Perplexity * **Smart automatic insertion**: Configure exactly where and on which content types to display buttons * **Granular control by content type**: Choose specific post types (posts, pages, products, etc.) * **Customizable AI prompt**: Configure the message sent to AIs for better summaries * **Customizable title**: Change the text before buttons and choose heading style (h3-h6 or span) * **Multiple insertion modes**: Before content, after content, both positions, or shortcode only * **4 visual styles**: Default, brand colors, minimal, and dark backgrounds * **Button ordering**: Social first, AI first, or mixed arrangement * **Fully responsive**: Adapts to any device and theme * **SEO optimized**: Nofollow links and target="_blank" by default * **Lightweight**: Optimized file structure for ultra-fast loading * **Accessible**: Complies with web accessibility standards = Why use this plugin? = This plugin helps you to: 1. **Generate natural backlinks**: When users summarize your content with AI, they cite your source 2. **Increase your reach**: Combine traditional social sharing with AI power 3. **Build authority**: Your content becomes a reference source for future queries 4. **Boost engagement**: Users can interact with your content in multiple ways 5. **Stay ahead**: Be among the first to leverage AI for content distribution = Advanced configuration = * **Smart automatic insertion**: Choose exactly where to insert buttons (before, after, both, or disabled) * **Content type control**: Select specific post types from all registered in your WordPress * **Custom AI prompt**: Optimize the message sent to AIs for better summaries with citation * **Custom title text**: Configure the text shown before buttons or hide it completely * **Title style control**: Choose between h3, h4, h5, h6 or span for the title element * **X/Twitter mentions**: Configure your profile for automatic mentions in shares * **Custom additional text**: Add personalized text to AI prompts * **Visual styles**: 4 predefined styles adaptable to any theme * **Button ordering**: Organize buttons as social first, AI first, or mixed * **Shortcode flexibility**: Use `[ayudawp_share_buttons]` anywhere with custom parameters = Special AI features = * **Google AI integration**: Automatically copies prompt to clipboard and opens Gemini * **Optimized prompts**: Pre-configured messages for best summary results with citation * **Direct links**: Each AI opens with the complete prompt ready to process * **Source citation**: All prompts automatically include your content URL as source = Compatibility = * Supports any WordPress theme following standards * Works with Custom Post Types automatically * Optimized for WooCommerce products * Compatible with page builders (Elementor, Gutenberg, etc.) * Multi-language ready with automatic translations * No external dependencies or conflicts == Installation == = Automatic installation = 1. Go to Plugins > Add New in your WordPress admin 2. Search for "AI Share & Summarize" 3. Click "Install Now" and then "Activate" 4. Go to Settings > AI Share & Summarize to configure = Manual installation = 1. Download the plugin ZIP file 2. Go to Plugins > Add New > Upload Plugin 3. Select the ZIP file and click "Install Now" 4. Activate the plugin 5. Configure in Settings > AI Share & Summarize = Complete setup = 1. **Go to Settings > AI Share & Summarize** 2. **Select enabled buttons**: Choose which social networks and AIs to display 3. **Configure automatic insertion**: - Choose position: Before content, after, both, or disabled (shortcode only) - Select content types: Posts, pages, products, or any Custom Post Type 4. **Customize AI prompt**: Modify the default text if desired (excellent default included) 5. **Configure title**: Change the text before buttons and choose heading style 6. **Configure X mentions**: Add your Twitter/X handle for automatic mentions 7. **Choose visual style**: Default, brand colors, minimal, or dark backgrounds 8. **Set button order**: Social first, AI first, or mixed arrangement 9. **Save changes** **Manual insertion with shortcode:** - Basic: `[ayudawp_share_buttons]` - Specific buttons: `[ayudawp_share_buttons buttons="claude,twitter,linkedin"]` - Custom style: `[ayudawp_share_buttons style="minimal" show_title="false"]` - Custom title: `[ayudawp_share_buttons title_text="Custom title" title_style="h3"]` == Frequently Asked Questions == = Is this plugin completely free? = Yes, AI Share & Summarize is 100% free with all features included. = Will it slow down my website? = No. The plugin is ultra-optimized with only 4 files and loads resources only when needed. = Can I customize the visual appearance? = Yes, you can choose from 4 predefined styles: - **Default**: Clean design with white backgrounds - **Brand**: Each platform's characteristic colors - **Minimal**: Transparent with borders only - **Dark**: Optimized for dark backgrounds = Can I change the title before the buttons? = Yes, you can: - Change the text to anything you want - Choose the HTML element: h3, h4, h5, h6, or span - Hide the title completely by leaving the text field empty = How does automatic insertion work? = You have complete control: - **Before content**: Buttons appear before the post text - **After content**: Buttons appear after the post text - **Both positions**: Buttons in both locations - **Disabled**: Use only shortcode `[ayudawp_share_buttons]` Plus, you choose exactly which content types display buttons. = Can I control which content types show buttons? = Absolutely. You can select from all post types registered in your WordPress: - Posts, pages, WooCommerce products - Custom Post Types (portfolios, testimonials, etc.) - Complete granular control per content type = How do I customize the AI prompt? = In Settings > AI Share & Summarize you'll find: - **Default prompt**: Pre-optimized for best results with citation - **Custom text field**: Add personalized text to all AI prompts - **X handle**: Configure automatic mentions in social shares - The plugin automatically adds your content URL as source = What happens if an AI changes its URL? = We continuously monitor and update all AI links to ensure they work correctly. = Can I use only specific buttons? = Yes, with the shortcode you can display only the buttons you want: `[ayudawp_share_buttons buttons="claude,chatgpt,twitter"]` = Is it GDPR compliant? = Yes, the plugin doesn't collect any personal user data, making it GDPR compliant by default. = How does Google AI integration work? = Google AI has a special behavior: - Clicking the button automatically copies the prompt to clipboard - Opens Google Gemini in a new tab - User can paste the prompt directly and get the summary = Does it work with page builders? = Yes, it's compatible with: - Gutenberg (WordPress block editor) - Elementor, Beaver Builder, Divi - Any page builder that respects WordPress hooks - Manual insertion via shortcode works everywhere = Can I disable automatic insertion completely? = Yes, set automatic insertion to "Disabled" in settings and use only the shortcode `[ayudawp_share_buttons]` where you want buttons to appear. == Screenshots == 1. Share and AI summarize buttons in action on a post 2. Responsive view on mobile devices 3. Complete plugin settings page 4. Prompt opened in ChatGPT == Changelog == == Changelog == = 1.0.7 = * Improved - Security: Better sanitizing variables escaping echoed ones. = 1.0.6 = * Fixed: Removed inline JavaScript and moved to wp_add_inline_script() * Fixed: Changed shortcode from ai_share_buttons to ayudawp_share_buttons for WordPress.org compliance * Improved: All functions now use consistent ayudawp_ prefix = 1.0.5 = * Major code restructuring for better maintainability * Separated CSS and JavaScript into individual files in assets folder * Simplified PHP main file for easier management * Enhanced JavaScript with better error handling and notifications * Improved tooltip functionality for Google AI button * Better accessibility with keyboard navigation support * Optimized file structure for better performance * Code cleanup and documentation improvements = 1.0.4 = * Added customizable title text and style options * New title style selector: h3, h4, h5, h6, or span * Added Settings link in plugins list for easy access * Implemented activation notice with quick access to settings * Enhanced shortcode with title customization parameters * Improved CSS for all title styles * Better user experience with direct settings access * Code optimization and performance improvements = 1.0.3 = * Code optimization following WordPress.org standards * Fixed all PCP (Plugin Check) validation issues * Improved security with proper output escaping * Enhanced internationalization compliance * Removed deprecated load_plugin_textdomain() function * Code cleanup and performance improvements = 1.0.2 = * Added special Google AI integration with clipboard copy * Smart tooltip for Google AI button explaining functionality * Improved JavaScript for better user experience * Bug fixes and stability improvements = 1.0.1 = * Complete rewrite focused on core features * Advanced automatic insertion settings by content type * Shortcode `[ayudawp_share_buttons]` with parameters * Button ordering system (social first, AI first, mixed) * 4 visual styles: default, brand, minimal, dark * Corrected all AI platform URLs * Lightweight design with only 4 files * Support for 7 social networks and 5 major AIs = 1.0.0 = * Initial release == Upgrade Notice == = 1.0.4 = New features: Customizable title text and style, Settings link in plugins list, and activation notice for better user experience. Update recommended for all users. == Advanced Usage == = Shortcode parameters = The `[ayudawp_share_buttons]` shortcode accepts several parameters: **buttons**: Comma-separated list of buttons to display - Example: `[ayudawp_share_buttons buttons="claude,chatgpt,twitter,linkedin"]` - Available: twitter, linkedin, facebook, telegram, whatsapp, email, raindrop, claude, chatgpt, google_ai, grok, perplexity **style**: Visual style to use - Example: `[ayudawp_share_buttons style="minimal"]` - Options: default, brand, minimal, dark **show_title**: Show or hide the section title - Example: `[ayudawp_share_buttons show_title="false"]` - Options: true, false **title_text**: Custom title text - Example: `[ayudawp_share_buttons title_text="Share this content"]` **title_style**: Title HTML element - Example: `[ayudawp_share_buttons title_style="h3"]` - Options: h3, h4, h5, h6, span **Combined example:** `[ayudawp_share_buttons buttons="claude,twitter" style="brand" show_title="true" title_text="Share or Summarize" title_style="h3"]` = Custom CSS = You can customize the appearance using these CSS classes: - `.ayudawp-share-buttons` - Main container - `.ayudawp-share-btn` - Individual buttons - `.ayudawp-buttons-container` - Buttons container - `.ayudawp-title` - Title element - Style modifiers: `.brand`, `.minimal`, `.dark` == Technical Details == = System requirements = * WordPress 5.0 or higher * PHP 7.4 or higher (compatible up to PHP 8.3) * Theme compatible with wp_head() and wp_footer() = Performance features = * Only 4 files total for maximum speed * Conditional loading of resources * No external dependencies * Optimized CSS and JavaScript * Minimal database impact = Developer features = * Clean, documented code * WordPress coding standards compliant * Hook-based architecture * Extensible design * Translation ready == Credits == * Original concept based on CiteMet by Metehan Topal * Developed and maintained by the AyudaWP.com team * Optimized for performance, security, and accessibility * Community feedback and contributions welcome == Support == Need help or have suggestions? * [Official website](https://servicios.ayudawp.com/) * [WordPress support forum](https://wordpress.org/support/plugin/ai-share-summarize/) * [YouTube channel](https://www.youtube.com/AyudaWordPressES) * [Documentation and tutorials](https://ayudawp.com/) **Love the plugin?** Please leave us a 5-star review and help spread the word about AI-powered content sharing!