[wordpress插件] CC-Clean-Head-TagsCC-Clean-Head-Tags

wordpress 插件 文章 2020-03-19 11:50 451 0 全屏看文

AI助手支持GPT4.0

评分
0
描述

The CC-Clean-Head-Tags plugin removes:

CC-Clean-Head-Tags插件删除:

    • RSD / EditURI Link
    • RSD / EditURI链接

    • WLW Manifest Link
    • WLW清单链接

    • RSS Feed Links
    • RSS供稿链接

    • Next & Prev Post Links
    • 下一个和上一个帖子链接

    • Shortlink URL
    • 短链接URL

    • WP-API Links
    • WP-API链接

    WP Generator Meta from:

    WP Generator的来源:

      • html
      • html

      • xhtml
      • xhtml

      • atom
      • 原子

      • rss2
      • rss2

      • rdf
      • rdf

      • comment
      • 评论

      • export
      • 导出

      Additionally it removes version numbers from style and script links.

      此外,它还会从样式和脚本链接中删除版本号。

      Tips & Tricks

      提示和技巧

      You can exclude version number removal from certain style and/or script using these built-in filters:

      您可以使用以下内置过滤器从某些样式和/或脚本中删除版本号:

        • Clearcode\Clean_Head_Tags\Style
        • 清除代码\ Clean_Head_Tags \ Style

        • Clearcode\Clean_Head_Tags\Script
        • 清除代码\ Clean_Head_Tags \ Script

        For example like this:
            

        例如这样的例子:
            

        add_filter( ‘Clearcode\Clean_Head_Tags\Style’, function( $clean, $src, $handle ) {
                

        add_filter(‘Clearcode \ Clean_Head_Tags \ Style’,function($ clean,$ src,$ handle){
                

        return !

        退货!

        in_array( $handle, [‘style’] );
            

        in_array($ handle,['style']);
            

        }, 10, 3 );

        },10,3);

安装步骤

From your WordPress Dashboard

从您的WordPress仪表板中

    1. Go to ‘Plugins > Add New’
    2. 转到“插件>添加新内容”

    3. Search for ‘CC-Clean-Head-Tags’
    4. 搜索“ CC-Clean-Head-Tags”

    5. Activate the plugin from the Plugin section on your WordPress Dashboard.
    6. 从WordPress仪表板上的“插件”部分激活插件。

    From WordPress.org

    来自WordPress.org

      1. Download ‘CC-Clean-Head-Tags’.
      2. 下载“ CC-Clean-Head-Tags”。

      3. Upload the ‘CC-Clean-Head-Tags’ directory to your ‘/wp-content/plugins/’ directory using your favorite method (ftp, sftp, scp, etc…)
      4. 使用您喜欢的方法(ftp,sftp,scp等)将“ CC-Clean-Head-Tags”目录上传到您的“ / wp-content / plugins /”目录

      5. Activate the plugin from the Plugin section in your WordPress Dashboard.
      6. 从WordPress信息中心的“插件”部分激活插件。

      Multisite

      多站点

      The plugin can be activated and used for just about any use case.

      可以激活该插件并将其用于几乎所有用例。

        • Activate at the site level to load the plugin on that site only.
        • 在站点级别激活以仅在该站点上加载插件。

        • Activate at the network level for full integration with all sites in your network (this is the most common type of multisite installation).
        • 在网络级别激活以与网络中的所有站点完全集成(这是多站点安装的最常见类型)。

下载地址
https://downloads.wordpress.org/plugin/cc-clean-head-tags.zip
-EOF-

AI助手支持GPT4.0