這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 WordPress 產生使用上的相容性問題。

CC-Clean-Head-Tags

外掛說明

The CC-Clean-Head-Tags plugin removes:

  • RSD / EditURI Link
  • WLW Manifest Link
  • RSS Feed Links
  • Next & Prev Post Links
  • Shortlink URL
  • WP-API Links

WP Generator Meta from:

  • html
  • xhtml
  • atom
  • rss2
  • 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
  • Clearcode\Clean_Head_Tags\Script

For example like this:
add_filter( ‘Clearcode\Clean_Head_Tags\Style’, function( $clean, $src, $handle ) {
return ! in_array( $handle, [‘style’] );
}, 10, 3 );

安裝方式

From your WordPress Dashboard

  1. Go to ‘Plugins > Add New’
  2. Search for ‘CC-Clean-Head-Tags’
  3. Activate the plugin from the Plugin section on your WordPress Dashboard.

From WordPress.org

  1. Download ‘CC-Clean-Head-Tags’.
  2. Upload the ‘CC-Clean-Head-Tags’ directory to your ‘/wp-content/plugins/’ directory using your favorite method (ftp, sftp, scp, etc…)
  3. Activate the plugin from the Plugin section in your WordPress Dashboard.

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).

使用者評論

閱讀全部 1 則使用者評論

參與者及開發者

以下人員參與了開源軟體〈CC-Clean-Head-Tags〉的開發相關工作。

參與者

將〈CC-Clean-Head-Tags〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

變更記錄

1.0.4

Release date: 16.03.2022

  • Added: PHP 8.0 support.

1.0.3

Release date: 14.03.2019

  • Fixed: Excluded wp-admin tags.

1.0.2

Release date: 13.03.2018

  • Fixed: Compatibility with WooCommerce.

1.0.1

Release date: 24.01.2017

  • Corrected activation/deactivation functions & added basename property to Plugin class.

1.0.0

Release date: 23.01.2017

  • First stable version of the plugin.