| 开发者 | josevarghese |
|---|---|
| 更新时间 | 2026年5月21日 01:52 |
| 捐献地址: | 去捐款 |
| PHP版本: | 7.4 及以上 |
| WordPress版本: | 7.0 |
| 版权: | GPLv2 or later |
| 版权网址: | 版权信息 |
[hmahf_widget] in any classic editor, page builder, or text widgethmahf_widget_html, hmahf_max_submissions_per_hour, hmahf_before_feedback_submit, hmahf_after_feedback_submit/wp-content/plugins/help-metric-article-helpful-feedback directory, or install the plugin through the WordPress plugins screen directly.Yes. The widget uses clean, minimal styling that blends with any properly coded WordPress theme. No theme-specific overrides needed.
Yes. Choose from 5 SVG icon styles (Thumbs, Stars, Hearts, Faces, Arrows) via a visual picker in Settings, and customize all text elements. Additional layout options are planned for future releases.
The plugin stores all data as WordPress post meta in your own database. It sends nothing to any external service.
Yes! We built the plugin to be fully translation ready, using proper text domains and translation functions everywhere.
Yes. The widget is fully responsive with touch-friendly buttons and stacked layouts on small screens.
Yes. Navigate to Helpful Feedback > Statistics to see per-post feedback counts, ratios, and trends. Filter by post type and date range, sort any column, and export to CSV. The main dashboard also shows a 30-day trend bar chart and a distribution donut chart.
Choose from three methods in Settings:
Yes. After submitting, a "Changed your mind? Update your vote." link appears below the success message. Clicking it re-shows the widget so the visitor can select a different option.
Go to Settings > Helpful Feedback > Icon Style and click any of the five icon pairs shown (Thumbs, Stars, Hearts, Faces, Arrows). Save settings and the icon you chose will appear on the widget buttons, the feedback form, the dashboard cards, and the admin bar stats - everywhere consistently.
Yes. The plugin enforces a server-side rate limit of 5 submissions per IP address per hour, regardless of the duplicate-submission setting.
Yes. You can set an automatic data retention period (the plugin purges entries older than N days on retrieval) and use the "Delete All Feedback Data" button in Settings to permanently remove all collected feedback. The plugin anonymizes IP addresses shown in the admin.
No. The plugin is lightweight and only loads its CSS/JS on pages where the widget displays. The plugin only loads admin scripts on its own pages. Dashboard queries use object caching and target only posts that actually have feedback data.
Yes. Open any post or page in the editor and look for the Helpful Feedback panel in the right sidebar. Check "Disable feedback widget on this post" to hide it on that individual post without affecting global settings.
Yes. Use the [hmahf_widget] shortcode in any classic editor or page builder, or insert the Helpful Feedback Widget block from the Gutenberg block inserter.
Yes. Select "Products" under Content Types in Settings and the widget will appear on your WooCommerce product pages automatically.
Enable notifications under Settings > Helpful Feedback > Email Notifications. You will receive an email whenever a visitor submits negative feedback, including any comment they left. Leave the address blank to use the WordPress admin email, or enter a custom address.
When logged in as an administrator, the WordPress admin bar shows today's positive and negative feedback counts using your chosen icon style. Clicking the stat takes you directly to the dashboard.
By default, the plugin limits submissions to 5 per hour per IP address to block spam bots. If you are running a site on a shared network or intranet where many legitimate users share the same IP, you can increase this limit using a filter in your theme's functions.php:
function my_custom_hmahf_rate_limit( $limit ) {
return 50;
}
add_filter( 'hmahf_max_submissions_per_hour', 'my_custom_hmahf_rate_limit' );
Yes. The following hooks are available. (Note: use add_filter() or add_action() in your code to hook into these):
hmahf_widget_html (filter) - modify the widget output. Passes $html, $settings, $post_id.hmahf_max_submissions_per_hour (filter) - change the maximum number of submissions allowed per IP address per hour. Passes $max_submissions (default: 5).hmahf_before_feedback_submit (action) - fires before the plugin stores data. Passes $post_id, $feedback, $comment.hmahf_after_feedback_submit (action) - fires after the plugin stores data. Passes $post_id, $feedback, $comment.hmahf_max_submissions_per_hour filter to allow developers to adjust the global IP-based rate limiting threshold, check FAQ for details.[hmahf_widget] shortcode for manual widget placement in classic content and page builders