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

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\”

屏幕截图

安装

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.

评价

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条评价

贡献者及开发者

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

贡献者

帮助将「Text File Widget」翻译成简体中文。

对开发感兴趣吗?

您可以浏览代码,查看SVN仓库,或通过RSS订阅开发日志

更新日志

2.0 – Added WordPress 4.3 Compatibility

1.2 – Corrected readme.txt

1.0 – Initial working version