CSS Selectors
开发者 |
giuse
|
更新时间 |
2024年11月13日 14:53 |
PHP版本: |
5.6 及以上 |
WordPress版本: |
6.7 |
版权: |
GPLv2 or later |
版权网址: |
版权信息
|
详情介绍:
It adds CSS selectors in the HTML where there are not.
Sometimes you need some custom CSS and you realise a specific element of the DOM is without any selector.
After activating this plugin you will not have anymore this problem. Every element of the DOM will have a class name that begins with css-sel-.
There are no options, just activate the plugin.
To see if it works, in the frontend right-click with your mouse and click on "Inspect" (usually F12). Then you should not see any more DOM elements without any class.
The only elements that may still miss a CSS class are those ones that are added dynamically through JavaScript. In this last case the plugin can't do anything, because it works only on the server before sending the page to the browser.
It adds no HTTP requests, and no queries to the database.
更新日志:
0.0.3
0.0.2
- Changed: class name assigned to empty elements