Title: CSS Selectors
Author: Jose Mortellaro
Published: <strong>2021 年 7 月 21 日</strong>
Last modified: 2026 年 5 月 21 日

---

搜索插件

![](https://ps.w.org/css-selectors/assets/banner-772x250.jpg?rev=2569346)

![](https://ps.w.org/css-selectors/assets/icon-256x256.jpg?rev=2569340)

# CSS Selectors

 作者：[Jose Mortellaro](https://profiles.wordpress.org/giuse/)

[下载](https://downloads.wordpress.org/plugin/css-selectors.0.0.3.zip)

 * [详情](https://cn.wordpress.org/plugins/css-selectors/#description)
 * [评价](https://cn.wordpress.org/plugins/css-selectors/#reviews)
 * [开发进展](https://cn.wordpress.org/plugins/css-selectors/#developers)

 [支持](https://wordpress.org/support/plugin/css-selectors/)

## 描述

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](https://freesoul-deactivate-plugins.com/how-to-enable-debugging-in-wordpress-a-step-by-step-guide/)
on [how to enable debugging in WordPress](https://freesoul-deactivate-plugins.com/how-to-enable-debugging-in-wordpress-a-step-by-step-guide/)
to learn more.

## 评价

此插件暂无评价。

## 贡献者及开发者

「CSS Selectors」是开源软件。 以下人员对此插件做出了贡献。

贡献者

 *   [ Jose Mortellaro ](https://profiles.wordpress.org/giuse/)

[帮助将「CSS Selectors」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/css-selectors)

### 对开发感兴趣吗?

您可以[浏览代码](https://plugins.trac.wordpress.org/browser/css-selectors/)，查看
[SVN仓库](https://plugins.svn.wordpress.org/css-selectors/)，或通过[RSS](https://plugins.trac.wordpress.org/log/css-selectors/?limit=100&mode=stop_on_copy&format=rss)
订阅[开发日志](https://plugins.trac.wordpress.org/log/css-selectors/)。

## 更新日志

#### 0.0.3

 * Checked: WordPress 6.4

#### 0.0.2

 * Changed: class name assigned to empty elements

## 额外信息

 *  版本 **0.0.3**
 *  最后更新：**1 周前**
 *  活跃安装数量 **不到10**
 *  WordPress 版本 ** 4.6 或更高版本 **
 *  已测试的最高版本为 **7.0**
 *  PHP 版本 ** 5.6 或更高版本 **
 *  语言
 * [English (US)](https://wordpress.org/plugins/css-selectors/)
 * 标签
 * [css](https://cn.wordpress.org/plugins/tags/css/)[css selectors](https://cn.wordpress.org/plugins/tags/css-selectors/)
   [style](https://cn.wordpress.org/plugins/tags/style/)
 *  [高级视图](https://cn.wordpress.org/plugins/css-selectors/advanced/)

## 评级

尚未提交反馈。

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

[查看全部评论](https://wordpress.org/support/plugin/css-selectors/reviews/)

## 贡献者

 *   [ Jose Mortellaro ](https://profiles.wordpress.org/giuse/)

## 支持

有话要说吗？是否需要帮助？

 [查看支持论坛](https://wordpress.org/support/plugin/css-selectors/)