Text File Widget

Plugin Banner

Text File Widget

by q292u

Download
Description

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.

  1. <p>These are the widget options</p>

    These are the widget options

  2. <p>This is the widget in action</p>

    This is the widget in action

Why is HTML stripped out?

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

Locked up my 4.9.4 system

By wdhppr on March 14, 2018

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.0 – Added WordPress 4.3 Compatibility

1.2 – Corrected readme.txt

1.0 – Initial working version

Back to top