Given a collection of glossary definition pages, automatically creates links in your page and post content for the words in your glossary.
Is smart enough not to create illegal nested links.
Works with php 4 and 5 (check out the FAQ for more info on using it with php 4).
Only tested on WordPress version 2.7.1 (although will most likely work on other versions).
A good example of the glossary in action is at this page. All of the “charter school” links were added dynamically by the glossary plugin.
- Activate the plugin through the ‘Plugins’ menu in WordPress
- Create a main glossary page (example “Glossary”) with no body content
- In the plugin’s dashboard preferences, enter the main glossary page’s id#
- Create child pages of the main glossary page for each term you wish to define. The title of the page should be the term. The body content should be the definition.
- There are a handful of optional preferences available in the dashboard
- If you are using php 4, be sure to read teh FAQ.
- Does my main glossary page need to be titled “Glossary”?
No. It can be called anything. Just be sure to enter the page’s id into the plugin’s preference dashboard.
- 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 child page to your main glossary page. 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.
- I use php 4 and I get all sorts of fatal errors. What gives?
You need to edit the glossary.php file. You will see a big chunk of commented out code that says it is for php 4. You need to uncomment that. Additionally, you will see a large chunk of code that says it is for php 5. You need to comment that out.
Este plugin não tem avaliações.
Contribuidores e programadores
“Glossary” é software de código aberto. As seguintes pessoas contribuíram para este plugin:Contribuidores