Title: Custom Content Width
Author: George Stephanis
Published: <strong>2013 年 6 月 5 日</strong>
Last modified: 2026 年 5 月 13 日

---

搜索插件

![](https://s.w.org/plugins/geopattern-icon/custom-content-width.svg)

# Custom Content Width

 作者：[George Stephanis](https://profiles.wordpress.org/georgestephanis/)

[下载](https://downloads.wordpress.org/plugin/custom-content-width.1.0.2.zip)

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

 [支持](https://wordpress.org/support/plugin/custom-content-width/)

## 描述

Occasionally, themes forget to set the `$content_width` variable in functions.php.
If they forgot, or if you’d like to change the value that they’ve set, this will
let you in your Settings > Media screen.

## 安装

 1. Install and activate the plugin via the WordPress Plugin Installer.
 2. Go to the Settings > Media screen, and set the Content Width!
 3. There is no step three!

## 评价

![](https://secure.gravatar.com/avatar/1af974614aa4dc4e817faca1b2e403eb5f37930bcf6e37dae70013ac6ff5f1ae?
s=60&d=retro&r=g)

### 󠀁[Thank you](https://wordpress.org/support/topic/thank-you-1682/)󠁿

 [nicolee3](https://profiles.wordpress.org/nicolee3/) 2018 年 7 月 31 日

This is a very helpful plugin. My galleries were only 500 px wide and my theme said
it was not their problem. My only question is…will there be an update? Wordfence
is going to email me every day now to tell me this plugin has been abandoned. It
works perfectly though…and I don’t know how to update the php file on my own.

![](https://secure.gravatar.com/avatar/5277eaf95e020a8c8671a8b88b7d0de377d8d82e6804aabb5936f92e3199b6d6?
s=60&d=retro&r=g)

### 󠀁[Yesssssssssssssss](https://wordpress.org/support/topic/yesssssssssssssss/)󠁿

 [theographics](https://profiles.wordpress.org/theographics/) 2016 年 9 月 3 日

My mosaic galleries were being displayed at the default 500px width because of my
theme, and I couldn’t figure out how to fix it. This plugin did the trick. Thanks1

 [ 阅读所有8条评价 ](https://wordpress.org/support/plugin/custom-content-width/reviews/)

## 贡献者及开发者

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

贡献者

 *   [ George Stephanis ](https://profiles.wordpress.org/georgestephanis/)

[帮助将「Custom Content Width」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/custom-content-width)

### 对开发感兴趣吗?

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

## 更新日志

#### 1.0.2

 * PHP 8.2 compatibility fix: Dynamic Properties are deprecated.

#### 1.0.1

 * Validate width values to avoid unlikely security vulnerabilities.

#### 1.0

 * Initial release.

## 额外信息

 *  版本 **1.0.2**
 *  最后更新：**4 周前**
 *  活跃安装数量 **1,000+**
 *  WordPress 版本 ** 2.7 或更高版本 **
 *  已测试的最高版本为 **7.0**
 *  语言
 * [English (US)](https://wordpress.org/plugins/custom-content-width/)
 * 标签
 * [theme](https://cn.wordpress.org/plugins/tags/theme/)
 *  [高级视图](https://cn.wordpress.org/plugins/custom-content-width/advanced/)

## 评级

 4.8 星（最高 5 星）。

 *  [  7 条 5 星评价     ](https://wordpress.org/support/plugin/custom-content-width/reviews/?filter=5)
 *  [  0 条 4 星评价     ](https://wordpress.org/support/plugin/custom-content-width/reviews/?filter=4)
 *  [  1 条 3 星评价     ](https://wordpress.org/support/plugin/custom-content-width/reviews/?filter=3)
 *  [  0 条 2 星评价     ](https://wordpress.org/support/plugin/custom-content-width/reviews/?filter=2)
 *  [  0 条 1 星评价     ](https://wordpress.org/support/plugin/custom-content-width/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/custom-content-width/reviews/#new-post)

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

## 贡献者

 *   [ George Stephanis ](https://profiles.wordpress.org/georgestephanis/)

## 支持

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

 [查看支持论坛](https://wordpress.org/support/plugin/custom-content-width/)

## 捐助

您愿意支持这个插件的发展吗?

 [ 捐助此插件 ](https://www.charitywater.org/donate)