
外掛標籤
開發者團隊
原文外掛簡介
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.
