This plugin hasn’t been tested with the latest 3 major releases of WordPress. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

SR WP Minify HTML

Description

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.

Screenshots

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

Installation

  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.

Contributors & Developers

“SR WP Minify HTML” is open source software. The following people have contributed to this plugin.

Contributors

Translate “SR WP Minify HTML” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.

Changelog

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 )