[wordpress插件] Comment Form Shortcode评论表格简码

wordpress 插件 文章 2020-03-28 14:10 454 0 全屏看文

AI助手支持GPT4.0

评分
100
描述

Allow to display comment form inside post, page and widget.

允许在帖子,页面和小部件内显示评论表单。

Basically comment is inbuilt feature in WordPress but in some case we need embedded comment form.

基本上,注释是WordPress中的内置功能,但在某些情况下,我们需要嵌入式注释形式。

Example.

示例。

* we need to embedded comment inside post.

*我们需要在帖子中嵌入评论。

* some theme build without comment form for pages or custom post type.

*一些主题构建,没有页面或自定义帖子类型的评论表格。

* you want to display comment form for specific post only, so you can disable comment for all page and use shortcode to display comment.

*您只想显示特定帖子的评论表单,因此您可以禁用所有页面的评论,并使用简码显示评论。

* in custom development you need comment form inside widget.

*在自定义开发中,您需要在小部件内添加评论表格。

so here we have comment form shortcode to display comment using shortcode inside post,page or widget.

所以在这里,我们有注释形式的简码,以便在帖子,页面或小部件中使用简码显示评论。

Comment Form Shortcode Help

评论表单简码帮助

You can use below ShortCode in post or page or in widget to show comment form.

您可以在帖子,页面或小部件中的ShortCode下面使用它来显示评论形式。

[comment comment_file =”/comments.php”]

[评论comment_file =” / comments.php”]

Here comment_file is optional, if you have custom comment file, you have to pass here.

评论文件是可选的,如果您有自定义评论文件,则必须在此处传递。

How To Use :

使用方法:

[comment]

[评论]

[comment comment_file =”/short-comments.php”]

[评论comment_file =” / short-comments.php”]

安装步骤

    1. Upload plugin-name.php to the /wp-content/plugins/ directory
    2. plugin-name.php 上载到 / wp-content / plugins / 目录

    3. Activate the plugin through the ‘Plugins’ menu in WordPress
    4. 通过WordPress中的“插件”菜单激活插件

下载地址
https://downloads.wordpress.org/plugin/comment-form-shortcode.zip
-EOF-

AI助手支持GPT4.0