Detect keydown, mousedown and Other TinyMCE Events in WordPress

WordPress uses TinyMCE for its visual editor, making in hard to use regular Javascript for custom situations. Luckily, TinyMCE provides some callbacks that we can use. In this example, I’ll show how you can do something when content of visual editor in WordPress has been accessed or changed by using TinyMCE’s handle_event_callback callback. To register… Read more Detect keydown, mousedown and Other TinyMCE Events in WordPress

How to Avoid Overwriting of WordPress Theme Translations

If you are using WordPress in language other than English, you’ve experienced this painful process: plugin/theme doesn’t include translations and you need to manually upload it you download translation or translate it on your own, and upload it new version of plugin/theme appears, you use automatic upgrader translation files get deleted and you need to… Read more How to Avoid Overwriting of WordPress Theme Translations