Browse, install, and create beautiful rating templates. Choose from community designs or build your own with our live editor and marketplace system.
RatePress templates provide a complete solution for adding ratings to your WordPress site with beautiful, customizable interfaces.
Browse and install community templates with one click
Preview and customize templates in real-time
Build custom templates and share with the community
Templates available for all rating types
Simple one-button ratings for favorites and likes
Two-button ratings for positive and negative feedback
Multi-level ratings from 1-5 stars or 1-10 points
Install and manage templates directly from your WordPress admin
Discover community templates in the marketplace
Go to RatePress → Templates in your WordPress admin
Use the category filter to find templates for your rating type
Search by name, description, or tags. Click any template to see a live preview
Switch between different views to find what you need
Build beautiful, functional rating templates from scratch
All RatePress rating widgets share a common parent structure. Every template must have a root container with specific data attributes that the core JavaScript uses to identify and interact with the widget.
data-object-iddata-object-typedata-categorydata-template| File | Purpose | Required | Language |
|---|---|---|---|
| config.php | Template metadata and settings | Yes | PHP |
| render.php | HTML/PHP markup with data attributes | Yes | PHP/HTML |
| style.css | Styling and responsive rules | Yes | CSS |
| script.js | Optional animations and effects | No | JavaScript |
RatePress supports three rating categories. Each has different button structures and data-value attributes that determine how ratings are recorded and displayed.
Single positive action (like/favorite)
data-value="1"Templates have access to these PHP variables for dynamic content:
$object_idThe post/comment ID$object_type'post' or 'comment'$categoryRating category$user_valueUser's current rating (normalized)$user_has_ratedBoolean: has user rated?$positive_countCount of positive ratings$negative_countCount of negative ratings$averageAverage rating (scale only)$total_countTotal number of ratingsMobile-first approach
Automatic theme adaptation
Right-to-left languages
WCAG 2.1 AA compliance
Share your templates with the RatePress community
Follow these steps to submit your template to the marketplace
Add your template to the templates/ directory
Ensure your template meets all quality guidelines and works across different scenarios
Push to your fork and open a Pull Request with:
Maintainers will review your template. Once approved, it will be automatically added to the marketplace!
templates.json) is automatically generated via GitHub Actions - you don't need to edit it manually!Everything you need to create amazing templates
Browse all available templates
View TemplatesBuild and test templates
Open EditorContribute your templates
View on GitHubTechnical documentation
View API Docs