Plugin Directory

Text Hover

Version: 3.2.2 Add hover text to regular text in posts. Handy for providing explanations of names, terms, phrases, and acronyms mentioned in posts/pa

Download Version 3.2.2

In my posts, hover text terms do not appear any differently than regular text (though I can hover over them and see the hover text)! What gives?

The plugin currently makes use of the standard HTML tag acronym to specify the terms and their hover text. Browsers have default handling and display of acronym. It's possibly that the CSS for your theme is overriding the default display. I use the following in my site's styles.css file to ensure it displays for me in the manner I prefer (which, by the same token, you can use more CSS formatting to further format the hover terms) :

acronym {
    border-bottom:1px dotted #000;
}

Does this plugin modify the post content in the database?

No. The plugin filters post content on-the-fly.

Will this work for posts I wrote prior to installing this plugin?

Yes, if they include strings that you've now defined as terms.

What post fields get handled by this plugin?

By default, the plugin filters the post content, post excerpt fields, and widget text. You can use the 'c2c_text_hover_filters' filter to modify that behavior (see Filters section).

How can I get text hover to apply for post titles (or something not processed for text hover by default)?

You can add to the list of filters that get processed for text hover terms. See the Filters section for an example.

Is the plugin case sensitive?

By default, yes. There is a setting you can change to make it case insensitive. Or you can use the 'c2c_text_hover_case_sensitive' filter (see Filters section). Note that the option applies to all terms/acronyms. If you want to selectively have terms/acronyms be case insensitive, you should leave the case sensitive setting checked and add a listing for each case variation you wish to support.

Requires: 3.1 or higher
Compatible up to: 3.3.1
Last Updated: 2012-1-31 Downloads: 6,430

Average Rating

5 stars
4 stars
3 stars
2 stars
1 star
(4 ratings)

Compatibility

+
=
Not enough data

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

Log in to vote.

100,1,1
100,1,1
100,1,1
100,1,1