Title: Remove CSS link IDs
Author: Primoz Cigler
Published: <strong>10 maaie, 2014</strong>
Last modified: 31 desimber, 2014

---

Search plugins

Dizze plugin **is net hifke mei de lêste 3 grutte releases fan WordPress** . It 
kin net langer wurde ûnderhâlden of stipe en kin kompatibiliteitsproblemen hawwe
as it wurdt brûkt mei resinte ferzjes fan WordPress.

![](https://s.w.org/plugins/geopattern-icon/remove-css-link-ids.svg)

# Remove CSS link IDs

 Troch [Primoz Cigler](https://profiles.wordpress.org/cyman/)

[Download](https://downloads.wordpress.org/plugin/remove-css-link-ids.1.0.1.zip)

 * [Details](https://fy.wordpress.org/plugins/remove-css-link-ids/#description)
 * [Resinsjes](https://fy.wordpress.org/plugins/remove-css-link-ids/#reviews)
 *  [Ynstallaasje](https://fy.wordpress.org/plugins/remove-css-link-ids/#installation)
 * [Ûntwikkeling](https://fy.wordpress.org/plugins/remove-css-link-ids/#developers)

 [Stypje](https://wordpress.org/support/plugin/remove-css-link-ids/)

## Beskriuwing

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](https://developers.google.com/speed/pagespeed/module)
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](https://blog.codecentric.de/en/2011/10/wordpress-and-mod_pagespeed-why-combine_css-does-not-work/)
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](https://github.com/primozcigler/remove-css-ids),
make the changes and create a pull request.

## Ynstallaasje

 1. Unzip `remove-css-link-ids.zip` and upload unzipped folder to the `/wp-content/
    plugins/` directory
 2. Activate the plugin through the ‘Plugins’ menu in WordPress

## FAQ

  A question that someone might have?

No questions asked yet.

## Resinsjes

D’r binne gjin resinsjes foar dizze plugin.

## Meiwurkers & amp; Untwikkelders

“Remove CSS link IDs” is iepen boarne software. De folgjende minsken hawwe bydroegen
oan dizze plugin.

Meiwurkers

 *   [ Primoz Cigler ](https://profiles.wordpress.org/cyman/)

[Oersette “Remove CSS link IDs” yn jo taal.](https://translate.wordpress.org/projects/wp-plugins/remove-css-link-ids)

### Ynteressearre yn ûntwikkeling?

[Blêdzje troch de koade](https://plugins.trac.wordpress.org/browser/remove-css-link-ids/),
besjoch de [SVN-repository](https://plugins.svn.wordpress.org/remove-css-link-ids/),
of abonnearje op it [ûntwikkelingslogboek](https://plugins.trac.wordpress.org/log/remove-css-link-ids/)
troch [RSS](https://plugins.trac.wordpress.org/log/remove-css-link-ids/?limit=100&mode=stop_on_copy&format=rss).

## Feroaringslog

#### 1.0.0

 * First release

## Meta

 *  Version **1.0.1**
 *  Last updated **12 jier yn ôl**
 *  Active installations **30+**
 *  WordPress version ** 3.8 of heger **
 *  Tested up to **3.9.40**
 *  Language
 * [English (US)](https://wordpress.org/plugins/remove-css-link-ids/)
 * Tags
 * [attributes](https://fy.wordpress.org/plugins/tags/attributes/)[css](https://fy.wordpress.org/plugins/tags/css/)
   [enqueue](https://fy.wordpress.org/plugins/tags/enqueue/)[id](https://fy.wordpress.org/plugins/tags/id/)
   [mod_pagespeed](https://fy.wordpress.org/plugins/tags/mod_pagespeed/)
 *  [Avansearre werjefte](https://fy.wordpress.org/plugins/remove-css-link-ids/advanced/)

## Wurdearrings

 5 out of 5 stars.

 *  [  1 5-star review     ](https://wordpress.org/support/plugin/remove-css-link-ids/reviews/?filter=5)
 *  [  0 4-star reviews     ](https://wordpress.org/support/plugin/remove-css-link-ids/reviews/?filter=4)
 *  [  0 3-star reviews     ](https://wordpress.org/support/plugin/remove-css-link-ids/reviews/?filter=3)
 *  [  0 2-star reviews     ](https://wordpress.org/support/plugin/remove-css-link-ids/reviews/?filter=2)
 *  [  0 1-star reviews     ](https://wordpress.org/support/plugin/remove-css-link-ids/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/remove-css-link-ids/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/remove-css-link-ids/reviews/)

## Meiwurkers

 *   [ Primoz Cigler ](https://profiles.wordpress.org/cyman/)

## Stypje

Hast wat te sizzen? Help nedich hawwe?

 [Besjoch stipefoarum](https://wordpress.org/support/plugin/remove-css-link-ids/)