Title: TooltipGlossary
Author: jatls
Published: <strong>2010 年 5 月 24 日</strong>
Last modified: 2010 年 6 月 23 日

---

搜索插件

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

![](https://s.w.org/plugins/geopattern-icon/tooltipglossary.svg)

# TooltipGlossary

 作者：[jatls](https://profiles.wordpress.org/jatls/)

[下载](https://downloads.wordpress.org/plugin/tooltipglossary.1.3.zip)

 * [详情](https://cn.wordpress.org/plugins/tooltipglossary/#description)
 * [评价](https://cn.wordpress.org/plugins/tooltipglossary/#reviews)
 *  [安装](https://cn.wordpress.org/plugins/tooltipglossary/#installation)
 * [开发进展](https://cn.wordpress.org/plugins/tooltipglossary/#developers)

 [支持](https://wordpress.org/support/plugin/tooltipglossary/)

## 描述

Parses posts for defined glossary terms and adds links to the static glossary page
containing the definition. The plugin also creates a tooltip containing the definition
which is displayed when users mouseover the term. Based on [automatic-glossary](https://wordpress.org/extend/plugins/automatic-glossary/).

The code has been optimised from automatic-glossary and unnecessary code has been
stripped to keep the plugin lean. However, support for php 4 has been removed and
if you are looking for a php 4 glossary, please do download automatic-glossary (
although I believe there is a little extra tweaking required).

The tooltip is created with JavaScript based on the article written by [Michael Leigeber](http://www.leigeber.com/author/michael/)
[here](http://sixrevisions.com/tutorials/javascript_tutorial/create_lightweight_javascript_tooltip/)
and can be customized and styled through the tooltip.css and tooltip.js files.

Users of WordPress versions less than 3.0 should use version 1.1 of this plugin.

## 安装

 1. Upload the plugin folder to the `/wp-content/plugins/` directory
 2. Activate the plugin through the ‘Plugins’ menu in WordPress
 3. Define your glossary terms under the glossary menu item in the administration interface.
    The title of the page should be the term. The body content should be the definition.
 4. Create a main glossary page (example “Glossary”) with no body content if you wish
    to. If you do not create this page then your terms will still be highlighted but
    there will not be a central listing of all your terms.
 5. In the plugin’s dashboard preferences, enter the main glossary page’s id (optional
    as above)
 6. There are a handful of other optional preferences available in the dashboard.

Note: You must have a call to wp_head() in your template in order for the tooltip
js and css to work properly. If your theme does not support this you will need to
link to these files manually in your theme (not recommended).

## 常见问题

  Does my main glossary page need to be titled “Glossary”?

No. It can be called anything. In fact you don’t even need to have a main glossary
page.

  Do I need to manually type in an unordered list of my glossary terms on the glossary
page?

No. Just leave that page blank. The plugin creates the unordered list of terms automatically.

  How do I add glossary terms?

Simply add a term under the ‘Glossary’ section in the adminstration interface. Title
it the glossary term (ex. “WordPress”) and put the term’s definition into the body(
ex. “A neato Blogging Platform”).

  What if I need to add or change a glossary term?

Just add it or change it. The links for your glossary terms are added to your page
and post content on the fly so your glossary links will always be up to date.

## 评价

此插件暂无评价。

## 贡献者及开发者

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

贡献者

 *   [ jatls ](https://profiles.wordpress.org/jatls/)

[帮助将「TooltipGlossary」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/tooltipglossary)

### 对开发感兴趣吗?

您可以[浏览代码](https://plugins.trac.wordpress.org/browser/tooltipglossary/)，查看
[SVN仓库](https://plugins.svn.wordpress.org/tooltipglossary/)，或通过[RSS](https://plugins.trac.wordpress.org/log/tooltipglossary/?limit=100&mode=stop_on_copy&format=rss)
订阅[开发日志](https://plugins.trac.wordpress.org/log/tooltipglossary/)。

## 更新日志

#### 1.3

 * Bug fixes
 * Parser is now less greedy – will now only match the exact term defined (give 
   or take an ‘s’ for plurals in English)
 * Users can define the permalink name in the plugin options
 * Option to return only the first match on a page/post added

#### 1.2

 * Added custom_post_type for the glossary for WP 3.0
 * Main glossary page is now optional

#### 1.1

 * Cleaned up administration interface
 * Added style options in admin area

#### 1.0

 * First release
 * Optimised code from automatic-glossary
 * Added tooltip functionality

## 额外信息

 *  版本 **1.2**
 *  最后更新：**16 年前**
 *  活跃安装数量 **30+**
 *  WordPress 版本 ** 3.0 或更高版本 **
 *  已测试的最高版本为 **3.0.5**
 *  语言
 * [English (US)](https://wordpress.org/plugins/tooltipglossary/)
 * 标签
 * [definitions](https://cn.wordpress.org/plugins/tags/definitions/)[glossary](https://cn.wordpress.org/plugins/tags/glossary/)
   [pages](https://cn.wordpress.org/plugins/tags/pages/)[posts](https://cn.wordpress.org/plugins/tags/posts/)
   [tooltip](https://cn.wordpress.org/plugins/tags/tooltip/)
 *  [高级视图](https://cn.wordpress.org/plugins/tooltipglossary/advanced/)

## 评级

尚未提交反馈。

[Your review](https://wordpress.org/support/plugin/tooltipglossary/reviews/#new-post)

[查看全部评论](https://wordpress.org/support/plugin/tooltipglossary/reviews/)

## 贡献者

 *   [ jatls ](https://profiles.wordpress.org/jatls/)

## 支持

有话要说吗？是否需要帮助？

 [查看支持论坛](https://wordpress.org/support/plugin/tooltipglossary/)

## 捐助

您愿意支持这个插件的发展吗?

 [ 捐助此插件 ](http://thestable.info)