跳到内容

CSS Selectors

v0.0.3

Jose Mortellaro · 2021年7月21日 上架

It adds CSS selectors in the HTML where there are not.

正在使用
10 以下
评分
暂无
累计下载
2,101
最近更新
2026年10月2日
需要 WordPress 4.6+已测试到 7.1.5PHP 5.6+

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.

Help

If you need help open a thread on the support forum of this plugin.
Please, before posting enable the debugging in wp-config.php. Need a step-by-step guide? Read this detailed tutorial on how to enable debugging in WordPress to learn more.

Plums

按场景查找 WordPress 插件。安装量、评分和兼容版本来自官方目录。

导航

说明

WordPress 是 WordPress Foundation 的商标。本站与 WordPress Foundation、Automattic 没有隶属关系。这里不托管插件文件,下载和安装以 WordPress.org 上的页面为准。

© 2026 Plums