這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 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