Title: WP Scripts &amp; Styles Optimizer
Author: Hendrik Lersch
Published: <strong>Agẹmọ  6, 2016</strong>
Last modified: Ọ̀wàrà 10, 2017

---

Ṣàwárí àwọn plugin

![](https://ps.w.org/wp-script-optimizer/assets/banner-772x250.jpg?rev=1491267)

Plugin yìí **kò tíì ṣe àyẹ̀wò pẹ̀lú àwọn ìtújáde mẹ́ta pàtàkì tó kẹ́yìn ti WordPress**.
Ó lè jẹ́ pé a kò tọ́jú tàbí ṣe àtìlẹ́yìn fún un mọ́, ó sì lè ní àwọn ọ̀ràn ìbámu
nígbà tí a bá lò ó pẹ̀lú àwọn ẹ̀yà WordPress tuntun.

![](https://ps.w.org/wp-script-optimizer/assets/icon-128x128.png?rev=1450859)

# WP Scripts & Styles Optimizer

 Láti ọwọ́ [Hendrik Lersch](https://profiles.wordpress.org/riddler84/)

[Ṣe ìgbàsílẹ̀](https://downloads.wordpress.org/plugin/wp-script-optimizer.0.4.5.zip)

 * [Àwọn àlàyé](https://yor.wordpress.org/plugins/wp-script-optimizer/#description)
 * [Àwọn àgbéyẹ̀wò](https://yor.wordpress.org/plugins/wp-script-optimizer/#reviews)
 *  [Ìgbéwọlẹ̀](https://yor.wordpress.org/plugins/wp-script-optimizer/#installation)
 * [Ìdàgbàsókè](https://yor.wordpress.org/plugins/wp-script-optimizer/#developers)

 [Ìrànlọ́wọ́](https://wordpress.org/support/plugin/wp-script-optimizer/)

## Àpèjúwe

Optimization of included JavaScript- and CSS-files can be a very important thing,
if you want a faster site. Many WordPress plugins comes with multiple third-party
and/or own JavaScript-files that are then often be included on every page of your
site. In worst cases you have more than one of the same file included on your site.
That slows down your site!

But also “Render blocking” can easily slow down a website. Every external JavaScript-
or CSS-file, that is included in the head of your site, blocks the site from rendering,
until all files are completely processed. ItÌtumọ̀ Yorùbá: ’s a common practice 
to move all these Scripts and Styles (except critical CSS) to the footer of your
site, so the rendering is no longer blocked and your website loads faster.

This is where WP Script Optimizer helps you! It makes it possible to control the
output of every registered JavaScript or CSS-file. You can easily create rules for
it or deactivate files completely. You can also move files to the footer of your
site or vice versa.

Check out the following lists for all currently avaiable and planned features. If
you like this plugin, please upvote and comment. That would be really helpful.

**What you can currently do with WP Script Optimizer**

 * Get an overview of all frontend JavaScript and CSS files, that are included on
   your site (divided in categories)
 * Control scripts and styles for as many single pages as you want or simply globally
 * Change the positioning (Header/Footer) of specific JavaScripts / CSS or all at
   once
 * Deactivate specific Javascripts or CSS-files completely, if not needed
 * Easily create logical rules to control under which conditions a file is included
   or not (by use of wordpressÌtumọ̀ Yorùbá: ’s conditional tags)

**What you can do in future with WP Script Optimizer (planned, but not currently
implemented)**

 * Minify and/or encrypt JavaScript- and CSS-files
 * Include your own JavaScript/CSS files or JavaScript/CSS inline code, without 
   do it manually through functions.php
 * Add extra code to any registered JavaScript or CSS-file
 * Concatenate two or more (or all) files of one type (JS or CSS) to speed up loading
   times
 * Better overview of dependents and its dependencys
 * … feel free to make suggestions 🙂

**IMPORTANT Ìtumọ̀ Yorùbá: – Please read:**

This plugin can not decide if a file is needed or not needed in a specific situation.
Your settings have the potential to break features and functions of your site. If
that is the case, you can easily change or delete your settings via the admin panel,
so everything will be like it was before.

tl;dr: you have to know what youÌtumọ̀ Yorùbá: ’re doing 😉

**If You had any problems with this plugin, please contact me, so i could fix it.
Please donÌtumọ̀ Yorùbá: ’t write a negative review without gave me the chance to
correct any issues. Thanks.**

## Àwọn àwòrán ìbòjú

 * [[
 * Overview of global scripts and styles.
 * [[
 * Overview of single page scripts and styles.
 * [[
 * Avaiable Options for each file.
 * [[
 * Set Conditions for any file.
 * [[
 * Get scripts & styles for a single page.
 * [[
 * Admin notices keeps you informed of what happened.

## Ìgbéwọlẹ̀

 1. Upload the plugin folder to the `/wp-content/plugins/` directory, or install the
    plugin through the WordPress plugins screen directly.
 2. Activate the plugin through the ‘Plugins’ screen in WordPress.
 3. Move onto the ‘WP Script Optimizer’ page in admin panel and click on ‘Update lists’
    in the upper right corner.
 4. Thats it! Now you can start customize your scripts and styles.

## FAQ

Coming soon…

  Installation Instructions

 1. Upload the plugin folder to the `/wp-content/plugins/` directory, or install the
    plugin through the WordPress plugins screen directly.
 2. Activate the plugin through the ‘Plugins’ screen in WordPress.
 3. Move onto the ‘WP Script Optimizer’ page in admin panel and click on ‘Update lists’
    in the upper right corner.
 4. Thats it! Now you can start customize your scripts and styles.

## Àwọn àgbéyẹ̀wò

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

### 󠀁[Amazing! Thank you!](https://wordpress.org/support/topic/amazing-thank-you-8/)󠁿

 [brandoncordoba](https://profiles.wordpress.org/brandoncordoba/) Èrèlé 28, 2019

This plugin is exactly what I needed to combat “standard practice” aka “i donÌtumọ̀
Yorùbá: ’t care about user experience” coding. How can I donate to you or give you
$ for helping me out so much?

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

### 󠀁[So far itÌtumọ̀ Yorùbá: ’s great](https://wordpress.org/support/topic/so-far-its-great-2/)󠁿

 [vidordesigns](https://profiles.wordpress.org/vidordesigns/) Èrèlé 11, 2019

After the Gutenberg update, My Enfold theme and LifterLMS scripts would cancel each
other out. Once I installed WP S & S, I am able to manage which scripts fire off
on what pages/posts. That is gold!! If you can, please develop it further, I would
definitely throw money at such a robust tool. Thanks!

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

### 󠀁[suggest faster update and improve this plugin](https://wordpress.org/support/topic/suggest-faster-update-and-improve-this-plugin/)󠁿

 [klofseo](https://profiles.wordpress.org/klofseo/) Ṣẹrẹ 20, 2019

no doubt, this plugin is very goog plugin, it is simple and powerful. but from now
on, this plugin already has been update and add more functions according to user
feedback and youself developing plan. i think this is not fit. i think your plan
is very good, and there are very many good idea here. even i suggest you sales this
plugin, but you should do more thing for this. so your user can give better plugin,
you can get corresponding reward, it is real fair. or you should give up this plugin
if you have not enough time or other reasons.

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

### 󠀁[Fantastic!](https://wordpress.org/support/topic/fantastic-1696/)󠁿

 [axeman41](https://profiles.wordpress.org/axeman41/) Ṣẹrẹ 29, 2018

What a great plugin…exactly what I needed! I would like to also suggest that an 
import/export settings feature would be very useful.

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

### 󠀁[outSTANDING!](https://wordpress.org/support/topic/outstanding-259/)󠁿

 [Glenn](https://profiles.wordpress.org/rglennnall/) Ògún 21, 2017 1 ìdáhùn

out…STANDING PLUGIN!!! Just what I needed Ìtumọ̀ Yorùbá: – what you need when you
have plugins loading pages sitewide when you only need it to load on one page. Whoever
said itÌtumọ̀ Yorùbá: ’s “useless” just doesnÌtumọ̀ Yorùbá: ’t get it. way cool.

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

### 󠀁[Great Plugin](https://wordpress.org/support/topic/great-plugin-14495/)󠁿

 [dhesse90](https://profiles.wordpress.org/dhesse90/) Agẹmọ 18, 2017 1 ìdáhùn

This plugin is great! IÌtumọ̀ Yorùbá: ’ve been using it for the last several months
and it has really helped to cut down the number of HTTP requests and also helps 
my pages load faster. The rules are easy to set up, and the global function along
with sync with global make the job a lot faster. Lastly, the support is excellent
and lightning fast!

 [ Ka gbogbo àwọn àgbéyẹ̀wò 15 ](https://wordpress.org/support/plugin/wp-script-optimizer/reviews/)

## Àwọn Olùkópa & Olùgbéejáde

“WP Scripts & Styles Optimizer” jẹ́ ètò ìṣàmúlò orísun ṣíṣí sílẹ̀. Àwọn ènìyàn wọ̀nyí
ti ṣe ìkópa sí plugin yìí.

Àwọn Olùkópa

 *   [ Hendrik Lersch ](https://profiles.wordpress.org/riddler84/)

[Túmọ̀ “WP Scripts & Styles Optimizer” sí èdè rẹ.](https://translate.wordpress.org/projects/wp-plugins/wp-script-optimizer)

### Ṣe o nífẹ̀ẹ́ sí ìdàgbàsókè?

[Ṣàwárí koodu](https://plugins.trac.wordpress.org/browser/wp-script-optimizer/),
ṣàyẹ̀wò [ibi ìpamọ́ SVN](https://plugins.svn.wordpress.org/wp-script-optimizer/),
tàbí ṣe àgbékalẹ̀ sí [àkọsílẹ̀ ìdàgbàsókè](https://plugins.trac.wordpress.org/log/wp-script-optimizer/)
nípasẹ̀ [RSS](https://plugins.trac.wordpress.org/log/wp-script-optimizer/?limit=100&mode=stop_on_copy&format=rss).

## Àkọsílẹ̀ àwọn àyípadà

#### 0.4.5

 * CHANGE: Remove cURL and use WP-HTTP API instead to improve compatibility.

#### 0.4.4

 * FIX: Last update produces a bug that could potentially prevent scripts from being
   enqueued. This is now fixed.

#### 0.4.3

 * FIX: Localized script data will now be used dynamically to make sure data like
   nonces, which are being created at runtime, work properly.

#### 0.4.2

 * FIX: Add useragent to CURL requests to prevent HTTP error 403.

#### 0.4.1

 * FIX: Handles without a src-value will be registered and enqueued correctly now.
 * CHANGE: The lists donÌtumọ̀ Yorùbá: ’t show handles without a src-value anymore.
   These handles donÌtumọ̀ Yorùbá: ’t represent real files and are only there to
   force other scripts or styles to be enqueued. (e.g. for backwards compatibility).

#### 0.4.0

 * Required WordPress version raises to 4.4.0.
 * Changed the upper tabs to “Global” and “Single pages”.
 * Scripts and styles can now be controlled on one page. Header and footer can be
   switched via tabs.
 * Added the ability to control also single pages. They can be added and controlled
   via the “Single Pages” tab.
    - New pages can be added by pasting the url into the input field and click on“
      Get Scripts & Styles”.
    - Saved pages can be found in a list on the left. After clicking a list item,
      the scripts & styles associated with this page will be loaded.
    - The settings for single pages can be easily synchronized with the global settings,
      if needed.
    - All saved pages can be updated or deleted as once or separately.
 * Improved admin notices for better information about things that happen, e.g. 
   adding/deleting entrys or theme/plugin changes.

#### 0.3.0

 * Changed the name of the plugin to “WP Scripts & Styles Optimizer”.
 * Major improvements in the way how files are handled. Instead of simply deregister
   any deactivated or conditional file, it now deregisters all files and enqueue
   them back if not deactivated completely or conditions didnÌtumọ̀ Yorùbá: ’t match.
   This means more control over the whole process and is a step forward with view
   on future features.
 * CSS-files can now moved into the footer! That was only possible due to the change
   above.
 * The WordPress JavaScript “wp-embed” can now be changed by the plugin.
 * The “jquery” handle has now an explanation text, that itÌtumọ̀ Yorùbá: ’s only
   a placeholder for “jquery-core” and “jquery-migrate”.
 * Added plugin version to own javascript and css files to force a reload after 
   update (caching).

#### 0.2.2

 * Improve internal handling of default options
 * Fix a problem that prints a PHP Error in some cases.

#### 0.2.1

 * Complete new UI that no longer use WordPressÌtumọ̀ Yorùbá: ’s WP_List_Table class.
   Instead of one table list, it is now divided into lists for scripts and styles,
   which are itself separated in header and footer.
 * Including Font-Awesome Icon-Library for styling purposes.
 * Added a new option to reset every script or style to its original state. (Per
   item or as bulk-action)
 * Added a help page to explain the pluginÌtumọ̀ Yorùbá: ’s functions.
 * Several code improvements

#### 0.1.2

 * Fixed a bug, which triggers a PHP notice for some users

#### 0.1.1

 * Fixed some bugs

#### 0.1.0

 * Initial Release

## Àkójọpọ̀ Meta

 *  Ẹ̀yà **0.4.5**
 *  Ìgbàgbọ́hùn tó kẹ́yìn **ọdún 9 sẹ́yìn**
 *  Àwọn ìgbéwọlẹ̀ tó ṣiṣẹ́ **100+**
 *  Ẹ̀yà WordPress ** 4.4.0 tàbí ju bẹ́ẹ̀ lọ **
 *  Dánwò dé **4.8.28**
 *  Èdè
 * [English (US)](https://wordpress.org/plugins/wp-script-optimizer/)
 * Àwọn àmì
 * [css](https://yor.wordpress.org/plugins/tags/css/)[javascript](https://yor.wordpress.org/plugins/tags/javascript/)
   [scripts](https://yor.wordpress.org/plugins/tags/scripts/)[styles](https://yor.wordpress.org/plugins/tags/styles/)
 *  [Ìwòye Tó Péye](https://yor.wordpress.org/plugins/wp-script-optimizer/advanced/)

## Àwọn ìbò

 4.7 lára àwọn ìràwọ̀ 5.

 *  [  14 5-star reviews     ](https://wordpress.org/support/plugin/wp-script-optimizer/reviews/?filter=5)
 *  [  0 4-star reviews     ](https://wordpress.org/support/plugin/wp-script-optimizer/reviews/?filter=4)
 *  [  0 3-star reviews     ](https://wordpress.org/support/plugin/wp-script-optimizer/reviews/?filter=3)
 *  [  0 2-star reviews     ](https://wordpress.org/support/plugin/wp-script-optimizer/reviews/?filter=2)
 *  [  1 1-star review     ](https://wordpress.org/support/plugin/wp-script-optimizer/reviews/?filter=1)

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

[See all reviews](https://wordpress.org/support/plugin/wp-script-optimizer/reviews/)

## Àwọn Olùkópa

 *   [ Hendrik Lersch ](https://profiles.wordpress.org/riddler84/)

## Ìrànlọ́wọ́

Nǹkan wà tí o fẹ́ sọ? Ṣé o nílò ìrànlọ́wọ́?

 [Wo àpéjọ ìrànlọ́wọ́](https://wordpress.org/support/plugin/wp-script-optimizer/)

## Ṣe ìtọrẹ

Ṣé o fẹ́ ṣe àtìlẹ́yìn fún ìlọsíwájú plugin yìí?

 [ Ṣe ìtọrẹ sí plugin yìí ](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=XYR3H8B74NE4Y)