• Resolved siradhana

    (@siradhana)


    Please add HTML minify, Remove HTML comments Functionality. It is also needed.

    It will be great If you implement this functionality in this Plugin for Community.

    • This topic was modified 5 years, 10 months ago by siradhana.
    • This topic was modified 5 years, 10 months ago by siradhana.
Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Ante Laca

    (@alaca)

    Hi @siradhana,

    Minify HTML is already supported, but there is no option to turn it on from the plugin interface. To turn the minify option on, you should add this piece of code to your theme function.php file

    add_filter( 'wpp_minify_html', '__return_true' );

    The Minify HTML option will probably be included in the plugin interface in future updates.

    Thanks,
    Ante

    Thread Starter siradhana

    (@siradhana)

    But why you did not included it in plugin?

    Is there any reason or it cause any error?

    Please tell me sir.

    • This reply was modified 5 years, 10 months ago by siradhana.
    Plugin Author Ante Laca

    (@alaca)

    Hi @siradhana,
    there is no special reason why it’s not included, but I’m considering to include it in the future updates or turn it on by default.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Please add HTML minify, Remove HTML comments Functionality. It is also needed’ is closed to new replies.