Wirt Star Rating
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 (vani
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 & previews.
- 01Upload the wirt-star-rating folder to the /wp-content/plugins/ directory.
- 02Activate the plugin through the ‘Plugins’ menu in WordPress.
- 03Customize the plugin in the General Setting page. Select the post types (Post, Page) where ratings are needed.
- 04Optionally, adjust other settings to customize the appearance and add JSON-LD data.