Many plugin and theme developers fail to properly prepare their plugins and themes for localization.
I suspect that rather than an unwillingness on their part to do this important task, it’s instead a case of getting confused about what’s needed.
So let me give you some examples to show how easy it is to prepare strings for localization.
In an earlier post about image sizes in WordPress, we had shown you a way to choose which image sizes are available for choosing when you’re inserting an image in a post or page.
Today, we are posting a more complete solution where you can actually tell WordPress which image sizes it should or should not generated, and then choose which ones are available in the media uploader/image insertion screen.
On some of my blogs I encountered some jQuery issues when upgrading to WordPress 3.5. Here is an easy solution if you’re also experiencing the same problem.
In the WordPress dashboard, posts are displayed in the ‘latest first’ order. This also applies to pages and custom post types. However it is also easy to change this order if you wish to do so. It might be more practical for example, to have them display according to their title, in ascending order.
Here’s a code snippet that allows your plugin to create a new folder in the /uploads directory on activation. Could be useful if your plugin needs to allow imports or uploads and you want them stored in a separate directory.
Throughout WordPress the class
WP_List_Table is used to display data, e.g. users, plugins, comments, or posts. The class contains almost all necessary methods for displaying, sorting, paginating, and searching data and and what is more obvious than to use it for your own plugins?
A single weekly email directly to your inbox.