Title: wp-Typography
Author: pepe
Published: <strong>2009 年 7 月 14 日</strong>
Last modified: 2025 年 2 月 23 日

---

搜索插件

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

![](https://ps.w.org/wp-typography/assets/icon.svg?rev=2663995)

# wp-Typography

 作者：[pepe](https://profiles.wordpress.org/pputzer/)

[下载](https://downloads.wordpress.org/plugin/wp-typography.5.11.0.zip)

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

 [支持](https://wordpress.org/support/plugin/wp-typography/)

## 描述

Improve your web typography with:

 * Hyphenation — [over 70 languages supported](https://code.mundschenk.at/wp-typography/frequently-asked-questions/#faq-what-hyphenation-language-patterns-are-included)
 * Space control, including:
    - widow protection
    - gluing values to units
    - forced internal wrapping of long URLs & email addresses
 * Intelligent character replacement, including smart handling of:
    - quote marks
    - dashes
    - ellipses
    - trademarks, copyright & service marks
    - math symbols
    - fractions
    - ordinal suffixes
 * CSS hooks for styling:
    - ampersands,
    - uppercase words,
    - numbers,
    - initial quotes & guillemets.

## 屏幕截图

 * [[
 * wp-Typography “General” settings page.
 * [[
 * wp-Typography “Hyphenation” settings page.
 * [[
 * wp-Typography “Intelligent Character Replacement” settings page.
 * [[
 * wp-Typography “Space Control” settings page.
 * [[
 * wp-Typography “Add CSS Hooks” settings page.

## 安装

#### Requirements

wp-Typography has the following requirements:

 * The host server must run PHP 7.4.0 or later,
 * your installation of PHP must include the following PHP extensions (most do):
    - [mbstring](https://www.php.net/manual/en/mbstring.installation.php),
    - [DOM](https://www.php.net/manual/en/dom.installation.php), and
 * text must be encoded in UTF‐8.

## 常见问题

FAQs are maintained on the [wp-Typography website](https://code.mundschenk.at/wp-typography/frequently-asked-questions/).

Three questions come up so frequently, we will republish their answers here:

### Will this plu­gin slow my page load­ing times?

Maybe. For best performance, use a [persistent object cache](https://wptavern.com/persistent-object-caching)
plugin like [WP Redis](https://wordpress.org/plugins/wp-redis/).

### This plugin breaks post title links. What gives?

More likely than not, your WordPress theme is using an improper function to set 
the title attribute of your heading’s link. It is probably using the `the_title()`
function, which delivers the post title _after_ filtering. It should be using `the_title_attribute()`
which delivers the post title _before_ filtering. Change out this function throughout
your theme when it is used inside of an HTML tag, and the problem should go away.

If you are uncomfortable editing your theme’s code, you may alternatively go to 
the wp-Typography settings page in your admin panel and add `h1` and `h2` to the“
Do not process the content of these HTML elements:” field. This will disable typographic
processing within improperly designed page title links _and_ page titles.

### What are the privacy implications of using the plugin?

wp-Typography does not store, transmit or otherwise process personal data as such.
It does cache the content of the site’s posts. If necessary, you can clear this 
cache from the plugin’s settings page.

Remember, many more FAQs are are addressed the [wp-Typography website](https://code.mundschenk.at/wp-typography/frequently-asked-questions/).

## 评价

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

### 󠀁[Great plugin!](https://wordpress.org/support/topic/great-plugin-40190/)󠁿

 [leanderbraunschweig](https://profiles.wordpress.org/leanderbraunschweig/) 2025
年 2 月 24 日

Thanks for providing this awesome typographic assistant – using it on a number of
sites…! Well documented & actively maintained. Much appreciated 🙌

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

### 󠀁[Cool plugin, easy to understand and use!](https://wordpress.org/support/topic/cool-plugin-easy-to-understand-and-use/)󠁿

 [nealumphred](https://profiles.wordpress.org/nealumphred/) 2024 年 12 月 1 日

Cool plugin for those who care about how their text looks on the “printed page,”
including punctuation marks and hyphenization. Easy to understand and use.

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

### 󠀁[Top!](https://wordpress.org/support/topic/top-1635/)󠁿

 [fade10](https://profiles.wordpress.org/fade10/) 2024 年 6 月 4 日

Sehr nützlich, funktioniert gut! Danke! Very useful, works well! Thank you!

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

### 󠀁[Essential](https://wordpress.org/support/topic/very-nice-1937/)󠁿

 [carosch](https://profiles.wordpress.org/carosch/) 2025 年 2 月 18 日

Essential, especially for French.A must! I hope it will be supported for a long 
time

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

### 󠀁[Good PlugIn, unfortunately too much RAM](https://wordpress.org/support/topic/good-plugin-unfortunately-too-much-ram/)󠁿

 [woylon](https://profiles.wordpress.org/woylon/) 2022 年 11 月 7 日 1 回复

For a long time I wondered which plugin was consuming too much RAM on my WP installation.
Through the Code Profiler I found out that THIS plugin is responsible for it. After
disabling it, I suddenly had 40-50 MB more space in RAM. This is unacceptable, unfortunately!
Too bad, this PlugIn is otherwise really good and does a great job. I have now solved
the hyphenation by CSS and deleted this PlugIn.

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

### 󠀁[Amazing – and free!](https://wordpress.org/support/topic/amazing-and-free-6/)󠁿

 [FilipW](https://profiles.wordpress.org/filwi91/) 2022 年 11 月 3 日 1 回复

This has saved us a ton of trouble on our Swedish-language website. It’s simply 
amazing, and works great!

 [ 阅读所有69条评价 ](https://wordpress.org/support/plugin/wp-typography/reviews/)

## 贡献者及开发者

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

贡献者

 *   [ pepe ](https://profiles.wordpress.org/pputzer/)
 *   [ kingjeffrey ](https://profiles.wordpress.org/kingjeffrey/)

「wp-Typography」插件已被翻译至 8 种本地化语言。 感谢[所有译者](https://translate.wordpress.org/projects/wp-plugins/wp-typography/contributors)
为本插件所做的贡献。

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

### 对开发感兴趣吗?

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

## 更新日志

#### 5.11.0 – February 23, 2025

 * _Bugfix_: Don’t crash when a runtime requirement is not met.

#### 5.10.1 – December 16, 2024

 * _Bugfix_: A debug message intended for local use accidentally got into the build
   of 5.10.0.

#### 5.10.0 – December 15, 2024

 * _Bugfix_: Default styles were always loaded, even when `Include styling for CSS
   hooks` was unchecked.
 * _Bugfix_: No more `Function _load_textdomain_just_in_time was called incorrectly.`(
   present since WordPress 6.7).
 * _Bugfix_: Block Editor blocks and the sidebar extension have been split into 
   separate assets to prevent issues with the widget editor (and customizer preview).
 * _Bugfix_: Passing a `null` value to `WP_Typography::process` will no longer result
   in a `TypeError` when processing has been disabled for the post.
 * _Change_: WordPress minimum version increased to 6.6.

#### 5.9.1 – January 22, 2023

 * _Bugfix_: Only apply filters to ACF fields returning strings to preserve type
   expectations for downstream code.

#### 5.9.0 – January 21, 2023

 * _Feature_: wp-Typography is now compatible with PHP 8.1.
 * _Feature_: Improved Advanced Custom Fields support:
    - wp-Typography is now compatible with Advanced Custom Fields 6.
    - The return type `array` is now supported for most fields.
 * _Change_: PHP minimum version increased to 7.4.
 * _Change_: `Prevent widows` is now disabled by default.

#### 5.8.1 – January 25, 2022

 * _Bugfix_: Whitescreen in `Requirements` class due to error in build process fixed.

## 额外信息

 *  版本 **5.11.0**
 *  最后更新：**1 年前**
 *  活跃安装数量 **20,000+**
 *  WordPress 版本 ** 6.6 或更高版本 **
 *  已测试的最高版本为 **6.7.5**
 *  PHP 版本 ** 7.4 或更高版本 **
 *  语言
 * [English (US)](https://wordpress.org/plugins/wp-typography/) 、 [French (France)](https://fr.wordpress.org/plugins/wp-typography/)、
   [German](https://de.wordpress.org/plugins/wp-typography/) 、 [German (Austria)](https://de-at.wordpress.org/plugins/wp-typography/)、
   [German (Switzerland)](https://de-ch.wordpress.org/plugins/wp-typography/) 、
   [Russian](https://ru.wordpress.org/plugins/wp-typography/) 、 [Spanish (Chile)](https://cl.wordpress.org/plugins/wp-typography/)、
   [Spanish (Spain)](https://es.wordpress.org/plugins/wp-typography/) 和 [Swedish](https://sv.wordpress.org/plugins/wp-typography/).
 *  [翻译成简体中文](https://translate.wordpress.org/projects/wp-plugins/wp-typography)
 * 标签
 * [hyphenation](https://cn.wordpress.org/plugins/tags/hyphenation/)[Smart Quotes](https://cn.wordpress.org/plugins/tags/smart-quotes/)
   [typography](https://cn.wordpress.org/plugins/tags/typography/)[typogrify](https://cn.wordpress.org/plugins/tags/typogrify/)
   [widows](https://cn.wordpress.org/plugins/tags/widows/)
 *  [高级视图](https://cn.wordpress.org/plugins/wp-typography/advanced/)

## 评级

 4.6 星（最高 5 星）。

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

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

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

## 贡献者

 *   [ pepe ](https://profiles.wordpress.org/pputzer/)
 *   [ kingjeffrey ](https://profiles.wordpress.org/kingjeffrey/)

## 支持

最近两个月解决的问题：

     总计 2，已解决 1

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