[wordpress插件] Disable Comments for Any Post Types (Remove comments)禁用任何帖子类型的评论(删除评论)

wordpress 插件 文章 2020-03-29 08:10 470 0 全屏看文

AI助手支持GPT4.0

评分
100
描述

Disable comments plugin is a useful tool for blog or site administrators that allows fully disabling or hiding comments for any post types, pages or attachments.

禁用评论插件是博客或网站管理员的有用工具,它可以完全禁用或隐藏任何帖子类型,页面或附件的评论。

It removes the all comments related features and options:

它删除了所有与注释相关的功能和选项:

    • disable comments on frontend at all;
    • 完全

    • 在前端禁用评论

    • remove comments option from WordPress dashboard menu;
    • WordPress仪表板菜单中的

    • 删除评论选项;

    • hide comments option from the admin bar;
    • 管理栏中的

    • 隐藏评论选项;

    • Turn off comments widgets.
    • 关闭评论小部件。

    In addition, this plugin can disable XML-RPC related functions in WordPress including disable pingbacks and disable trackbacks, and helps to prevent the attacks on the xmlrpc.php file.

    此外,此插件可以禁用WordPress中的XML-RPC 相关功能,包括禁用pingback和trackbacks,并有助于防止对xmlrpc.php文件的攻击。

    Lastly, it attempts to generate a “403 Denied” error for requests to the /xmlrpc.php URL, but does not affect that file or your server in any way.

    最后,它尝试对/xmlrpc.php URL的请求生成“ 403 Denied”错误,但不会以任何方式影响该文件或服务器。

    If you want completely remove comments, you can do this individually for selected post types.

    如果您要完全删除评论,则可以针对选定的帖子类型分别进行操作。

    You can easily bulk delete all WordPress comments in some clicks.

    您只需单击几下即可轻松批量删除所有WordPress注释。

    No any other “Delete All Comments” plugins or phpMyAdmin needed.

    不需要任何其他“删除所有评论”插件或phpMyAdmin。

    You can disable comments but if you decide to leave them, you need to close comments external links from the search engines.

    您可以禁用评论,但是如果您决定不评论,则需要从搜索引擎关闭评论外部链接。

    By default when users places comments, the WordPress adds rel=”nofollow” attribute to the comment author URL and for all links in the comments text.

    默认情况下,当用户放置评论时,WordPress会将rel =” nofollow”属性添加到评论作者的URL以及评论文本中的所有链接。

    However, already for a long time, search engines ignores this and follows links.

    但是,很长一段时间以来,搜索引擎都忽略了这一点并跟踪链接。

    It makes dozens of superfluous external links from comments that are do not bring anything good for your SEO.

    它从注释中创建了许多多余的外部链接,这些链接不会给您的SEO带来任何好处。

    Disable Comments plugin makes all external links in WordPress comments invisible for search engines with Javascript and improves your blog or website SEO.

    禁用评论插件使WordPress注释中的所有外部链接对于使用Javascript的搜索引擎不可见,并改善了您的博客或网站SEO。

    In addition, if you do not want to disable comments you may need to remove website field from the WordPress comment form.

    此外,如果您不想禁用评论,则可能需要从WordPress评论表单中删除网站字段。

    Note: you can remove comment author URL but this feature can be not work with some themes.

    注意:您可以删除评论作者的URL,但某些主题不能使用此功能。

    Generally, the Disable Comments plugin uses the intelligent algorithm to hide comments and remove comments.

    通常,禁用评论插件使用智能算法来隐藏评论删除评论

    You just need to turn some toggles on.

    您只需要打开一些开关即可。

    If you come across any bugs or have suggestions with Disable Comments, please use the plugin support forum.

    如果您遇到任何错误或有关于禁用评论的建议,请使用插件支持论坛。

    I cannot fix them if I do not know about!

    如果我不知道,我将无法修复!

    Please check the FAQ for common issues.

    请检查常见问题的常见问题解答。

    Details

    详细信息

    The Disable Comments plugin allows you completely disable the commenting feature in WordPress.

    “禁用评论”插件可让您完全禁用WordPress中的评论功能

    When this option is on you will get the following changes:

    启用此选项后,您将进行以下更改:

    * Easy Enable or disable Comments;

    *轻松启用或禁用评论;

    * Disable comments globally;

    *全局禁用评论;

    * Disable comments on certain Pages;

    *禁用某些页面上的评论;

    * Disable comments on posts Only;

    *仅禁用帖子评论;

    * Disable comments on pages Only;

    *仅在页面上禁用评论;

    * Disable comments for any post types;

    *禁用任何帖子类型的评论;

    * Disable comments links in the Admin Menu and Admin Bar;

    *禁用管理菜单和管理栏中的评论链接;

    * Disable comments related sections (“Recent Comments”, “Discussion” etc.) and hide from the WordPress Dashboard;

    *禁用与注释相关的部分(“最近的注释”,“讨论”等),并从WordPress仪表板隐藏;

    * Disable comments related widgets (so your theme cannot to use them);

    *禁用与评论相关的窗口小部件(因此您的主题无法使用它们);

    * Disable comments “Discussion” settings page;

    *禁用评论“讨论”设置页面;

    * Disable comments in RSS/Atom feeds (and requests for comments RSS will be redirect to the parent post);

    *在RSS / Atom提要中禁用评论(并且评论请求RSS将重定向到父帖子);

    * Disable X-Pingback HTTP header and remove from all pages;

    *禁用X-Pingback HTTP标头并从所有页面中删除;

    * Disable outgoing pingbacks;

    *禁用传出的pingback;

    * Making comments external links “nofollow” and invisible for search engines;

    *使评论外部链接“ nofollow”且对于搜索引擎不可见;

    * Remove website/URL field from the comment form;

    *从评论表单中删除网站/ URL字段;

    * Remove comments, Delete comments in one click.

    *删除评论,一键删除评论。

    We recently added brand new features into the Disable Comments plugin.

    我们最近在禁用评论插件中添加了全新的功能。

    These are Disable X-Pingback function, Replace external links and Remove website/url comment field.

    这些是禁用X-Pingback 功能,替换外部链接删除网站/网址评论字段

    Some functions was taken from the following popular plugins: Clearfy – disable unused features, Bulk Comments Management, Spam Comments Cleaner,

    某些功能摘自以下流行的插件:清除–禁用未使用的功能批量评论管理垃圾邮件评论清除程序

    >Delete Comments By Status, No Page Comment, WP Disable Comments, Hide “Comments are closed”, Hide

    >按状态删除评论无页面评论 WP禁用评论隐藏“评论已关闭” 隐藏

    Show Comment.

    显示评论

    Advanced Configuration

    高级配置

    Site administrators and plugin/theme developers can modify some of the plugin’s behavior through the code:

    网站管理员和插件/主题开发人员可以通过以下代码修改某些插件的行为:

    Define DISABLE_COMMENTS_REMOVE_COMMENTS_TEMPLATE and set it to false to prevent the plugin from replacing theme’s comment template with an empty one.

    定义DISABLE_COMMENTS_REMOVE_COMMENTS_TEMPLATE并将其设置为false,以防止插件将主题的注释模板替换为空的模板。

    These definitions can be make either in your main wp-config.php or in your theme’s functions.php file.

    这些定义可以在您的主wp-config.php或主题的functions.php文件中进行。

    RECOMMENDED SEPARATE MODULES

    推荐的单独模块

    We invite you to check out a few other related free plugins that our team has also produced that you may find especially useful:

    我们邀请您查看我们团队还提供的一些其他相关免费插件,您可能会发现它们特别有用:

安装步骤

    1. Upload the plugin folder to the /wp-content/plugins/ directory
    2. 将插件文件夹上传到 / wp-content / plugins / 目录

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

    5. The plugin settings can be accessed via the ‘Settings’ menu in the administration area (either your site administration for single-site installs).
    6. 可以通过管理区域中的“设置”菜单(对于单站点安装的站点管理)来访问插件设置。

下载地址
https://downloads.wordpress.org/plugin/comments-plus.zip
-EOF-

AI助手支持GPT4.0