Emacs file and directory browsing
Emacs has Dired, a great method for browsing directories; especially in combination with ido-mode, I prefer it to Windows Explorer, OS X Finder, Gnome Nautilus, or anything else I’ve used over the decades to browse file systems. You can quickly begin entering paths, and Dired helps you with directory and [...]
Category Archives: Development
Emacs Power: remote servers and shell commands
One-button website publishing using WordPress-mu
I’m kinda loving on WordPress MU. One of my recent projects required building web sites that pulled from a shared database. WordPress MU allowed me to create a one-button website builder for my client. WordPress MU calls them blogs, but my client will map a unique domain to each blog, and, well, [...]
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 globals like $wpdb, functions such as wp_insert_post etc.
These scripts worked with WordPress-MU until recently [...]
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 posts shown using controls in the interface.
Though there is no filter provided for the number [...]