An easy way to implement tooltip element in the WordPress Block Editor
Author: | Ivan Zhuck (profile at wordpress.org) |
WordPress version required: | 5.9 |
WordPress version tested: | 6.7 |
Plugin version: | 3.4.3 |
Added to WordPress repository: | 19-12-2023 |
Last updated: | 13-11-2024 |
Rating, %: | 100 |
Rated by: | 4 |
Plugin URI: | |
Total downloads: | 1 738 |
Active installs: | 70+ |
![]() Click to start download |
This lightweight plugin adds button “Tooltip” to the RichText toolbar.
Use it to paste popover tooltips over the words and phrases in your articles.
You can style tooltips with the admin settings page.
You can also style tooltips with CSS and using filters:
add_filter('izbet_style_text_color', function() { return '#247DE0'; });
add_filter('izbet_style_border_color', function() { return '#247DE0'; });
add_filter('izbet_style_tooltip_text_color', function() { return '#fff'; });
add_filter('izbet_style_tooltip_background_color', function() { return 'rgba(0, 010, 030, .85)'; });
add_filter('izbet_style_tooltip_font_size', function() { return '.8rem'; });
add_filter('izbet_style_tooltip_padding', function() { return '.6rem'; });
add_filter('izbet_style_tooltip_border_radius', function() { return '.3rem'; });
How to contribute
If you want to help me develop the plugin please visit its repository on GitHub: https://github.com/IvanZhuck/wordpress-iz-bet. The repository contains the source code and tools for development.
Screenshots
ChangeLog