Wordnest
For detailed documentation, source code, screenshots, issue reports, and development updates, please visit GitHub: https://github.com/Simon-xuan/Wordnest
English
Wordnest is a minimalist glossary tooltip plugin built for WordPress. It automatically detects terms in your posts or pages and shows their definitions on hover, using a native frontend stack: pure CSS and Vanilla JavaScript, with no jQuery and no third-party frontend dependencies.
Wordnest is designed for documentation sites, course sites, knowledge bases, technical blogs, language-learning content, product documentation, and any WordPress site that needs to explain terms inside article content.
Key features
- Automatically adds hover tooltips to terms in posts and pages
- Pure CSS + Vanilla JavaScript frontend, with no jQuery dependency
- CJK-friendly matching for Chinese, English, and other multibyte text
- Central term management through a dedicated custom post type
- Alias support with the
Term|Aliastitle format - CSV text import for adding many terms at once
- Optional first-occurrence-only highlighting per post
- Skips links, headings, code blocks, scripts, and style areas to avoid breaking content
- Uses WordPress Transient caching to reduce database queries
Why Wordnest
Many glossary and tooltip plugins are powerful but load more frontend assets than some sites need. Wordnest focuses on one simple job: explain terms inside content while staying lightweight, predictable, and easy to maintain.
中文
Wordnest 是一款专为 WordPress 打造的极简术语工具提示插件。它会自动识别文章或页面正文中的术语,并在鼠标悬停时显示释义。前端使用纯 CSS + Vanilla JavaScript,无 jQuery、无第三方前端依赖。前身是 LiteGlossary。
它适合用于文档站、课程站、知识库、技术博客、语言学习内容、产品说明页,以及任何需要在正文中解释专业名词的 WordPress 站点。
主要功能
- 自动识别文章或页面正文中的术语,并添加悬停工具提示
- 纯 CSS + Vanilla JavaScript 前端实现,无 jQuery、无第三方依赖
- 支持中文、英文和其他多字节字符,适合 CJK 内容
- 通过自定义文章类型集中管理术语和释义
- 支持
术语|别名形式,让多个名称共享同一释义 - 支持 CSV 文本批量导入术语
- 可选择只高亮每篇文章中首次出现的术语
- 自动跳过已有链接、标题、代码块、脚本和样式区域,尽量避免破坏原文结构
- 使用 WordPress Transient 缓存术语列表,减少数据库查询
为什么选择 Wordnest
许多术语表或 tooltip 插件功能很全,但也会加载较重的前端资源。Wordnest 的目标更简单:只做一件事,把文章里的术语解释清楚,并尽量保持轻量、可控、易维护。