Title: Insert Body Class Plugin for WordPress
Author: Chitraa
Published: <strong>2022 年 12 月 10 日</strong>
Last modified: 2024 年 11 月 8 日

---

搜索插件

![](https://ps.w.org/insert-body-class/assets/banner-772x250.jpg?rev=3184240)

**该插件尚未通过WordPress的最新3个主要版本进行测试**。 当与较新版本的WordPress一起
使用时，可能不再受到维护或支持，并且可能会存在兼容性问题。

![](https://ps.w.org/insert-body-class/assets/icon-256x256.jpg?rev=3184240)

# Insert Body Class Plugin for WordPress

 作者：[Chitraa](https://profiles.wordpress.org/chitracreation/)

[下载](https://downloads.wordpress.org/plugin/insert-body-class.1.0.0.zip)

 * [详情](https://cn.wordpress.org/plugins/insert-body-class/#description)
 * [评价](https://cn.wordpress.org/plugins/insert-body-class/#reviews)
 *  [安装](https://cn.wordpress.org/plugins/insert-body-class/#installation)
 * [开发进展](https://cn.wordpress.org/plugins/insert-body-class/#developers)

 [支持](https://wordpress.org/support/plugin/insert-body-class/)

## 描述

This plugin makes it easy to add custom body classes to any page or post on your
WordPress site, perfect for those who want simple styling options without custom
coding.

### 🌟 How to Use the Insert Body Class Plugin by 󠀁[Chitraa](https://chitraa.tech/)󠁿:

 * **Create a Page or Post**
    Start by creating a page (like “About Us”) or a new
   blog post—whatever content you want to add a custom body class to.
 * **Add a Custom Class**
    In the editing options on the right side of the editor,
   you’ll find a field for adding a custom class. Enter the class name you want 
   to use (e.g., about-page).
 * **Save Your Changes**
    Click Save or Update to apply the class to your page or
   post. That’s it!
 * **Style with Custom CSS**
    With your new body class in place, you can add custom
   CSS to your theme to apply unique styles based on the class. Great for designers
   and developers who want to tailor each page!
 * **Enjoy Easy Page-Specific Customization**
    Now your page has a unique class 
   in the body tag, letting you control the design for each page individually. Simple
   and powerful!

This plugin is perfect for anyone looking to style pages individually or create 
unique looks for different sections of their website without hassle.

Just install Plugin and enjoy feature of Insert Body Class.

### 🌟 This plugin used for add body class.

1). Create a page like About or any other.

2). Add class in the right side of optioins list.

3). Save And it’s Done. Simple Right!!

## 屏幕截图

 * [[
 * This screenshot shows Where to add class.
 * [[
 * This screenshot shows Where class will show.

## 安装

 1. Upload the entire `insert-body-class` folder to the `/wp-content/plugins/` directory.
 2. Activate the plugin through the **Plugins** screen (**Plugins > Installed Plugins**).

## 常见问题

### How to use plugin?

You just have to install plugin and plugin will take care of all things.

### How to add body class in page or post?

Add class in the right side of options list in the page or post.

## 评价

此插件暂无评价。

## 贡献者及开发者

「Insert Body Class Plugin for WordPress」是开源软件。 以下人员对此插件做出了贡献。

贡献者

 *   [ Chitraa ](https://profiles.wordpress.org/chitracreation/)
 *   [ chitra ](https://profiles.wordpress.org/chitra/)

[帮助将「Insert Body Class Plugin for WordPress」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/insert-body-class)

### 对开发感兴趣吗?

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

## 更新日志

#### 1.0.0

 * Initial version of the plugin.

#### 2.0.0

 * Fixes and upgrades.

## 额外信息

 *  版本 **2.0.0**
 *  最后更新：**2 年前**
 *  活跃安装数量 **100+**
 *  WordPress 版本 ** 6.3 或更高版本 **
 *  已测试的最高版本为 **6.7.5**
 *  PHP 版本 ** 7.4 或更高版本 **
 *  语言
 * [English (US)](https://wordpress.org/plugins/insert-body-class/)
 * 标签
 * [page class](https://cn.wordpress.org/plugins/tags/page-class/)
 *  [高级视图](https://cn.wordpress.org/plugins/insert-body-class/advanced/)

## 评级

尚未提交反馈。

[Your review](https://wordpress.org/support/plugin/insert-body-class/reviews/#new-post)

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

## 贡献者

 *   [ Chitraa ](https://profiles.wordpress.org/chitracreation/)
 *   [ chitra ](https://profiles.wordpress.org/chitra/)

## 支持

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

 [查看支持论坛](https://wordpress.org/support/plugin/insert-body-class/)