Anyway Feedback

描述

Anyway Feedback provides simple controller with 2 buttons(Useful and Useless). Users can send feedback to specific post or comment.

What you get is amount of positive feed backs and negative ones per post types. Typical usage is for FAQ. You could know if your FAQs are usefull or not.

Sidebar also supported. You can display sidebar which includes the most popular posts per post type.

If you have some request, feel free to contact me. For experienced developper, I’m waiting for pull requests on github.com.

NOTICE Requires PHP 7.4 and WordPress 6.6 or later.

屏幕截图

安装

Installation is easy.

e.g.

  1. Upload anyway-feedback folder to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. In admin panel, Go to Options > Anyway Feedback and set up with instractions displayed.
  4. You can customize display and use widget.
  5. Template tag manual is on admin panel.

常见问题

How can I know the feedbacks result?

You can see it on your admin panel. Go to Options > Anyway Feedback.

Can custom post type FAQ will be registered?

No. If you need some custom post type, you have to register it. There are lots of plugins which register custom post type with GUI. After registration, you can easily add feedback controller to custom post type with Anyway Feedback plugin.

How can I display feedback results?

There are currently 2 ways. 1st is a feedback controller which displays number of people saying good or not. 2nd is a widget which displays most popular posts per post type.

How can I track feedback events with Google Analytics?

Since version 1.2.0, the plugin dispatches a custom JavaScript event feedback.afb when a user submits feedback. You can listen to this event and send data to Google Analytics (or any other analytics service) yourself.

document.addEventListener( 'feedback.afb', function( e ) {
    // e.detail contains: { type: 'post'|'comment', objectId: number, affirmative: 0|1 }
    gtag( 'event', 'feedback', {
        feedback_type: e.detail.type,
        object_id: e.detail.objectId,
        is_positive: e.detail.affirmative === 1,
    } );
} );

Note: The built-in GA4 integration was removed in version 1.2.0. Use the custom event approach above for more flexibility.

评价

此插件暂无评价。

贡献者及开发者

「Anyway Feedback」是开源软件。 以下人员对此插件做出了贡献。

贡献者

「Anyway Feedback」插件已被翻译至 1 种本地化语言。 感谢所有译者为本插件所做的贡献。

帮助将「Anyway Feedback」翻译成简体中文。

对开发感兴趣吗?

您可以浏览代码,查看SVN仓库,或通过RSS订阅开发日志

更新日志

See GitHub Release for change logs.

CHANGELOG.md is also available.