WP Manifestindependent plugin directory
manifest / content / simple-star-wp

Simple Star WP

Simple 5-star plugin for WordPress

by Stephen Schrauger · github.com/hashbangcrash/simple-star-wp · website

0stars
0forks

Install

No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:

wp plugin install https://github.com/hashbangcrash/simple-star-wp/archive/refs/heads/main.zip

Declares an update source (HashBangCrash/simple-star-wp), so updates arrive through the plugin's own updater.

Readme

Simple Star WP

A simple WordPress plugin providing a five-star rating shortcode and block with customizable star ratings.


Features

  • Display a 5-star rating with fractional stars (rounded to quarter increments).
  • Customize star size and color.
  • Add optional text labels before and after the stars.
  • Use as a shortcode or as a block in the WordPress block editor.
  • Server-side rendered block with live preview in editor.

Shortcode Usage

Use the shortcode [five-star-rating] anywhere in your posts or pages.

Shortcode Syntax

[five-star-rating rating="4.25" color="#FFD700" size="24" label_before="Rating:" label_after="out of 5"]

Shortcode Parameters

Parameter Type Required Default Description
rating decimal No 0 The star rating between 0 and 5 (supports quarters, e.g., 3.75).
color string No gold Star fill color — accepts named colors or hex codes (e.g., gold, #FFD700).
size integer No 24 Star size in pixels.
label_before string No "" Text displayed immediately before the stars.
label_after string No "" Text displayed immediately after the stars.
label_font_size integer No 24 Font size (px) for both before and after labels.
label_before_font_size integer No 24 Advanced: font size (px) for before label only (overrides label_font_size).
label_after_font_size integer No 24 Advanced: font size (px) for after label only (overrides label_font_size).

Read the full README on GitHub →

Releases

TagPublished
v1.1.0 Aug 8, 2025
v1.0.0 Aug 6, 2025

These releases are tags only. The author does not attach a packaged zip, so there are no download counts to report.