WP Glossary – Basic Usage Of The Glossary Shortcode

Once you have added the terms to the back end, you apply the terms to your content with the use of shortcodes:

On it’s own
[glossary slug='glossary /]
The slug is the glossary term’s slug, as it appears on the details page

Wrapping some simple text:
[glossary]glossary[/glossary]

Wrapping some complex text:
[glossary slug='glossary']click here to see what a glossary is[/glossary]

Example:
CODE: [glossary slug='open-source-architecture' /]
RESULT: Open Source Architecture

20 thoughts on “WP Glossary – Basic Usage Of The Glossary Shortcode”

  1. I am using the Graphene theme and WP 3.5.1 . I have installed the plugin and added a glossary term but I can’t display it. I have added the single-glossary.php page to my child theme. However I can’t display any content??

    Where am I going wrong?

    Cheers
    JK

  2. I just updated the plugin to the latest version and now wherever the [glossary] tag appears the text that follows does not appear on the post. Yikes! I love the plugin, what do I do?

  3. [glossary slug=XXX]YYY[/glossary] doesn’t work. At first I thought that the problem in the Russian terms but as it was clarified with the English doesn’t work the same. How to repair?

    “…свои специфические функции и могут быть использованы в [glossary slug='анаболизм']анаболических процессах[/glossary] или выведены из организма как конечные продукты [glossary slug='метаболизм']обмена веществ[/glossary].”

    1. I lay. English terms work. Don’t work only other than Latin. For example Cyrillic or Greek. As well as northern languages.

  4. Hi TC – great plugin, I’ve already said that… Here is a small issue, though.

    My theme is styling the glossary post/page according to its own css. When the ‘definition’ is the first paragraph of the glossary term post, the popup hover shows the definition text, but the \ text here \ html tags as well.
    I think it should just extract the innertext within the html, OR if it is to show stylized content, then maybe you should implement a template with its own css styling, that extracts the innertext and presents it properly…

    You can search on the page that I placed in the website field of the comment for the h3 tag saying “What Is a Spam Filter and How Does It Work?” to see it in action.

    Thanks, Steve

  5. Hi there! Very excited to add this plugin to my classroom website, but the hover tooltips feature continues to state “Glossary Title” in the title spot and “loading glossary term” where the definition should be. Where can I fix this?

    Example (the blue “limestone”) should be linked to the definition:

    http://thescienceroom.org/karst/

    Thanks!!

  6. I guess no one is reading these comments, but I have a new website on a new server and I still can’t get the tooltips to work–simply show the actual word without a definition.

      1. I’m still having this problem, did either of you find a way to make the title work or disappear, as it looks like these questions arent being answered?

  7. Is there a way to just have the definition appear when hovering, and not have a link take you to another page? Thank you!

  8. hi, the shortcode [glossary slug='XXXXX' /] does not work as the way it is described in this post. Actually, only the title of the glossary term appears (and not the definition as it is shown with the example open-source-architecture’

  9. I have been trying to do the same thing as Morven, to create a single page glossary with the alphabet index at the top. Is there no option to do this? So far, what I have to a index at the top and clicking on a letter will bring up all words in that letter.

Please scribble your thoughts below