Title: Remove CSS link IDs
Author: Primoz Cigler
Published: <strong>10. 5. 2014</strong>
Last modified: 31. 12. 2014

---

Prohledat pluginy

Plugin **nebyl testován na 3 nejnovějších verzích WordPressu.** Nemusí už být tedy
podporován a u novějších verzí WordPressu může mít problémy s kompatibilitou a může
být nestabilní.

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

# Remove CSS link IDs

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

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

 * [Podrobnosti](https://cs.wordpress.org/plugins/remove-css-link-ids/#description)
 * [Hodnocení](https://cs.wordpress.org/plugins/remove-css-link-ids/#reviews)
 *  [Instalace](https://cs.wordpress.org/plugins/remove-css-link-ids/#installation)
 * [Vývojáři](https://cs.wordpress.org/plugins/remove-css-link-ids/#developers)

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

## Popis

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.

## Instalace

 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

## Nejčastější dotazy

  A question that someone might have?

No questions asked yet.

## Recenze

Pro tento plugin nejsou žádné recenze.

## Autoři

Remove CSS link IDs je otevřený software. Následující lidé přispěli k vývoji tohoto
pluginu.

Spolupracovníci

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

[Přeložte “Remove CSS link IDs” do svého jazyka.](https://translate.wordpress.org/projects/wp-plugins/remove-css-link-ids)

### Zajímá vás vývoj?

[Prohledejte kód](https://plugins.trac.wordpress.org/browser/remove-css-link-ids/),
podívejte se do [SVN repozitáře](https://plugins.svn.wordpress.org/remove-css-link-ids/),
nebo se přihlaste k[ odběru protokolu vývoje](https://plugins.trac.wordpress.org/log/remove-css-link-ids/)
pomocí [RSS](https://plugins.trac.wordpress.org/log/remove-css-link-ids/?limit=100&mode=stop_on_copy&format=rss).

## Přehled změn

#### 1.0.0

 * First release

## Meta

 *  Verze **1.0.1**
 *  Poslední aktualizace **před 12 roky**
 *  Aktivních instalací **30+**
 *  Verze WordPressu ** 3.8 nebo novější **
 *  Testováno až do WordPressu **3.9.40**
 *  Jazyk
 * [English (US)](https://wordpress.org/plugins/remove-css-link-ids/)
 * Štítků
 * [attributes](https://cs.wordpress.org/plugins/tags/attributes/)[css](https://cs.wordpress.org/plugins/tags/css/)
   [enqueue](https://cs.wordpress.org/plugins/tags/enqueue/)[id](https://cs.wordpress.org/plugins/tags/id/)
   [mod_pagespeed](https://cs.wordpress.org/plugins/tags/mod_pagespeed/)
 *  [Podrobnosti](https://cs.wordpress.org/plugins/remove-css-link-ids/advanced/)

## Hodnocení

 5 z 5 hvězdiček.

 *  [  1 5hvězdičkové hodnocení     ](https://wordpress.org/support/plugin/remove-css-link-ids/reviews/?filter=5)
 *  [  0 4hvězdičkové hodnocení     ](https://wordpress.org/support/plugin/remove-css-link-ids/reviews/?filter=4)
 *  [  0 3hvězdičkové hodnocení     ](https://wordpress.org/support/plugin/remove-css-link-ids/reviews/?filter=3)
 *  [  0 2hvězdičkové hodnocení     ](https://wordpress.org/support/plugin/remove-css-link-ids/reviews/?filter=2)
 *  [  0 1hvězdičkové hodnocení     ](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)

[Zobrazit všechny recenze](https://wordpress.org/support/plugin/remove-css-link-ids/reviews/)

## Spolupracovníci

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

## Podpora

Potřebujete pomoc?

 [Fórum podpory](https://wordpress.org/support/plugin/remove-css-link-ids/)