• wunnle

    (@wunnle)


    I’m trying to make WordPress use style.min.css instead of style.css, if it exists.

    if( file_exists( get_template_directory() . '/style.min.css' ) ) {
      //
    }

    I’ve done the checking part (with my horrible php knowledge) , but I can’t find how to edit stylesheet_uri. Any help?

  • The topic ‘If style.min.css exists, use it instead.’ is closed to new replies.