Title: WP CSS Text Stroke
Author: julienc
Published: <strong>2008 年 2 月 16 日</strong>
Last modified: 2008 年 2 月 16 日

---

搜索插件

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

![](https://s.w.org/plugins/geopattern-icon/wp-css-text-stroke.svg)

# WP CSS Text Stroke

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

[下载](https://downloads.wordpress.org/plugin/wp-css-text-stroke.zip)

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

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

## 描述

Text Stroke is the cool, nice-looking effect where black text characters are displayed
on a white surrounding to increase readability on a non-uniform coloured background.
For example text on Google Maps is displayed that way.

This plugin contains a piece of javascript code that’s called on window load and
that enables you to get text stroking on any piece of text on your web page’s template.
The trick is to repeat the text element 9 times in white color in the background,
each instance being slightly moved from the original text position.

Detailed description is at http://blog.mapmyglobe.com/css-text-stroke/

## 屏幕截图

[⌊Example⌉⌊Example⌉[

Example

## 安装

 1. Upload plugin to your `/wp-content/plugins/` directory
 2. Edit css-text-stroke.php to apply the `processTextStroke()` function to the desired
    CSS selector (the piece of text that you want to stroke)
 3. Activate the plugin through the ‘Plugins’ menu in WordPress

## 常见问题

  Is it SEO-friendly?

As far as I know, it is. Because Google doesn’t apply onload() javascripts to pages
when crawling them.

## 评价

此插件暂无评价。

## 贡献者及开发者

「WP CSS Text Stroke」是开源软件。 以下人员对此插件做出了贡献。

贡献者

 *   [ julienc ](https://profiles.wordpress.org/julienc/)

[帮助将「WP CSS Text Stroke」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/wp-css-text-stroke)

### 对开发感兴趣吗?

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

## 额外信息

 *  版本 **1.0**
 *  最后更新：**18 年前**
 *  活跃安装数量 **10+**
 *  WordPress 版本 ** 2.0 或更高版本 **
 *  已测试的最高版本为 **2.3**
 *  语言
 * [English (US)](https://wordpress.org/plugins/wp-css-text-stroke/)
 * 标签
 * [formatting](https://cn.wordpress.org/plugins/tags/formatting/)
 *  [高级视图](https://cn.wordpress.org/plugins/wp-css-text-stroke/advanced/)

## 评级

尚未提交反馈。

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

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

## 贡献者

 *   [ julienc ](https://profiles.wordpress.org/julienc/)

## 支持

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

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

## 捐助

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

 [ 捐助此插件 ](http://blog.mapmyglobe.com/)