跳到内容

Add More Body Classes

v1.0

ShinichiN · 2015年7月30日 上架

Body tag with more classes such as locale and page slug.

正在使用
10+
评分
暂无
累计下载
1,848
最近更新
2015年7月30日
需要 WordPress 4.1.1+已测试到 4.1.42

贡献者

“Add More Body Classes” adds classes to the body tag. The tags added are

  • locale-[locale]: ex.) locale-ja for Japanese sites, locale-en-US for default English sites.
  • page slug: page-slug-[slug]: ex.) page-slug-about for about page.
  • post type slug: ex.) testimonial-slug-nobil for a singular( ‘testimonial’ ) page with post_name “nobil”.

Plums

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

导航

说明

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

© 2026 Plums