Need to edit many posts at once in WordPress? Is the standard limit of 15 posts on the Posts Edit screen just not enough for you? Well, there is a hack you might be interested in. This involves editing the core WP files, so is not recommended as a permanent solution or for production sites… …
Author Archives: simonwheatley
Restoring deleted files from an SVN repository
I’ve always idly thought that one of the brilliant things about version control was that you could recover accidentally deleted files when it became necessary. Well that scenario arose today, and I realised I had absolutely no idea how to do it.
Individual languages for WordPress Mu sites
For WordCamp UK 2009, we’re having a dual language site (currently in the works, but hopefully near completion soon), where the content will be available in English or Welsh (as our host city is Cardiff). I had a scout around the various multi-language plugins, and none of them really seemed to hit the spot (mostly …
Continue reading “Individual languages for WordPress Mu sites”
WordCamp UK 2009, theme translation file
WARNING: Of interest only to those involved in translating the Wordcamp UK 2009 theme into Welsh! WordCamp UK 2009 POT file – for translating the theme into Welsh (or any other language). For more information, see the WordPress Internationalisation information.
Page load hooks in the WordPress admin area
There are a number of really handy hooks, each of which are specific to a page in the WordPress admin area. You can use these action hooks to enqueue scripts on particular pages, to process form requests, etc, etc. Despite these hooks being so handy, and despite using them a great deal, every time I …
Continue reading “Page load hooks in the WordPress admin area”
Problems with Time Machine endlessly preparing
We use Time Machine with a network disk connected via AirPort Extreme for backup in our household (writeup), and it’s generally a great solution. However recently my wife’s laptop had got stuck in an endless “preparing backup” situation. There didn’t seem to be any significant details in the error log, and when I ran a …
Continue reading “Problems with Time Machine endlessly preparing”
Custom taxonomies in WordPress
I’ve spent quite a bit of time over the last week getting to grips with custom taxonomies in WordPress, and I’m really pleased with what I’ve found. A taxonomy is a classification, and WordPress already has two taxonomies buil in: tags and categories. Categories lean towards a more formal taxonomy, which you might setup with …
PHP error logs with MacPorts on OSX
I’ve recently had to switch laptops while my main machine is in for repair (again), and this has reminded me of an issue I seem to encounter with MacPorts PHP. I make extensive use of the PHP function error_log during development, to track variables and ensure that things within the code are as I expect. …
Experiments with WP Cron
I’ve got a couple of projects coming up which are going to require scheduling tasks in WordPress either to go off and get stuff, or to check whether posts displayed are still accurate, etc. Luckily, WordPress has a pseudo-Cron implementation which I plan to use to . Let’s take a step back first and remember …
WordPress and basic authentication, problems with WP Cron and file uploads
I have a Google ego search on my name, so I can keep track of what the Internets is saying about me behind my back. The other day the ego search summary email arrived and included was one of my development sites. Which was annoying because I don’t want people browsing around my development, it …
Continue reading “WordPress and basic authentication, problems with WP Cron and file uploads”