Performance Optimization: Order Styles and Javascript
Did you ever read about Optimization of website/blog through ordering styles and Scripts in head section? If you like your website load in browser as quickly as possible then you may have read in performance…
Consider an alternative
Performance Optimization: Order… shows warning signs in 2026 — compare the alternatives below before installing. It runs on 70+ sites, is rated 5/5 and was last updated 13 years ago, and scores 37/100 on our health check.
- Small user base (70+ active installs)
- No update in 12 years
- Only tested up to WordPress 3.6 (latest is 7.1)
How does it stack up?
Side-by-side on installs, updates, ratings & supportDaily downloads
Download spikes usually follow a new release — each site that auto-updates counts as a download.
Rankings
Where Performance Optimization: O… stands todayWordPress.org search rankings
Live position in the plugin search, top 100| Keyword | Position |
|---|---|
| css | >100 |
| optimization | >100 |
| performance | >100 |
| speed | >100 |
| style | >100 |
Version adoption
Share of active sites per release.
Rating breakdown
★★★★★★★★★★ 5 from 6 reviews
About Performance Optimization: Order Styles…
From the official readme · v1.0Description
Did you ever read about Optimization of website/blog through ordering styles and Scripts in head section?
If you like your website load in browser as quickly as possible then you may have read in performance optimization tips that
you should move all CSS files on top and script at last in HTML head section <head></head>.
How do you order those calls? If you are manually putting CSS and JavaScript files in head section (<head></head>),
then you can do this very easily. Just modify once and optimization for this is over.
What if you are using plugins and that are adding calls to JavaScript and CSS files dynamically. This is case of WordPress blog,
where we use many plugins and those plugins add various Styles and Script files dynamically from wp_head() call.
If above lines, do not makes much sense to you then probably you have not
read this documentation on Google.
The plugin will also collect different inline scripts to one place. Thus making the source code
look better.
To check, if the plugin is doing anything or not, compare the Head section before and after
activating the plugin.
(For reading more details discussion, follow the Plugin link on right side.)
Installation
- Donwload the plugin from WordPress Plugin Directory (https://wordpress.org/extend/plugins/)
- Upload
order-styles-js.phpto the/wp-content/plugins/directory - Active the plugin
- Add the following lines of codes at header.php file where you see <head> section.
You need to add only PHP lines given below. HTML code is for demonstration purpose only.
Mime type “UTF-8” is my mime type. Mention your mime type meta tag. It will just there cut and paste just after
Head section. If “Content-Type” is not available (suppose) in your WordPress header.php file,
then no worry, you can add the 1st part just after <head>.
<head>
<meta http-equiv=”Content-Type” content=”<?php bloginfo(‘html_type’); ?>; charset=<?php bloginfo(‘charset’); ?>” />
<?php
// 1. After Head start section
if (function_exists('orderStyleJS')) {
orderStyleJS( 'start' );
}
?>
<!– blah blah – any other meta element. Stylesheet – External JavaScript – Internal Js –>
<!– blah blah – any other meta element. Stylesheet – External JavaScript – Internal Js –>
<?php
// 2. Just before Head close section
if (function_exists('orderStyleJS')) {
orderStyleJS( 'end' );
}
?>
</head>
Changelog
Removes the empty Script tag you may be getting in case you do not have any inline script in Head section. Correction in Readme.txt file. Bug fixed when there was an style () tag inside head section.
1.1
Just a ReadMe Refresh to tell WP that everything is still fine and work perfectly.
1.0
- Correction in Readme.txt file.
- Removed empty script tags coming in case there was no inline script in head section.
- Bug fixed when there was an style (<style></style>) tag inside head section.
0.5
- Order external stylesheets files and External and Internal JS
For developers
Is this your plugin? Show off the numbers.
Add a live badge to your site, docs or GitHub README. It updates on its own — no account needed.
Best Performance Optimization: Ord… alternatives
All css plugins →FAQ
Performance Optimization: Order Sty…: quick answers
Straight answers, pulled from live WordPress.org data.
Live data from WordPress.org · checked Sep 28, 2026
Is Performance Optimization: Order… free?
Yes. Performance Optimization: Order… is free to download and use from the official WordPress.org plugin directory.
Is Performance Optimization: Order… safe to use in 2026?
Performance Optimization: Order… shows warning signs in 2026 — compare the alternatives below before installing. It runs on 70+ sites, is rated 5/5 and was last updated 13 years ago, and scores 37/100 on our health check.
How many websites use Performance Optimization: Order…?
Performance Optimization: Order… is active on 70+ WordPress websites and has been downloaded 13,705 times since it launched in August 2010. It was downloaded 56 times in the last 30 days.
Does Performance Optimization: Order… work with WordPress 7.1?
Performance Optimization: Order… is officially tested up to WordPress 3.6.1, while the latest release is 7.1.2. It may still work, but try it on a staging site first.
When was Performance Optimization: Order… last updated?
The latest version, 1.0, was released on October 11, 2013 (13 years ago).
Who makes Performance Optimization: Order…?
Performance Optimization: Order… is developed and maintained by Satya Prakash.
What are the best alternatives to Performance Optimization: Order…?
The most popular alternatives to Performance Optimization: Order… are WPCode (3M+ installs), Code Snippets (1M+ installs) and Simple Custom CSS Plugin (100K+ installs).
Powered by PageForge
Want thousands of pages that rank like these? Build them in an afternoon.
This directory runs on the same engine as PageForge. Turn any spreadsheet, CSV or API into thousands of fast, SEO-ready WordPress pages — with schema, internal links and AI-written copy baked in.
- CSV, Google Sheets & API data sources
- AI content, schema & internal links per page
- Works with Elementor, Gutenberg, Yoast & Rank Math
- Free on WordPress.org — no credit card