Glossário Simples
An extremely simple WordPress plugin that transforms specific words from your content into interactive popovers.
by Willder Azevedo · github.com/willderazevedo/simple-glossary
Install
No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:
wp plugin install https://github.com/willderazevedo/simple-glossary/archive/refs/heads/main.zipAn extremely simple WordPress plugin that transforms specific words from your content into interactive popovers.
No indexing. No automatic glossary pages. No global scanning. No unnecessary overhead.
Just a simple text-based glossary.
Purpose
Most glossary plugins for WordPress try to do everything:
- term pages
- internal SEO
- automatic indexes
- archive pages
- global detection
- analytics
- complex shortcodes
- widgets
- builders
Simple Glossary takes the opposite approach.
It only:
- searches for specific words in the content
- transforms those words into links
- displays a popover with the term description
Nothing more.
Features
- Custom Post Type for terms
- Categories for organization
- Bootstrap popovers
- Optional automatic content injection
- Configurable wrapper class
- No dependency on builders
- No automatic glossary pages
- No unnecessary URL generation
- Lightweight and simple
Installation
- Upload the plugin to:
/wp-content/plugins/simple-glossary
-
Activate it from the WordPress admin panel.
-
Go to:
Settings → Simple Glossary
- Configure:
- Wrapper class
- Auto injection
Usage
Automatic Mode
Enable:
Auto Injection
The plugin will automatically wrap the the_content output with:
<div class="glossary-wrapper">
or with your custom configured wrapper class.
Manual Mode
Disable auto injection and manually add:
<div class="glossary-wrapper">
Your content here
</div>
or:
<div class="my-custom-class">
Your content here
</div>
Then configure this class inside the plugin settings.
Creating Terms
After activating the plugin, a new menu will appear:
Glossary
Create a new term:
- Title → detected word
- Content → description shown inside the popover
Example:
Title
API
Content
Application Programming Interface
How It Works
When the plugin finds the word:
API
inside the monitored content, it automatically transforms it into:
Hovering the term will display a popover.
Structure
simple-glossary/
├── assets/
│ ├── main.js
│ └── style.css
├── libs/
│ ├── bootstrap/
│ └── he/
└── simple-glossary.php
Settings
Wrapper Class
CSS class used to identify where the plugin should search for terms.
Default:
glossary-wrapper
Auto Injection
When enabled, the plugin automatically wraps the rendered the_content output.
Plugin Philosophy
The goal is to keep the plugin:
- simple
- predictable
- lightweight
- easy to modify
- free from invasive automations
Requirements
- WordPress 5+
- PHP 7.4+
💖 Support This Project
If you like this project, consider making a donation to support development.