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

SR WP Minify HTML

描述

SR Minify HTML compresses the HTML output and removes all new lines, extra spaces, HTML comments, CSS and JS comments single and multiline both and delivers only one single line of HTML code to the client side. This will help you reduce the page size and apparently the load time.
This plugin will help you increase your SEO score.

This plugin will work perfectly if your theme is created in the standard way.

  1. Target template should start with get_header() before outputting.
  2. Your theme footer or end of file should have wp_footer() just before closing body tag.

螢幕截圖

  • Activate plugin
  • Go to plugin setting page
  • Enable html compression for current active theme
  • Final output you will have

安裝

  1. Upload the entire sr-minify-html folder to the /wp-content/plugins/ directory.
  2. Activate the plugin through the ‘Plugins’ menu in WordPress.
  3. You will find ‘SR MINIFY HTML’ as a sub-menu under your WordPress Settings menu.

評價

There are no reviews for this plugin.

貢獻者及開發者

“SR WP Minify HTML” 是一個開源的軟體。以下的人對這個外掛作出了貢獻。

貢獻者

將 SR WP Minify HTML 外掛本地化為台灣繁體中文版。

對開發相關資訊感興趣?

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

修改日誌

2.1

Fixed PHP Warning: Deprecated: Non-static method ( when debug enabled )
Fixed WP Warning: Plugin generated numbers of character of unexpected output ( when plugin activated )