Automatically generate AI-powered TL;DR summaries for your WordPress posts using the WordPress AI plugin. Perfect for improving reader engagement and content accessibility.
- π€ AI-Powered Summaries: Leverages the WordPress AI plugin to generate intelligent, contextual summaries
- β‘ Automatic Generation: Creates TL;DR summaries automatically when posts are published or updated
- π¨ Customizable Display: Choose where and how summaries appear on your site
- π Multiple AI Platforms: Works with any AI platform supported by the WordPress AI plugin (OpenAI, Anthropic, Google AI, etc.)
- π§ Clean Integration: Seamlessly integrates with your existing WordPress workflow
- β‘ Performance Optimized: Lightweight and efficient with conditional loading
- WordPress: 6.0 or higher
- PHP: 7.4 or higher
- WordPress AI Plugin: Download here
- Go to Plugins β Add New in your WordPress admin
- Search for "TLDRWP"
- Click Install Now and then Activate
- Install and activate the WordPress AI plugin
- Configure your AI credentials in Settings β AI Credentials
- Go to Settings β Reading to configure TLDRWP options
- Test the connection and start generating summaries!
- Download the plugin ZIP file from this repository
- Upload the
tldrwpfolder to/wp-content/plugins/ - Activate the plugin through Plugins β Installed Plugins
- Follow steps 4-7 from Method 1
- Install and activate the WordPress AI plugin
- Go to Settings β AI Credentials
- Configure your AI provider credentials (OpenAI, Anthropic, Google AI, etc.)
- The WordPress AI plugin automatically selects the best available provider and model
- Save settings
- Navigate to Settings β Reading
- Scroll down to the TL;DR Settings section
- Configure your TL;DR preferences:
- Enable on specific post types
- Customize the default prompt
- Set button text and descriptions
- Configure rate limiting
- Test your AI connection
- Save settings
User Publishes Post β TLDRWP Detects New Content β WordPress AI Client Processes Content β AI Platform Generates Summary β Summary Displayed on Frontend
| Use Case | Description | Benefits |
|---|---|---|
| Bloggers | Improve reader engagement | Higher time-on-page, better retention |
| Content Creators | Increase content accessibility | Better user experience, wider audience |
| News Sites | Quick content overviews | Faster information consumption |
| Educational Sites | Content summaries | Better learning outcomes |
| E-commerce | Product description summaries | Improved conversion rates |
TL;DR stands for "Too Long; Didn't Read." It's a brief summary that captures the main points of a longer piece of content, helping readers quickly understand what the content is about.
Yes, TLDRWP requires the WordPress AI plugin to function. This plugin provides the AI integration capabilities that TLDRWP uses to generate summaries.
TLDRWP works with any AI platform supported by the WordPress AI plugin, including:
- OpenAI (GPT-3.5, GPT-4)
- Anthropic (Claude)
- Google AI (Gemini)
- And many others
The WordPress AI plugin automatically selects the best available provider and model for optimal performance.
Yes! You can choose where summaries are displayed and customize their appearance through the plugin settings.
Yes, your post content is sent to the AI service you've configured to generate summaries. Please review your chosen AI service's privacy policy.
Currently, summaries are generated automatically. Future versions may include manual editing capabilities.
TLDRWP dispatches a custom JavaScript event tldrwp_generated when a summary is successfully generated. You can listen for this event to track generations in Google Analytics, Plausible, or any other analytics tool.
Google Analytics 4:
document.addEventListener('tldrwp_generated', function(e) {
gtag('event', 'tldr_generated', {
article_id: e.detail.articleId,
article_title: e.detail.articleTitle
});
});Plausible Analytics:
document.addEventListener('tldrwp_generated', function(e) {
plausible('TLDR Generated', {
props: {
article_id: e.detail.articleId,
article_title: e.detail.articleTitle
}
});
});The event includes: articleId, articleTitle, timestamp, and platform data.
TLDRWP follows a clean, modular architecture:
tldrwp/
βββ includes/
β βββ class-tldrwp.php # Main plugin class
β βββ class-tldrwp-admin.php # Admin functionality
β βββ class-tldrwp-public.php # Frontend functionality
β βββ class-tldrwp-ai-service.php # AI service integration
β βββ class-tldrwp-settings.php # Settings management
βββ assets/
β βββ css/
β βββ js/
βββ tldrwp.php # Main plugin file
βββ readme.txt # WordPress.org readme
To test the plugin:
- Enable Debug Mode: Add
define('WP_DEBUG', true);to yourwp-config.php - Check Logs: Monitor
wp-content/debug.logfor any errors - Test Connection: Use the "Test Connection" button in settings
- Create Test Post: Publish a new post and check for summary generation
We welcome contributions! Here's how you can help:
- Fork the repository
- Create a feature branch (
git checkout -b feature/amazing-feature) - Commit your changes (
git commit -m 'Add amazing feature') - Push to the branch (
git push origin feature/amazing-feature) - Open a Pull Request
# Clone the repository
git clone https://github.com/mattcromwell/tldrwp.git
# Navigate to the plugin directory
cd tldrwp
# Install dependencies (if any)
composer install- Initial release
- AI-powered summary generation
- Integration with WordPress AI plugin
- Customizable display options
- Admin settings page
- Test connection functionality
- Clean, modular architecture
- Automatic provider and model selection via WordPress AI Client
- Styled settings wrapper for better UI
- Class-based architecture with component separation
- Conditional loading for performance optimization
- Proper WordPress coding standards compliance
- Comprehensive error handling and debugging
- WordPress AI Client API integration
This project is licensed under the GPL v2 or later - see the LICENSE file for details.
- WordPress AI Plugin for AI integration capabilities
- WordPress community for best practices and standards
- All contributors and beta testers
- Documentation: Plugin Documentation
- Issues: GitHub Issues
- WordPress.org: Plugin Page
- Email: support@mattcromwell.com
Made with β€οΈ by Matt Cromwell


