WordPress.org

Ready to get started?Download WordPress

Plugin Directory

TFD Word of the Day

A widget that shows the Word of the Day as selected by TheFreeDictionary.com

Why would anyone use this plugin?

If you want to dress up your wordpress blog with a Word-of-the-Day widget, you'd use this plugin.

What is a "word of the Day"?

Someone who runs TheFreeDictionary.com chooses a special word for each day, and provides the definition and a sample usage of that word.

How does this plugin really work?

TheFreeDictionary.com provides some code that webmasters can add to websites, in order to publish the word of the day on their sites. This plugin just adapts that code for simple use within wordpress.

Warning: geek-speak ahead.

The plugin uses curl on the server side to retrieve the word-of-the-day. It caches the result, then embeds it into the generate page. On subsequent page requests, the plugin uses the cached result. The cache life is 120 minutes.

Where is the cache stored?

The content is cached in a file in a "cache" subdirectory of the wp-content directory. You probably don't need to concern yourself with the cache.

How can I change the styling of the widget?

There is a wotd.css file included in the widget. You can make styling changes there. Any changes you make there will be overwritten if you download and install a newer version of the widget.

You can also style the widget elements with your own stylesheet. To do this you need to know CSS and also how the widget is rendered.

The widget is normally rendered in a widget container, which is styled with these css classes: widget-container widget_tfdwotd . Therefore in a css sheet you might use something like this:

.widget-container.widget_tfdwotd { .... }

Within that container, the structure of the rendered HTML is:

<h3> widget Title </h3> <div class='tfd-wotd'> <h3>word</h3> <table> ... </table> </div>

Therefore, you may wish to use these CSS selectors:

.widget-container.widget_tfdwotd div.tfd-wotd { ... }
.widget-container.widget_tfdwotd div.tfd-wotd > table { ... }
.widget-container.widget_tfdwotd div.tfd-wotd > table td { ... }
.widget-container.widget_tfdwotd { ... }

Do I need to register with TheFreeDictionary.com?

No.

Requires: 3.2 or higher
Compatible up to: 3.9.1
Last Updated: 2014-7-4
Downloads: 731

Ratings

5 stars
5 out of 5 stars

Support

Got something to say? Need help?

Compatibility

+
=
Not enough data

0 people say it works.
0 people say it's broken.