WordPress.org

Ready to get started?Download WordPress

Forums

Better WordPress Minify
[resolved] How can I enable it for admin JS/CSS? (2 posts)

  1. ssj_costy
    Member
    Posted 1 year ago #

    Hi, is there any way I could use this plugin to minify the scripts and css on admin pages? My site is using a lot of plugins which add a lot of javascript files on the admin side, which now loads in 20 seconds!
    Or maybe I can use a different approach?

    http://wordpress.org/extend/plugins/bwp-minify/

  2. Khang Minh
    Member
    Plugin Author

    Posted 1 year ago #

    Although it is entirely possible (BWP Minify supports this), but I would not recommend doing so.

    Anyway, use this in your theme:

    add_filter('bwp_minify_allowed_in_admin', create_function('', 'return true;'));

    If this fails, then Minify might not work with your wp-admin :).

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic