Install
This is the repository archive. It installs, but the folder name will carry the branch suffix and updates will not flow.
Install straight from GitHub with WP-CLI:
wp plugin install https://github.com/ahvega/wp-review-slider-pro/archive/refs/heads/master.zipReview Slider Pro - WordPress Plugin
A professional WordPress plugin for displaying reviews from TripAdvisor, Google Business, Booking.com, and Facebook in a beautiful, responsive slider widget.
Features
- Multi-Platform Support: Display reviews from TripAdvisor, Google Business, Booking.com, and Facebook
- Responsive Design: Looks great on all devices and screen sizes
- Customizable Styling: Full control over colors, spacing, and appearance
- Accessibility: WCAG compliant with keyboard navigation and screen reader support
- Touch/Swipe Support: Native mobile gesture support
- Auto-play Controls: Configurable slide timing with pause on hover
- Professional UI: Clean, modern design with smooth animations
- Easy Integration: Simple shortcode with extensive parameter options
Installation
- Download the plugin files
- Upload the
review-slider-profolder to your/wp-content/plugins/directory - Activate the plugin through the 'Plugins' menu in WordPress
- Configure settings under Settings > Review Slider Pro
Basic Usage
Use the shortcode to display a review slider:
[review_slider]
Shortcode Parameters
| Parameter | Description | Default | Options |
|---|---|---|---|
slide_duration |
Seconds between auto-advancing slides | 5 |
Any number |
min_rating |
Minimum star rating to display | 1 |
1, 2, 3, 4, 5 |
sort_order |
How to sort the reviews | newest |
newest, oldest, random |
max_reviews |
Maximum number of reviews to show | 10 |
Any number |
sources |
Specific platforms to include | all |
tripadvisor, google, booking, facebook or comma-separated list |
show_avatars |
Display user profile pictures | true |
true, false |
show_platform_icons |
Display platform logos | true |
true, false |
Example Shortcodes
Basic slider with default settings
[review_slider]
High-rated reviews only from specific platforms
[review_slider min_rating="4" sources="tripadvisor,google"]
Fast-cycling slider without avatars
[review_slider slide_duration="3" show_avatars="false"]
Random order slider with limited reviews
[review_slider sort_order="random" max_reviews="5"]
Settings Configuration
Navigate to Settings > Review Slider Pro in your WordPress admin to configure:
General Settings
- Slide Duration: Default time between slides (1-60 seconds)
- Minimum Rating: Default minimum star rating filter (1-5 stars)
- Sort Order: Default sorting method (newest, oldest, random)
- Show User Avatars: Display user profile pictures by default
- Show Platform Icons: Display platform logos by default
Review Sources
Enable or disable specific review platforms:
- TripAdvisor reviews
- Google Business reviews
- Booking.com reviews
- Facebook reviews
Style Settings
Customize the visual appearance:
- Primary Color: Accent color for buttons and highlights
- Background Color: Background color for review cards
- Text Color: Main text color
- Border Radius: Corner roundness (0-50px)
- Custom CSS: Add your own CSS for advanced customization
Styling Customization
Using the Settings Panel
The easiest way to customize appearance is through the Style Settings section in the admin panel.
Custom CSS
For advanced styling, use the Custom CSS field or add CSS to your theme:
/* Target the main slider container */
.rsp-review-slider {
max-width: 800px;
margin: 30px auto;
}
/* Customize review cards */
.rsp-review-card {
border-left: 4px solid #77B5FE;
}
/* Style platform icons */
.rsp-platform-icon {
font-size: 10px;
}
/* Modify star ratings */
.rsp-star.filled {
color: #ff6b35;
}
CSS Custom Properties
The plugin uses CSS custom properties for easy theming:
.rsp-review-slider {
--rsp-primary-color: #your-color;
--rsp-background-color: #your-background;
--rsp-text-color: #your-text-color;
--rsp-border-radius: 12px;
}
Accessibility Features
- Keyboard Navigation: Arrow keys, Home, and End key support
- Screen Reader Support: Proper ARIA labels and semantic HTML
- Focus Management: Clear focus indicators for interactive elements
- High Contrast Support: Adapts to high contrast mode preferences
- Reduced Motion: Respects user's motion preferences
Browser Support
- Chrome (latest)
- Firefox (latest)
- Safari (latest)
- Edge (latest)
- Internet Explorer 11+
Mobile Support
- Touch/swipe gestures
- Responsive design
- Optimized performance
- Retina display ready
Performance Features
- Lazy Loading: Sliders initialize when visible
- Optimized Assets: Minified CSS and JavaScript
- Efficient DOM: Minimal markup and smart event handling
- Memory Management: Proper cleanup on page changes
Development
File Structure
review-slider-pro/
├── review-slider-pro.php # Main plugin file
├── assets/
│ ├── style.css # Main stylesheet
│ └── script.js # JavaScript functionality
├── README.md # This file
└── languages/ # Translation files (future)
Hooks and Filters
Actions
rsp_before_slider- Fires before slider outputrsp_after_slider- Fires after slider outputrsp_before_review_card- Fires before each review cardrsp_after_review_card- Fires after each review card
Filters
rsp_slider_atts- Modify shortcode attributesrsp_review_data- Modify review data before displayrsp_slider_html- Modify final slider HTML output
Example usage:
// Modify slider attributes
add_filter('rsp_slider_atts', function($atts) {
$atts['slide_duration'] = 10; // Force 10-second duration
return $atts;
});
// Add custom data to reviews
add_filter('rsp_review_data', function($reviews) {
foreach($reviews as &$review) {
$review['custom_field'] = 'custom_value';
}
return $reviews;
});
API Integration (Future)
Currently, the plugin uses sample data. Future versions will include:
- Real-time API connections to review platforms
- Review caching and synchronization
- Automatic review updates
- Review moderation tools
Frequently Asked Questions
How do I connect to real review APIs?
Currently, the plugin displays sample reviews. API integration is planned for future releases.
Can I customize the slider appearance?
Yes! Use the Style Settings in the admin panel or add custom CSS.
Does it work with caching plugins?
Yes, the plugin is compatible with popular caching solutions.
Can I display multiple sliders on one page?
Yes, you can use the shortcode multiple times with different parameters.
Is it mobile-friendly?
Absolutely! The slider is fully responsive and includes touch/swipe support.
Changelog
Version 1.0.0
- Initial release
- Multi-platform review display
- Responsive slider widget
- Comprehensive admin settings
- Accessibility features
- Touch/swipe support
Support
For support, feature requests, or bug reports, please contact the plugin developer.
License
This plugin is licensed under the GPL v2 or later.
Review Slider Pro - Professional review display for WordPress websites.