Title: PUZZLER is JS + CSS combine
Author: igor.antoshkin
Published: <strong>23 ທັນວາ 2015</strong>
Last modified: 24 ທັນວາ 2015

---

ຄົ້ນຫາປລັກອິນ

![](https://ps.w.org/puzzler/assets/banner-772x250.jpg?rev=1315732)

ປລັກອິນນີ້ **ຍັງບໍ່ທັນໄດ້ຮັບການທົດສອບກັບ WordPress 3 ເວີຊັນຫຼັກຫຼ້າສຸດ**. ມັນອາດຈະ
ບໍ່ໄດ້ຮັບການເບິ່ງແຍງ ຫຼື ສະໜັບສະໜູນອີກຕໍ່ໄປ ແລະ ອາດມີບັນຫາການເຮັດວຽກຮ່ວມກັນເມື່ອ
ໃຊ້ກັບ WordPress ເວີຊັນທີ່ໃໝ່ກວ່າ.

![](https://ps.w.org/puzzler/assets/icon-128x128.png?rev=1315733)

# PUZZLER is JS + CSS combine

 ໂດຍ [igor.antoshkin](https://profiles.wordpress.org/igorantoshkin/)

[ດາວໂຫຼດ](https://downloads.wordpress.org/plugin/puzzler.zip)

 * [ລາຍລອຽດ](https://lo.wordpress.org/plugins/puzzler/#description)
 * [ການຣີວິວ](https://lo.wordpress.org/plugins/puzzler/#reviews)
 *  [ການຕິດຕັ້ງ](https://lo.wordpress.org/plugins/puzzler/#installation)
 * [ການພັດທະນາ](https://lo.wordpress.org/plugins/puzzler/#developers)

 [ການຊ່ວຍເຫຼືອ](https://wordpress.org/support/plugin/puzzler/)

## ຄຳອະທິບາຍ

Puzzler – it excellent js/css aggregator for advanced users:

 * Automatically combines all enqueued scripts/styles into a single file, for faster
   loading blog.
 * Starts immediately without setting.
 * You can adds scripts and styles in queue, change the order, edit – and Puzzler
   automatically make recombines.

Puzzler – don’t worry be happy.

Require PHP 5.4 or high.

You should remember 3 key rules before using:

### Key rule 1

> All scripts and styles must include ONLY 1 time and ONLY in 1 place, e.g. in wp_enqueue_scripts
> hook

### Key rule 2

> Styles(css) aggregation perform only for media=’all’ ( without alternative stylesheets,
> titles, conditionals )

### Key rule 3

> Avoid register/enqueue scripts/styles in conditional expressions
>  add_action(‘
> wp_enqueue_scripts’, ‘my_enqueue_scripts’); function my_enqueue_scripts() {

    ```
      // -- don't do it !
      if ( is_single() || is_page() ) { 
          wp_enqueue_script('myscript');
      }

      // -- correct !
      wp_enqueue_script('myscript');

    }
    ```

#### ​ລັກ​ສະ​ນະ​ພິ​ເສດ

 * Auto detect files change
 * Autocorrect internal links in the CSS after aggregation ( url/src )
 * Auto +20 scores in Google PageSpeed Insights
 * Async/lazy load aggregated scripts/styles
 * Windows compatible

## ພາບໜ້າຈໍ

[⌊Puzzler settings⌉⌊Puzzler settings⌉[

Puzzler settings

## ການຕິດຕັ້ງ

 1. Make sure **PHP version is 5.4** or high.
 2. Create in your _wp-content_ directory, **cache** folder with 0777 permissions
 3. Upload the plugin files to the `plugins/puzzler` directory, or install the plugin
    through the WordPress plugins screen directly.
 4. Activate the plugin through the ‘Plugins’ screen in WordPress
 5. You can configure plugin through “Puzzler” item in main admin menu

## ຄຳຖາມທີ່ພົບເລື້ອຍ

None FAQs

## ການຣີວິວ

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

### 󠀁[It's really only for advanced users](https://wordpress.org/support/topic/its-really-only-for-advanced-users/)󠁿

 [nenosadog](https://profiles.wordpress.org/nenosadog/) 3 ກັນຍາ 2016

interested, all scripts&styles (include themes+plugins) must enqueued only in wp_enqueue_scripts().
in this case – working perfectly, else – can be crash)

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

### 󠀁[Super fast 🙂](https://wordpress.org/support/topic/super-fast-6/)󠁿

 [qazitron](https://profiles.wordpress.org/qazitron/) 3 ກັນຍາ 2016

Thanks.

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

### 󠀁[Broke my site](https://wordpress.org/support/topic/broke-my-site-100/)󠁿

 [sublines](https://profiles.wordpress.org/sublines/) 3 ກັນຍາ 2016 1 ການຕອບກັບ

This plugin completely broke my site. My server fulfills the requirements but changing
any settings of the plugin didn't help at all but at least after deactivating it
everything was back to normal. What a relief. I took a look at the compressed files
it genereated and already saw that this would not work without bothering to look
into details. Also: I'm pretty sure relying on a cache folder with CHMOD 777 is 
bad practice.

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

### 󠀁[Ready to help with the plugin.](https://wordpress.org/support/topic/ready-to-help-with-the-plugin/)󠁿

 [igor.antoshkin](https://profiles.wordpress.org/igorantoshkin/) 3 ກັນຍາ 2016

Hi guys. If you have any problems or questions with the plugin, please email me 
and I will help you. igor.antoshkin@gmail.com

 [ ອ່ານການຣີວິວທັງໝົດ 4 ລາຍການ ](https://wordpress.org/support/plugin/puzzler/reviews/)

## ຜູ້ຮ່ວມພັດທະນາ ແລະ ຜູ້ພັດທະນາ

“PUZZLER is JS + CSS combine” ແມ່ນຊອຟແວໂອເພັນຊອດ (Open Source). ບຸກຄົນຕໍ່ໄປນີ້ໄດ້
ມີສ່ວນຮ່ວມໃນການພັດທະນາປລັກອິນນີ້.

ຜູ້ຮ່ວມພັດທະນາ

 *   [ igor.antoshkin ](https://profiles.wordpress.org/igorantoshkin/)

[ແປ “PUZZLER is JS + CSS combine” ເປັນພາສາຂອງເຈົ້າ.](https://translate.wordpress.org/projects/wp-plugins/puzzler)

### ສົນໃຈຮ່ວມພັດທະນາບໍ່?

[ເບິ່ງລະຫັດ](https://plugins.trac.wordpress.org/browser/puzzler/), ກວດເບິ່ງ [ຄັງເກັບ SVN](https://plugins.svn.wordpress.org/puzzler/),
ຫຼື ຕິດຕາມ [ບັນທຶກການພັດທະນາ](https://plugins.trac.wordpress.org/log/puzzler/) ຜ່ານ
[RSS](https://plugins.trac.wordpress.org/log/puzzler/?limit=100&mode=stop_on_copy&format=rss).

## ບັນທຶກການປ່ຽນແປງ

#### 1.0

 * First version

## ຂໍ້ມູນກຳກັບ (Meta)

 *  ເວີຊັນ **1.0**
 *  ອັບເດດຫຼ້າສຸດເມື່ອ **11 ປີ ທີ່ຜ່ານມາ** ທີ່ຜ່ານມາ
 *  ການຕິດຕັ້ງທີ່ໃຊ້ງານຢູ່ **10+**
 *  ເວີຊັນ WordPress ** 3.4 ຫຼື ສູງກວ່າ **
 *  ທົດສອບເຖິງເວີຊັນ **4.4.34**
 *  ພາສາ
 * [English (US)](https://wordpress.org/plugins/puzzler/)
 * ແທັກ
 * [aggregate](https://lo.wordpress.org/plugins/tags/aggregate/)[combination](https://lo.wordpress.org/plugins/tags/combination/)
   [combine](https://lo.wordpress.org/plugins/tags/combine/)[css](https://lo.wordpress.org/plugins/tags/css/)
   [JS](https://lo.wordpress.org/plugins/tags/js/)
 *  [ມຸມມອງຂັ້ນສູງ](https://lo.wordpress.org/plugins/puzzler/advanced/)

## ການໃຫ້ຄະແນນ

 4 ຈາກທັງໝົດ 5 ດາວ.

 *  [  ການວິຈານ 5 ດາວ ຈຳນວນ 3 ລາຍການ     ](https://wordpress.org/support/plugin/puzzler/reviews/?filter=5)
 *  [  ການວິຈານ 4 ດາວ ຈຳນວນ 0 ລາຍການ     ](https://wordpress.org/support/plugin/puzzler/reviews/?filter=4)
 *  [  ການວິຈານ 3 ດາວ ຈຳນວນ 0 ລາຍການ     ](https://wordpress.org/support/plugin/puzzler/reviews/?filter=3)
 *  [  ການວິຈານ 2 ດາວ ຈຳນວນ 0 ລາຍການ     ](https://wordpress.org/support/plugin/puzzler/reviews/?filter=2)
 *  [  ການວິຈານ 1 ດາວ ຈຳນວນ 1 ລາຍການ     ](https://wordpress.org/support/plugin/puzzler/reviews/?filter=1)

[ການທົບທວນຂອງທ່ານ](https://wordpress.org/support/plugin/puzzler/reviews/#new-post)

[ເບິ່ງທັງໝົດ ການຣີວິວ](https://wordpress.org/support/plugin/puzzler/reviews/)

## ຜູ້ຮ່ວມພັດທະນາ

 *   [ igor.antoshkin ](https://profiles.wordpress.org/igorantoshkin/)

## ການຊ່ວຍເຫຼືອ

ມີຄຳຖາມ ຫຼື ຕ້ອງການຄວາມຊ່ວຍເຫຼືອບໍ່?

 [ເບິ່ງຟໍຣັມການຊ່ວຍເຫຼືອ](https://wordpress.org/support/plugin/puzzler/)

## ບໍລິຈາກ

ເຈົ້າຕ້ອງການສະໜັບສະໜູນການພັດທະນາຂອງປລັກອິນນີ້ບໍ່?

 [ ບໍລິຈາກໃຫ້ປລັກອິນນີ້ ](https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=igor%2eantoshkin%40gmail%2ecom&lc=GB&item_name=WP%20Puzzler%20plugin&currency_code=USD&bn=PP%2dDonationsBF%3abtn_donate_LG%2egif%3aNonHosted)