Title: WPCode Content Ratio
Author: Jonatan Jumbert
Published: <strong>2012 年 11 月 14 日</strong>
Last modified: 2014 年 5 月 4 日

---

搜索插件

![](https://ps.w.org/wpcode-content-ratio/assets/banner-772x250.jpg?rev=907897)

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

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

# WPCode Content Ratio

 作者：[Jonatan Jumbert](https://profiles.wordpress.org/funlove/)

[下载](https://downloads.wordpress.org/plugin/wpcode-content-ratio.2.0.zip)

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

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

## 描述

The Code to Text Ratio represents the percentage of actual text in a web page. This
plugin extracts the text of all your pages and posts from HTML code and calculates
the content ratio based on this information.

#### Why is it important?

The code to text ratio of a page is used by search engines and spiders to calculate
the relevancy of a web page. A higher code to text ratio gives you a better chance
of getting a good page ranking for your page.

Not all search engines are using the code to text ratio in their index algorithm,
but most of them do. So having a higher code to text ratio than your competitors
gives you a good start for on-site optimization.

#### % Ratios and meanings:

 * 0% – 10%: Consider adding more content or revamping your code.
 * 10% – 25%: Content is moderate, but always room to improve.
 * 25% – 70%: Generally good, but don’t over do it.
 * 70% – 100%: If you’ve got higher than about 70% or so then you’ve got a lot of
   text and not a lot of code, which might sound like a good thing, but could represent
   spam too.

#### Ways to lower the amount of code on a web page

 * Use CSS layouts instead of table-based layouts.
 * Put CSS and Javascript into external files.
 * Take out tags that have no purpose.
 * Use valid code. After all, a page scoring 25% which works everywhere is usually
   better than one which scores 50% but fails in most browsers.
 * Write more text on your posts.

## 屏幕截图

[⌊WPCode Content Ratio > Purpouse and home ratio detail⌉⌊WPCode Content Ratio > 
Purpouse and home ratio detail⌉[

WPCode Content Ratio > Purpouse and home ratio detail

[⌊WPCode Content Ratio > Config page⌉⌊WPCode Content Ratio > Config page⌉[

WPCode Content Ratio > Config page

## 安装

 1. Download WPCode Content Ratio for WordPress plugin ‘wpcode-content-ratio.zip’
 2. Login to WordPress and go to Plugins-> Add New -> Upload
 3. Click the Choose File button and select wpcode-content-ratio.zip from your hard
    drive.
 4. Click Install Now
 5. Once the plugin has been installed, click Activate.
 6. Check configuration options and adjust them.

METHOD 2 – FTP

 1. Download WPCode Content Ratio for WordPress plugin ‘wpcode-content-ratio.zip’. 
    Extract the contents of the file.
 2. Using your favourite FTP client, upload the folder to ‘/wp-content/plugins/’ on
    your server.
 3. Login to your WordPress account and go to the Plugins page.
 4. Activate the plugin.
 5. Check configuration options and adjust them.

## 常见问题

  Can I export ratio results?

By the moment you can’t, but this is option will be available soon.

  What happen if I change my WordPress theme?

You should clear all old ratios or recalculate them in order to know if your template
is good coded or not.
 Soon would be available an option to clear all ratios just
with one click.

## 评价

此插件暂无评价。

## 贡献者及开发者

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

贡献者

 *   [ Jonatan Jumbert ](https://profiles.wordpress.org/funlove/)

[帮助将「WPCode Content Ratio」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/wpcode-content-ratio)

### 对开发感兴趣吗?

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

## 更新日志

#### 2.0

 * New look & Feel using bootstrap style.
 * Donation links fixed.
 * Author social networks.

#### 1.0.1

 * Readme.txt was updated.
 * New screenshots added.

## 额外信息

 *  版本 **2.0**
 *  最后更新：**12 年前**
 *  活跃安装数量 **100+**
 *  WordPress 版本 ** 3.1 或更高版本 **
 *  已测试的最高版本为 **3.9.40**
 *  语言
 * [English (US)](https://wordpress.org/plugins/wpcode-content-ratio/)
 * 标签
 * [content optimization](https://cn.wordpress.org/plugins/tags/content-optimization/)
   [search engine optimization](https://cn.wordpress.org/plugins/tags/search-engine-optimization/)
   [seo](https://cn.wordpress.org/plugins/tags/seo/)[wordpress seo](https://cn.wordpress.org/plugins/tags/wordpress-seo/)
 *  [高级视图](https://cn.wordpress.org/plugins/wpcode-content-ratio/advanced/)

## 评级

 5 星（最高 5 星）。

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

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

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

## 贡献者

 *   [ Jonatan Jumbert ](https://profiles.wordpress.org/funlove/)

## 支持

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

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

## 捐助

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

 [ 捐助此插件 ](http://jonatanjumbert.com/blog/wordpress/wpcode-content-ratio/?utm_source=Wordpress&utm_medium=Plugin&utm_term=WPCode%20Content%20Ratio&utm_campaign=Wordpress%20plugins)