wordpress

Diving deeper into the wordpress admin – The Admin Toolbar

Note:This post is abondoned. I have stopped working on wordpress projects and as such I no longer keep track of wordpress related things. I really like the new admin toolbar that came with wordpress 3.3. It is a significant improvement over its predecessor “admin bar", which came with wordpress 3.0. I have met some (not many) developers who dislike this new addition. Regardless of your personal choice, as a developer, I think that you should make an effort to familiarize yourself with it; mainly because with new toolbar API your theme and plugin can do so much with it.

Single Image Uploader for your theme/plugin options page

Note:This post is abondoned. I have stopped working on wordpress projects and as such I no longer keep track of wordpress related things. Recently I posted about how we can use Plupload to create custom image uploaders. While that was a preferable solution in few rare cases where you need to input multiple images, majority of theme settings require only a single image upload. In this post I am providing a better solution for single image upload – it’s easier to implement and it will be easier for admin to use.

Image uploads on wordpress admin screens using jQuery and new Plupload

Note:This post is abondoned. I have stopped working on wordpress projects and as such I no longer keep track of wordpress related things. Since the release of version 3.3, WordPress is using a brand new media uploading engine – Plupload. Plupload is an awesome uploader created by the developers of TinyMce. Depending on the device, it can use HTML5, Gears, Silverlight, Flash, BrowserPlus, or normal forms to provide features such as upload progress, auto image resizing, and asynchronous uploads.

Activation/Deactivation hook for wordpress theme

Note:This post is abondoned. I have stopped working on wordpress projects and as such I no longer keep track of wordpress related things. UPDATE (3 August 2012) In version 3.3.0 wordpress core provided direct activation/deactivation hook for themes (see the new usage below). (thanks to jacobsnyder for telling me about it) NOTE: The old approach will still work, so you don’t need to change your existing code if you were using the old approach.