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 posts shown using controls in the interface.
Though there is no filter provided for the number [...]
Author Archives: Gregory Grubbs
How to change the number of posts shown in the WordPress admin area without hacking the core
Posted in Development, wordpress Tagged admin, edit posts, filter, hook, plugin, wordpress 4 Comments
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 an action hook (of course there is!) when a new blog is created. So let’s get down [...]
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 directory. But I have encountered serious problems, including file corruption warnings, when using svn [...]
Posted in Development, wordpress Tagged hacks, repository, rsync, subversion, upgrade, upgrading, wordpress 2 Comments