이 플러그인은 최근 3개의 주요 워드프레스 출시와 시험 되지 않았습니다. 워드프레스의 좀 더 최근 버전으로 이용할 때 더 이상 관리되지 않고 지원되지 않고 호환성 문제가 있을 수 있습니다.

AssetsMinify

설명

How many times have you wished to minify in a clean way all the stylesheets and scripts of a WordPress website?

AssetsMinify takes every CSS and JS asset included using wp_enqueue_style() and wp_enqueue_script(), merges and minifies them.

You can also use AssetsMinify to create your WP theme using Compass / Sass / Less without configuring any config.rb or that kind of stuff.

AssetsMinify is based on Assetic library.

Fork me on Github.

스크린샷

  • AssetsMinify's configuration panel
  • How to include your stylesheets
  • Set 777 permissions to you uploads directory

설치

  1. Upload the assetsminify folder to the /wp-content/plugins/ directory
  2. Activate the AssetsMinify plugin through the ‘Plugins’ menu within WordPress
  3. Set write permission to uploads directory. In most cases: chmod 777 wp-content/uploads/
  4. Configure the plugin by going to the Settings > AssetsMinify menu that appears in your admin menu: you can choose whether to use Compass to compile Sass files or not flagging “Use Compass” field. If you check the flag “Use Compass” you can also specify the Compass compiler’s path ( default is /usr/bin/compass ).
  5. Important! If you choose to use Compass, the PHP proc_open function has to be enabled from the server which the website relies on.

FAQ

Which version of PHP is needed to use AssetsMinify on my WordPress installation?

PHP 5.3+

How can I exclude only certain resources from minification?

You can fill in the text field “Resources to exclude” within the admin page of the plugin using the filename of the resource. For example: script.js (not the whole path).

후기

모든 19 평가 읽기

기여자 & 개발자

“AssetsMinify”(은)는 오픈 소스 소프트웨어입니다. 다음의 사람들이 이 플러그인에 기여하였습니다.

기여자

자국어로 “AssetsMinify”(을)를 번역하세요.

개발에 관심이 있으십니까?

코드 탐색하기는, SVN 저장소를 확인하시거나, 개발 기록RSS로 구독하세요.

변경이력

2.0.2

  • Bugfixing
  • Better compatibility with composer’s WordPress installation

2.0.1

  • Fixed bug for minifying js assets

2.0.0

1.2.3

  • SSL and keyframes bugfix thanks @pepe – http://mundschenk.at/

1.2.2

  • Better instructions on AssetsMinify’s admin panel
  • Defined optional async attribute setting within admin panel
  • Check for WordPress 3.8 compatibility

1.2.1

  • Fixed bug of incorrect resources’ inclusion path for subdirectory WordPress installations

1.2.0

  • Check which resources you want to exclude from minification
  • CoffeeScript compatibility
  • New updates for better compatibility with other plugins
  • Better check for background images within stylesheets minified

1.1.4

  • Provided compatibility on SSL for https resources inclusion

1.1.3

  • Provided compatibility with subdirectory WordPress installation

1.1.2

  • Provided compatibility with subdirectory WordPress installation
  • Fixed bug on js inclusions in WP 3.6

1.1.1

  • Provided compatibility with wp_localize_script()

1.1.0

  • Updated cache system to provide multi-sets of different stylesheets or scripts per-page
  • Defined garbage collector for old cache files

1.0.1

  • Fixed bug that caused PHP Warning if CSS/JS file doesn’t exist
  • Extended compatibility to PHP 5.3