Wirt Star Rating

Description

Wirt Star Rating allows users to rate your content using a simple 1–5 stars system. It is easy to integrate, customizable, and displays votes statistic.

Features:
* Star Rating System – Users can rate content from 1 to 5 stars.
* Lightweight – No jQuery Dependency, built with native JavaScript (vanilla JS).
* Easy Integration – Works with posts, pages, and custom post types.
* Customizable Appearance – Style the stars to match your theme.
* Votes Count – Display total votes per item.
* Votes Restriction – Prevents multiple votes from the same user.
* Multiple Custom Post Types Support – Works with any public post types content.
* JSON-LD Schema – Adds structured data for selected post types.
* Admin Control – Edit average rating and total votes manually.

Development

This plugin uses build tools to compile and minify JavaScript and SCSS files for production.

The uncompressed, human-readable source code can be found in the following directory within the plugin:
* assets/src/ (contains JavaScript and SCSS source files)

The compiled, production-ready files are output to:
* assets/dist/

To build the production assets yourself:
1. Navigate to the root directory of the plugin.
2. Run npm install to install dependencies.
3. Run npm run build to compile the assets into the assets/dist/ directory.

Screenshots

  • Star rating display on a post.
  • Plugin General Settings page
  • Plugins metabox on editor page

Installation

  1. Upload the wirt-star-rating folder to the /wp-content/plugins/ directory.
  2. Activate the plugin through the ‘Plugins’ menu in WordPress.
  3. Customize the plugin in the General Setting page. Select the post types (Post, Page) where ratings are needed.
  4. Optionally, adjust other settings to customize the appearance and add JSON-LD data.

FAQ

How do I add the rating to my post?

Select post type where you would like to display star rating and set necessary data on general settings page.

Can I use it on custom post types?

Yes, the plugin supports any post type, including custom ones.

Can I style the stars?

Yes, you can customize the appearance via CSS or the plugin settings.

Can I manually adjust votes and rating sum?

Yes, in the WordPress admin, you can manually edit the total votes and rating sum for each post.

Can a user vote more than once?

No, a user cannot vote again unless they clear their browser data.

Reviews

There are no reviews for this plugin.

Contributors & Developers

“Wirt Star Rating” is open source software. The following people have contributed to this plugin.

Contributors

Translate “Wirt Star Rating” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.

Changelog

1.0.0

  • Initial release.