RatePress
RatePress Docs

Getting Started

  • Introduction
  • Getting Started

Core Features

  • Rating System
  • Templates
  • Blocks & Shortcodes

Advanced Features

  • Notifications
  • Confetti Effects

Languages

  • Translation System

Developer Guide

  • Architecture
  • API Reference
GitHubLive Demos

RatePress

The modern rating plugin for WordPress. Built with clean architecture, designed for performance, and loved by developers.

Documentation

  • Get Started
  • Technical Architecture
  • Templates
  • Translations

Resources

  • Download
  • Support
  • Contact
  • Review Us

© 2025 RatePress. All rights reserved.

Made with passion by Code Idealists

Blocks & ShortcodesWordPress Integration

Blocks & Shortcodes

Powerful Gutenberg blocks and flexible shortcodes for adding rating functionality anywhere on your WordPress site.

Browse TemplatesRating SystemGutenberg Editor

Gutenberg Blocks

Modern block editor integration with drag-and-drop rating widgets

Rating Block
ratepress/rating

Interactive rating widget with template selection and live preview

User Ratings
ratepress/user-ratings

Display user's rated content with filtering and layout options

Top Rated
ratepress/top-rated

Showcase highest-rated content with time-based filtering

Using Gutenberg Blocks

Add rating functionality to your content with modern block editor

Rating Block Configuration

Configure rating widgets directly in the block editor with live preview.

Block Settings
SettingTypeDefaultDescription
templatestringsimple/five-starsRating template to use
objectTypestringpostObject type (post/comment)
categorystringscaleRating category
showCountbooleantrueDisplay rating counts
customObjectIdstring""Custom object ID
sizestringmediumWidget size
Blocks automatically detect the current post ID and provide live preview in the editor.

Shortcodes

Flexible shortcode system for adding ratings anywhere in your content

ShortcodeDescriptionParametersExample
[ratepress]Basic rating widget for posts, pages, or custom content
category, template, object_id, object_type, size, show_counts
[ratepress category="scale"]
[ratepress_favorites]Display user's favorite rated content in grid or list layout
user_id, limit, category, columns, layout, show_thumbnail
[ratepress_favorites columns="3"]
[ratepress_user_ratings]Show all ratings submitted by a specific user
user_id, category, limit, show_value, columns, orderby
[ratepress_user_ratings limit="10"]
[ratepress_user_stats]Display rating statistics and activity summary for a user
user_id, show_category_breakdown, show_totals
[ratepress_user_stats]
[ratepress_who_liked]List users who liked/rated positive on specific content
post_id, limit, show_avatars, avatar_size, layout
[ratepress_who_liked show_avatars="yes"]
[ratepress_who_rated]Show all users who rated specific content with their ratings
post_id, category, show_values, limit, show_avatars
[ratepress_who_rated show_values="yes"]

Shortcode Examples

Complete examples for implementing rating functionality

Basic Rating Widget
Simple rating widgets for different rating categories and templates
Common Usage
Advanced Options

Advanced Usage

Powerful features for complex rating implementations

PHP Integration

Use RatePress functions directly in your theme templates.

JavaScript API

Programmatic rating submission and UI updates.

Custom Templates

Create custom rating templates with data attributes for complete control.

RatePress automatically handles all rating logic when using data attributes.

Ready to Add Ratings?

Start using RatePress blocks and shortcodes to add professional rating functionality to your WordPress site.

Get StartedBrowse Templates