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.
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).
Users of WordPress versions less than 3.0 should use version 1.1 of this plugin.
- Upload the plugin folder to the
- Activate the plugin through the ‘Plugins’ menu in WordPress
- 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.
- 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.
- In the plugin’s dashboard preferences, enter the main glossary page’s id (optional as above)
- 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.
Nu există nicio verificare pentru acest modul.
Contributori și dezvoltatori
„TooltipGlossary” este un software open-source. La acest modul au contribuit următoarele persoane.Contributori
Tradu „TooltipGlossary” în limba ta.
Te interesează dezvoltarea?
Răsfoiește codul, vezi depozitarul SVN, sau abonează-te la jurnalul de dezvoltare prin RSS.
- 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
- Added custom_post_type for the glossary for WP 3.0
- Main glossary page is now optional
- Cleaned up administration interface
- Added style options in admin area
- First release
- Optimised code from automatic-glossary
- Added tooltip functionality