Let readers show appreciation for your content with a simple "recommend" button—no comments required. Track which posts resonate most with your audience and display your most recommended content anywhere on your site.
What This Plugin Does
Adds a Recommendation Button
Displays a like/recommend button with a counter. Choose to add it automatically or use a shortcode or template tag.
Showcases Your Most Popular Posts
Use the built-in widget or shortcode to highlight your most recommended posts and help visitors discover engaging content.
Prevents Duplicate Recommendations
Ensures each user can only recommend a post once using cookies and optional IP tracking for accurate counts.
Features
- Simple Recommendation Counter – Displays the number of recommendations for each post.
- Customizable Look – Choose between thumbs-up or heart icons.
- Flexible Implementation:
- Automatic display on posts and archives
- Shortcode:
[irecommendthis] - Template tag:
<?php if(function_exists('irecommendthis')) irecommendthis(); ?> - Gutenberg block for the block editor
- Highlight Popular Posts:
- Widget with customizable title and post count
- Shortcode:
[irecommendthis_top_posts]with options for post type, count, and time period
- Privacy-Friendly:
- Cookie-based tracking (no login required)
- IP address anonymization for GDPR compliance
- Option to disable IP tracking entirely
- Fine-Tune Customization:
- Custom text for zero, one, or multiple recommendations
- Option to hide the counter when recommendations are at zero
- Disable plugin CSS for full styling control
- Developer Friendly:
- 30+ action hooks and filters for customization
- Template tags with parameters for fine-tuned control
- Optimized for caching plugins
See It in Action



Documentation
For detailed instructions and customization options, explore our comprehensive documentation:
Docs
Changelog
4.0.1 – (10 APril 2025)
- Updated translation template (.pot) using WP-CLI
- Removed outdated .po/.mo files
4.0.0 – (19 March 2025)
- Core Improvements:
- Completely rebuilt plugin with a modern component-based architecture
- Changed naming from “dot_irecommendthis” to “irecommendthis” throughout
- Consolidated settings and tools into a single, organized admin interface
- Added multiple extension points with action and filter hooks for developers
- Privacy & Security:
- Implemented IP anonymization using global hashing for GDPR compliance
- Added secure cookie handling with improved security parameters
- Enhanced nonce verification throughout all AJAX operations
- Fixed potential SQL injection vulnerabilities
- Added option to completely disable IP tracking
- UI & Display:
- Added consistent div wrappers for recommendation buttons
- Fixed layout issues with buttons in different contexts
- Added wrapper parameter for fine-tuned layout control
- Improved responsive design for mobile users
- Better handling of button state changes
- JavaScript & Interactions:
- Fixed like/unlike functionality with backward compatibility
- Added enhanced HTML attributes for better accessibility
- Implemented smoother button state transitions
- Improved error handling in AJAX operations
- Block Editor Integration:
- Improved button targeting with class-based selectors
- Enhanced post ID detection in query loops and block contexts
- Fixed compatibility issues with the WordPress block editor
- Performance & Optimization:
- Added database indexes and optimized queries for faster performance
- Implemented database optimization tools with improved error handling
- Added hook for caching plugin integration
- Reduced page load impact with optimized asset loading
- Developer Tools:
- Updated shortcodes and template functions with backward compatibility
- Added new wrapper control options for theme developers
- Introduced 30+ new action hooks and filters for customization
- Added comprehensive developer documentation
3.10.3 – (27 February 2025)
- FixedResolved issue with duplicate post IDs in query blocks
- FixedAdded context awareness to properly identify post IDs in query loops
- ImprovedShortcode functionality to respect post context in WordPress loops
- NewJavaScript fallback to detect and fix incorrect IDs at runtime
- ImprovedDatabase optimization for better performance and compatibility
- Refactored: Database management error handling
- RemovedDevelopment-specific logging methods
- SecurityImproved error handling following WordPress best practices
- FixedPotential security risks in database management logging
- ImprovedPlugin stability and error notification mechanisms