外掛標籤
開發者團隊
原文外掛簡介
Weal Profile adds a dedicated front-end account page for authenticated users (default: /my-account), allowing them to manage selected profile fields without accessing the WordPress admin dashboard.
The plugin also includes an admin settings page where site administrators can configure the account page and choose which profile fields are editable by users.
Admin Features
Available in the WordPress admin menu under Weal Profile.
Administrators can:
Enable or disable profile fields shown on the public account page
Set a custom URL slug for the personal account page (default: /my-account)
Enable or disable the comment likes/dislikes system
Available profile fields:
Avatar\Gravatar
Display Name
Website URL
Nickname
First Name
Last Name
Biography
Front-End User Features
On the public account page, logged-in users can:
Edit their personal profile information (based on admin settings)
Upload and remove a profile avatar
View their comment activity and reaction statistics (likes/dislikes received)
Post Rating System
A 5-star rating system is automatically displayed on single post pages. Features:
Visitors can rate posts from 1 to 5 stars
Rating is stored in post meta (rating_sum, rating_count, rating_average)
Partial star visualisation (e.g. 3.5 stars shows 3 full + 1 half-filled star)
Anti-double-vote protection via cookies
AJAX-based submission with instant UI update
Schema.org AggregateRating markup for SEO
Comment Likes / Dislikes
Logged-in users can like or dislike comments on posts. Features:
Toggle likes and dislikes with a single click
Active state visual feedback on voted buttons
Vote counts update instantly via AJAX
Configurable toggle in admin settings to enable/disable the system
Comment reaction statistics shown on the user profile page (total likes/dislikes received, top voted comments)
Dedicated database table (weal_comment_votes) for efficient vote storage
Unique constraint prevents duplicate votes per user per comment
Activity Center
The plugin provides a convenient centralized space where users can track their comment history and quickly return to conversations they participated in.
Database
The plugin creates a custom database table on activation:
wp_weal_comment_votes — stores comment likes/dislikes (comment_id, user_id, is_liked, created_at)
When updating the plugin, the table is automatically created or updated via a version check — no need to deactivate and reactivate.
