Title: AssetsMinify
Author: Alessandro Carbone
Published: <strong>17 مارس 2013</strong>
Last modified: 20 آوریل 2015

---

جستجوی افزونه‌ها

این افزونه **با ۳ نگارش عمدهٔ اخیر وردپرس آزمایش نشده است**. ممکن است دیگر نگهداری
یا پشتیبانی نشود و هنگام استفاده با نگارش‌های تازه‌تر وردپرس مشکل سازگاری داشته 
باشد.

![](https://s.w.org/plugins/geopattern-icon/assetsminify.svg)

# AssetsMinify

 توسط [Alessandro Carbone](https://profiles.wordpress.org/alecarbo/)

[دانلود](https://downloads.wordpress.org/plugin/assetsminify.2.0.2.zip)

 * [جزئیات](https://fa.wordpress.org/plugins/assetsminify/#description)
 * [نقد و بررسی‌ها](https://fa.wordpress.org/plugins/assetsminify/#reviews)
 *  [نصب](https://fa.wordpress.org/plugins/assetsminify/#installation)
 * [توسعه](https://fa.wordpress.org/plugins/assetsminify/#developers)

 [پشتیبانی](https://wordpress.org/support/plugin/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](https://github.com/acarbone/AssetsMinify).

## عکس‌های صفحه

[⌊AssetsMinify's configuration panel⌉⌊AssetsMinify's configuration panel⌉[

AssetsMinify’s configuration panel

[⌊How to include your stylesheets⌉⌊How to include your stylesheets⌉[

How to include your stylesheets

[⌊Set 777 permissions to you uploads directory⌉⌊Set 777 permissions to you uploads
directory⌉[

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](http://php.net/manual/en/function.proc-open.php)
    has to be enabled from the server which the website relies on.

## سوالات متداول

  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).

## نقد و بررسی‌ها

![](https://secure.gravatar.com/avatar/30fa04b2bd04de19a25cc41b930c2452c924ab60c79a520f93da275f497c7093?
s=60&d=retro&r=g)

### 󠀁[Works like a charm!](https://wordpress.org/support/topic/works-like-a-charm-143/)󠁿

 [Carlos Bensant](https://profiles.wordpress.org/becarlos/) 14 سپتامبر 2016

It does what it said it does, merge and minify your (CSS/JS) assets

![](https://secure.gravatar.com/avatar/d97a352bb796267afc38a5a016379c5ae12e10d76342d51db8ff59d4f03e2f79?
s=60&d=retro&r=g)

### 󠀁[Prefect for minifying assets](https://wordpress.org/support/topic/prefect-for-minifying-assets/)󠁿

 [](https://profiles.wordpress.org/lne1030/) 14 سپتامبر 2016

It’s amazing.

![](https://secure.gravatar.com/avatar/37ee6db79cc52908c44fd994246ee7104dd6b4505bfb176d607f6842c89fcc65?
s=60&d=retro&r=g)

### 󠀁[This is nice! Thanks](https://wordpress.org/support/topic/this-is-nice-thanks/)󠁿

 [plantabutterfly](https://profiles.wordpress.org/plantabutterfly/) 3 سپتامبر 2016

Simple and great. Other minify is bad when compared with this!

![](https://secure.gravatar.com/avatar/2b47dd55fb88c879b12392ee798da68bd15164cf82a5cc28cfad718d15a944d8?
s=60&d=retro&r=g)

### 󠀁[Works like a charm!](https://wordpress.org/support/topic/works-like-a-charm-612/)󠁿

 [robintel](https://profiles.wordpress.org/robintel/) 3 سپتامبر 2016

It’s easy to use, even for complex websites. So I love it.

 [ خواندن تمامی 19 نقد و بررسی‌ ](https://wordpress.org/support/plugin/assetsminify/reviews/)

## توسعه دهندگان و همکاران

“AssetsMinify” نرم افزار متن باز است. افراد زیر در این افزونه مشارکت کرده‌اند.

مشارکت کنندگان

 *   [ Alessandro Carbone ](https://profiles.wordpress.org/alecarbo/)

[ترجمه “AssetsMinify” به زبان شما.](https://translate.wordpress.org/projects/wp-plugins/assetsminify)

### علاقه‌ مند به توسعه هستید؟

[کد را مرور کنید](https://plugins.trac.wordpress.org/browser/assetsminify/)، [مخزن SVN](https://plugins.svn.wordpress.org/assetsminify/)
را بررسی کنید، یا از طریق [RSS](https://plugins.trac.wordpress.org/log/assetsminify/?limit=100&mode=stop_on_copy&format=rss)
در [گزارش توسعه](https://plugins.trac.wordpress.org/log/assetsminify/) مشترک شوید.

## گزارش تغییرات

#### 2.0.2

 * Bugfixing
 * Better compatibility with composer’s WordPress installation

#### 2.0.1

 * Fixed bug for minifying js assets

#### 2.0.0

 * Dependency management with composer for external libraries
 * Manage Travis CI integration
 * Reorganize the Init class to be splitted in more classes
 * Rewrite unit-tests and write code using TDD
 * [Built-in scripts should also be included](https://wordpress.org/support/topic/built-in-scripts-that-should-be-enqueued-in-footer-are-enqueued-in-header)
 * Test on SSL
 * [Sass Placeholder support](https://wordpress.org/support/topic/scss-compiler-chokes-on-placeholder-selectors)
 * Enable Sass, not only Scss format
 * [Allow different media types](https://wordpress.org/support/topic/media-type)
 * [Allow to exclude css/js](https://github.com/acarbone/AssetsMinify/issues/21)
 * Updated JSMin to patchwork/jsqueeze
 * Compile log
 * [Add a flag within the admin page for Development Mode. If this mode is active every reload will check if every scss, also imported ones, have been modified.](https://wordpress.org/support/topic/doesnt-detect-change-if-using-manifest-file?replies=1)
 * [WooCommerce compatibility](https://github.com/acarbone/AssetsMinify/issues/25)
 * [Composer dependency management](https://github.com/acarbone/AssetsMinify/pull/27)

#### 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

## اطلاعات

 *  نگارش **2.0.2**
 *  آخرین به‌روزرسانی **11 سال پیش**
 *  نصب‌های فعال **40+**
 *  نگارش وردپرس ** 3.3 یا بالاتر **
 *  آزمایش‌شده تا **4.2.39**
 *  زبان
 * [English (US)](https://wordpress.org/plugins/assetsminify/)
 * برچسب
 * [assets](https://fa.wordpress.org/plugins/tags/assets/)[css](https://fa.wordpress.org/plugins/tags/css/)
   [JS](https://fa.wordpress.org/plugins/tags/js/)[less](https://fa.wordpress.org/plugins/tags/less/)
   [minify](https://fa.wordpress.org/plugins/tags/minify/)
 *  [نمایش پیشرفته](https://fa.wordpress.org/plugins/assetsminify/advanced/)

## امتیازها

 4.9 از 5 ستاره.

 *  [  امتیاز 17 5-ستاره     ](https://wordpress.org/support/plugin/assetsminify/reviews/?filter=5)
 *  [  امتیاز 2 4-ستاره     ](https://wordpress.org/support/plugin/assetsminify/reviews/?filter=4)
 *  [  امتیاز 0 3-ستاره     ](https://wordpress.org/support/plugin/assetsminify/reviews/?filter=3)
 *  [  امتیاز 0 2-ستاره     ](https://wordpress.org/support/plugin/assetsminify/reviews/?filter=2)
 *  [  امتیاز 0 1-ستاره     ](https://wordpress.org/support/plugin/assetsminify/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/assetsminify/reviews/#new-post)

[مشاهده همه بررسی‌ها](https://wordpress.org/support/plugin/assetsminify/reviews/)

## مشارکت کنندگان

 *   [ Alessandro Carbone ](https://profiles.wordpress.org/alecarbo/)

## پشتیبانی

چیزی برای گفتن دارید؟ نیاز به کمک دارید؟

 [مشاهده انجمن پشتیبانی](https://wordpress.org/support/plugin/assetsminify/)

## کمک مالی

آیا تمایل دارید از پیشرفت این افزونه حمایت کنید؟

 [ کمک مالی به این افزونه ](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=USTVFTWRP6DGW)