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

Nav Menu Images 2.0: With the New WordPress 3.5 Media Views

I’ve released version 2.0 of my plugin Nav Menu Images. It adds support for the new media views introduced in WordPress 3.5. This makes it even easier to add images to nave menu items. No more waiting for upload screen, more prominent “Set as featured image” button, easier removing/changing. For older versions of WordPress, nothing… Read more Nav Menu Images 2.0: With the New WordPress 3.5 Media Views

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