WP Manifestindependent plugin directory
manifest / unclassified / wp-tooltipy

Tooltipy

Automatically create tooltip boxes for your technical keywords to explain them for your visitors.

★ 0stars

Install

Download source zip No release zip yet

This is the repository archive. It installs, but the folder name will carry the branch suffix and updates will not flow.

Install straight from GitHub with WP-CLI:

wp plugin install https://github.com/lebleut/wp-tooltipy/archive/refs/heads/master.zip
No built-in updater. New versions won't appear under Dashboard → Updates. Install new releases yourself, or let Git Updater track the repository.

Tooltipy (Keywords Tooltip Generator)

Automatically creates tooltip boxes for your technical keywords to explain them to your site visitors.

Description

Tooltipy automatically detects keywords in your posts/pages and displays tooltip popups with their definitions.

Version 6.0 is a complete architectural rewrite to modern PHP 8 OOP with namespaces and classes, while keeping 100% backward compatibility for all existing users (same database options, same post meta keys, same shortcodes, same hooks).

Key Features

  • Auto-detect keywords and display tooltips on hover
  • Synonyms support (pipe-separated)
  • Case-sensitive matching option
  • Prefix matching (e.g. "photo" matches "photography")
  • Glossary shortcode: [tooltip_glossary]
  • Keyword families / categories
  • AJAX loading of tooltip content
  • Animation effects (Animate.css)
  • YouTube video tooltips
  • Image alt-text tooltips
  • Sidebar widget showing related keywords
  • Custom CSS/JS hooks
  • Extensible addon system (AddonInterface / AddonManager)

Architecture (6.0)

  • PHP 8 namespaces under Tooltipy\
  • PSR-4 autoloading via spl_autoload_register
  • Single-responsibility classes (Plugin, KeywordRepository, FrontendMatcher, ContentFilter, AjaxHandler, …)
  • AddonInterface + AddonManager for future paid addons
  • Full backward compatibility: same option names, post meta keys, hooks

Addon System

Register an addon from an external plugin:

add_action('tooltipy_register_addons', function(\Tooltipy\Addon\AddonManager $mgr) {
    $mgr->register(new MyPaidAddon()); // implements AddonInterface
});

Available extension points:

  • tooltipy_register_addons
  • tooltipy_settings_tabs
  • tooltipy_settings_tab_panels
  • tltpy_posttypes_to_match
  • tltpy_custom_fields_hooks
  • kttg_another_tooltip_in_block
  • tltpy_post_type_args
  • bluet_kw_capability
  • tooltipy_stylesheet_url

Backward Compatible Hooks (from 5.x)

All legacy hooks are preserved as aliases.

Installation

  1. Upload the plugin folder to /wp-content/plugins/
  2. Activate through the 'Plugins' menu
  3. Go to Tooltipy > Settings to configure

Frequently Asked Questions

How do I create a keyword?

Go to Tooltipy > Add New in the WordPress admin and create a post. The title is the keyword.

How do I add a glossary?

Create a page and add the shortcode [tooltip_glossary].

Is 6.0 compatible with existing data from 5.x?

Yes. All database options, post meta, and shortcodes are identical.

How do I build a paid addon?

Implement the Tooltipy\Addon\AddonInterface and register it via the tooltipy_register_addons action hook.

Screenshots

  1. Tooltip in action
  2. Keyword editor
  3. Settings page
  4. Glossary page

Changelog

6.0.0

  • Full OOP rewrite: PHP 8 namespaces, PSR-4 autoloading, single-responsibility classes
  • New: AddonInterface + AddonManager for extensible addon ecosystem
  • New: dedicated Plugin orchestrator class (replaces globals)
  • New: KeywordRepository with proper transient management
  • New: separate FrontendMatcher, ContentFilter, ScriptManager, AjaxHandler
  • Improved: esc_*() / wp_kses_post() used throughout for better security
  • Backward compatible: all option keys, meta keys, shortcodes, and hooks preserved

5.5.9

  • Security: nonce verification on AJAX calls
  • Improved: excluded posts now use postmeta (migration from global option)
  • Fix: mediaelement.js loading for audio/video shortcodes inside tooltips

5.5.8

  • Fix: various security improvements

Upgrade Notice

6.0.0

Major architectural rewrite. Requires PHP 8.0+. All existing data and settings are preserved automatically. No manual migration needed.