Blog Archives

How to get your command line PHP script working with WordPress-MU 2.7

OK, this one is obscure. I only post about what I can’t find on Google! Until recently it has been possible to run command-line PHP scripts that include wp-config.php or wpmu-settings.php, in order to give those scripts access to WordPress

Posted in Development, wordpress, wordpress-mu Tagged with: , , , , , ,

How to change the number of posts shown in the WordPress admin area without hacking the core

It is easy to go in and hack the core WordPress files to change the hard-coded number, but I wanted to find a way to do it with a hook.  That way, I could one day change the number of

Posted in Development, wordpress Tagged with: , , , , ,

How to give all new WPMU blogs default properties, theme and pages

I’ve been developing an application on WordPress-MU and thought I’d share a cool tip. When new web sites are generated by my client, I wanted the experience to be painless; a one-button ready-to-go web site. It turns out there is

Posted in Development, wordpress Tagged with: , ,

How to upgrade WordPress SAFELY using Subversion and Rsync

I keep all my WordPress projects in a Subversion repository. I also have a snapshot of unmodified ‘vanilla’ releases kept in the same repository. Now theoretically I should simply be able to use the svn merge command in a working

Posted in Development, wordpress Tagged with: , , , , , ,