• Hi,
    The CSS minify is not working, I already try to enque the style.css but eh files are not minify and doesn t appears in the css file list.

    IU used this to enque css:
    if ( ! is_admin() ) {
    wp_enqueue_style(‘style’, get_template_directory_uri() . ‘/style.css’, NULL, NULL, ‘all’ );
    wp_enqueue_style(‘screen’, get_template_directory_uri() . ‘/screen.css’, NULL, NULL, ‘all’ );
    wp_enqueue_style(‘style’, get_stylesheet_directory_uri() . ‘/style.css’, NULL, NULL, ‘all’ );
    wp_enqueue_style(‘screen’, get_stylesheet_directory_uri() . ‘/screen.css’, NULL, NULL, ‘all’ );

    }

    It make the site very slow.

    ANy help?

    https://www.ads-software.com/plugins/bwp-minify/

Viewing 14 replies - 1 through 14 (of 14 total)
Viewing 14 replies - 1 through 14 (of 14 total)
  • The topic ‘CSS minify not working’ is closed to new replies.