WordPress.org

Forums

WP-HTML-Compression
[resolved] Works too well in one case - suggestion for enhancement (5 posts)

  1. stevemagruder
    Member
    Posted 3 years ago #

    This plugin works very well, but I have a case where in a text widget, I want the HTML commenting to stay intact as it serves a technical purpose.

    What would be nice is if I could turn off this compression on a per-widget basis. Would this be possible?

    Thanks!

    http://wordpress.org/extend/plugins/wp-html-compression/

  2. stevemagruder
    Member
    Posted 3 years ago #

    A maybe simpler approach would be to leave everything within

    <code></code>

    tags intact, as that would apply to my case.

  3. Steven Vachon
    Member
    Plugin Author

    Posted 3 years ago #

    Have you tried the compression override comment tag? If that doesn't work for you, there is a new version coming in the near future (next few months, probably) that will allow more customization.. and an admin UI

  4. stevemagruder
    Member
    Posted 3 years ago #

    Just tried it and it works. I'll smack myself for not reading the FAQ. Thanks for your assistance and a fantastic plugin!

  5. Steven Vachon
    Member
    Plugin Author

    Posted 3 years ago #

    :)

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WP-HTML-Compression
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic