Title: Text File Widget
Author: q292u
Published: <strong>2015 年 7 月 31 日</strong>
Last modified: 2015 年 8 月 24 日

---

搜索插件

![](https://ps.w.org/text-file-widget/assets/banner-772x250.jpg?rev=1211752)

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

![](https://ps.w.org/text-file-widget/assets/icon-128x128.jpg?rev=1211753)

# Text File Widget

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

[下载](https://downloads.wordpress.org/plugin/text-file-widget.2.0.zip)

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

 [支持](https://wordpress.org/support/plugin/text-file-widget/)

## 描述

This simple plugin allows you to display the contents of a text file as a widget,
in any widgetized area provided by your theme (eg Sidebar)

There are no configuration options for this plugin – all configuration (such as 
there is) is done by the widget settings.

Only text is displayed – HTML is stripped out.

End-of-line characters are displayed as HTML \”Breaks\”

## 屏幕截图

[⌊These are the widget options⌉⌊These are the widget options⌉[

These are the widget options

[⌊This is the widget in action⌉⌊This is the widget in action⌉[

This is the widget in action

## 安装

There are three possibilities:

*Use the standard WordPress Plugins > “Add New” procedure (Recommended) or

*Download the plugin file from WordPress.org and the Upload the Zip file

Add Plugin > Upload

or

*Download the plugin file from WordPress.org, then manually upload the unzipped 
folder (text-file-widget) into wp-content/plugins

Then

*Activate the plugin

Now there will be a \”text file widget\” in the Appearance>Widgets section. Drag
this to a widget location, and tell it which file you want to display and what title
to give it (or none)

You can have multiple instances displaying different files.

## 常见问题

Why is HTML stripped out?

This plugin is only intended to display text. Hence the name.

## 评价

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

### 󠀁[Locked up my 4.9.4 system](https://wordpress.org/support/topic/locked-up-my-4-9-4-system/)󠁿

 [wdhppr](https://profiles.wordpress.org/wdhppr/) 2018 年 3 月 14 日

Sounded like a good premis but when I installed it, it just locked up my wordpress
completely. Had to delete the text file widget plugin directory to recover.

 [ 阅读所有2条评价 ](https://wordpress.org/support/plugin/text-file-widget/reviews/)

## 贡献者及开发者

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

贡献者

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

[帮助将「Text File Widget」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/text-file-widget)

### 对开发感兴趣吗?

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

## 更新日志

2.0 – Added WordPress 4.3 Compatibility

1.2 – Corrected readme.txt

1.0 – Initial working version

## 额外信息

 *  版本 **2.00**
 *  最后更新：**11 年前**
 *  活跃安装数量 **10+**
 *  WordPress 版本 ** 3.7 或更高版本 **
 *  已测试的最高版本为 **4.3.34**
 *  语言
 * [English (US)](https://wordpress.org/plugins/text-file-widget/)
 * 标签
 * [Text File](https://cn.wordpress.org/plugins/tags/text-file/)[widget](https://cn.wordpress.org/plugins/tags/widget/)
 *  [高级视图](https://cn.wordpress.org/plugins/text-file-widget/advanced/)

## 评级

 3 星（最高 5 星）。

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

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

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

## 贡献者

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

## 支持

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

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

## 捐助

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

 [ 捐助此插件 ](http://www.q292u.com/plugins/text-file-widget)