[wordpress插件] wordpressAjaxCommentswordpressAjax评论

wordpress 插件 文章 2020-02-14 10:00 555 0 全屏看文

AI助手支持GPT4.0

评分

20

20

描述

Have you ever been annoyed that there are no inline-error messages for the comments?

您是否曾经因为没有内联错误消息而感到烦恼?

That the errors are displayed on a different page completely out of context?

错误完全显示在上下文之外的其他页面上吗?

Here\’s the answer.

这是答案。

The comments are send via AJAX, errors that happen will be displayed inline in the form, you can style the error-messages yourself (if you want or have to) and it is even possible to add custom fields to the comment-form, provided

注释是通过AJAX发送的,发生的错误将在表单中内嵌显示,您可以自己设置错误消息的样式(如果需要或必须),甚至可以将自定义字段添加到注释表单中,

the validation for those extra fields is done via the Ajax-Comments callback.

这些额外字段的验证是通过Ajax-Comments回调完成的。

How is this plugin different from other Ajax-Comment-plugins?

此插件与其他Ajax-Comment-plugins有何不同?

This plugin uses a comletely rewritten backend and doesn\’t use the default wordpress-backend although it is based on that.

此插件使用完全重写的后端,尽管基于此插件,但不使用默认的wordpress-backend。

This plugin displays the errors directly at the field they happened at.

该插件直接在发生错误的地方显示错误。

Therefore the error-messages are right in the context of the fields.

因此,错误消息在字段的上下文中是正确的。

This plugin uses the AJAX-functionality brought to you with the core wordpress, so there are no third-party libraries necessary This plugin can handle custom fields in the form without a problem.

该插件使用了核心wordpress所带给您的AJAX功能,因此不需要第三方库。该插件可以毫无问题地处理表单中的自定义字段。

If you want to use the error-display-functions of the plugin you will have to use the wp_ajax_comment_validate_form-filter and for storing those metadata-fields you will need to implement the wp_ajax_comment_store_metadata-action.

如果要使用插件的错误显示功能,则必须使用wp_ajax_comment_validate_form-filter,并且为了存储这些元数据字段,您将需要实现wp_ajax_comment_store_metadata-action。

If you find any issues during the usage, feel free to create an issue on the issue tracker on github

如果您在使用过程中发现任何问题,请随时在github上的问题跟踪器上创建一个问题

安装步骤

No special instructions are required.

不需要特殊说明。

    • Search for the plugin in your wordpress-admin-backend
    • 在您的wordpress-admin-backend中搜索插件

    • Click on the install button
    • 单击安装按钮

    • Activate the plugin
    • 激活插件

    There is no configuration necessary!

    没有必要配置!

下载地址

https://downloads.wordpress.org/plugin/ajaxcomments.zip

https://downloads.wordpress.org/plugin/ajaxcomments.zip

-EOF-

AI助手支持GPT4.0


国内超级便宜服务器

摸鱼人热门新闻聚合

钻级赞助商 我要加入

开发者在线工具

第三方支付技术请加QQ群

相关文章
[wordpress插件] Custom Advertisement Management定制广告管理
[wordpress插件] BlogBuzzTime for WPWP的BlogBu​​zzTime
[wordpress插件] Authors List作者名单
[wordpress插件] Bloglovin WidgetBloglovin小部件
[wordpress插件] Custom Global Variables自定义全局变量
随便看看
广告类型小游戏被恶意投诉存在虚拟支付功能,官方要求提交版号开通虚拟支付后再申诉,请问怎么办? 601
使用wx:for输出数组,怎么让其每隔几个一换行? 604
如何开通企业号? 363
显示赞赏账户失效, 图文也不能发送? 1228
在小程序初始化时候用wx.setStorageSync 无效? 1139
wx:for读取不了数组,好像是数组的问题? 528
为什么有些微信视频号没有“不看对方动态”选项? 6444
关于云函数上时间戳换日期的问题。手机跟电脑测试居然不一致? 573
请教问题,出现这种错误,小程序中的点赞组件点不了了? 408
提示请先补充小程序基本信息,却反复回到首页 1317