Automatic Versioning Of JS And CSS Files In WordPress

July 30th, 2012

If you’re a WordPress developer, this will probably sound familiar: you make a change to  one of your scripts or style sheets, reload the page you’re working on to see the result, and… everything stays the same.

Of course, after a moment of confusion, you realise that you didn’t update […] Continue Reading…


Error Log Monitor

July 25th, 2012

Whether you’re using WordPress for development or simply as a blog or CMS, it is always a good idea to keep an eye on your PHP error log.

As a developer, it helps you notice and fix errors in your code.
As a normal user, it lets you discover plugin bugs, […] Continue Reading…


Formatting JSON With PHP

July 17th, 2012

The built-in json_encode() function in PHP puts everything on one line. For development and debugging, it can often be more useful to have properly indented, human-readable JSON that makes it easier to manually inspect the encoded data and check it for problems.

Here’s a function that lets you format/pretty-print any […] Continue Reading…


How To Use The Default Admin Menu Icons In Your Plugin

July 10th, 2012

As you probably know, you can use the add_menu_page() function to create a top level admin menu for your WordPress plugin or theme. This function allows you to specify a menu icon by passing an image URL as the $icon_url argument. But what if you want to use one […] Continue Reading…


Why I’m Moving My Plugins Away From WPPlugins.com

July 3rd, 2012

Most of my income comes from developing and selling commercial WordPress plugins. Up until recently, I sold many of those plugins through the WPPlugins.com plugin marketplace. Now, however, I’m planning to remove my wpplugins.com listings and build a separate site for each plugin. If you want to know why, […] Continue Reading…