Remove CSS link IDs
This simple plugin hooks to the wp_enqueue_scripts and removed the id='-css' attribute. Most of the time you don’t need these IDs anyway.
Consider an alternative
Remove CSS link IDs shows warning signs in 2026 — compare the alternatives below before installing. It runs on 20+ sites, is rated 5/5 and was last updated 12 years ago, and scores 31/100 on our health check.
- Small user base (20+ active installs)
- Very few reviews so far
- No update in 11 years
- Only tested up to WordPress 3.9 (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 Remove CSS link IDs stands todayWordPress.org search rankings
Live position in the plugin search, top 100| Keyword | Position |
|---|---|
| attributes | >100 |
| css | >100 |
| enqueue | >100 |
| id | >100 |
| mod_pagespeed | #6 |
Version adoption
Share of active sites per release.
Rating breakdown
★★★★★★★★★★ 5 from 1 reviews
About Remove CSS link IDs
From the official readme · v1.0.1Description
This simple plugin hooks to the wp_enqueue_scripts and removed the id='<handle of the css file>-css' attribute. Most of the time you don’t need these IDs anyway.
I am using the mod_pagespeed module on my server and the combine_css filter doesn’t work if the <link> tags have ID attributes. So based on this blog post I created a very very simple (basically one-liner) plugin that removes the ID attribute using regex.
There is also a very simple unit test for it, created using wp-cli: wp scaffod plugin ....
Enjoy the speedy sites! 🙂
Do you want to contribute? Great! Please fork this repository, make the changes and create a pull request.
Installation
- Unzip
remove-css-link-ids.zipand upload unzipped folder to the/wp-content/plugins/directory - Activate the plugin through the ‘Plugins’ menu in WordPress
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 Remove CSS link IDs alternatives
All attributes plugins →FAQ
Remove CSS link IDs: quick answers
Straight answers, pulled from live WordPress.org data.
Source: WordPress.org
Is Remove CSS link IDs free?
Yes. Remove CSS link IDs is free to download and use from the official WordPress.org plugin directory.
Is Remove CSS link IDs safe to use in 2026?
Remove CSS link IDs shows warning signs in 2026 — compare the alternatives below before installing. It runs on 20+ sites, is rated 5/5 and was last updated 12 years ago, and scores 31/100 on our health check.
How many websites use Remove CSS link IDs?
Remove CSS link IDs is active on 20+ WordPress websites and has been downloaded 2,807 times since it launched in May 2014. It was downloaded 69 times in the last 30 days.
Does Remove CSS link IDs work with WordPress 7.1?
Remove CSS link IDs is officially tested up to WordPress 3.9.40, while the latest release is 7.1.5. It may still work, but try it on a staging site first.
When was Remove CSS link IDs last updated?
The latest version, 1.0.1, was released on December 31, 2014 (12 years ago).
Who makes Remove CSS link IDs?
Remove CSS link IDs is developed and maintained by Primoz Cigler.
What are the best alternatives to Remove CSS link IDs?
The most popular alternatives to Remove CSS link IDs are Attributes for Blocks (4K+ installs), Default Attributes for WooC… (400+ installs) and WUPO Group Attributes for W… (300+ installs).
Powered by PageForge
One template and a spreadsheet. A real page for every search.
PageForge turns each row of a CSV into a WordPress page with its own title, URL, SEO fields and schema, built on the layout you already designed. Free on WordPress.org.
- CSV and XLSX, plus Google Sheets on Professional and Enterprise
- Its own title, URL, SEO fields and schema for every page
- Works with the block editor, Elementor, Divi and Avada
- Free on WordPress.org, no credit card
