Theming and FTP of WordPress

I decided to go for “Grey Opaque 1.8.1” Theme: it’s mighty, elegant and really mets me (well, ok, I modified some parts of the CSS …) During installation and browsing several themes I noticed that WordPress tries to get a grip on my FTP account to “automatically” install the themes … huh?

No, are you serious?

Found a way to bypass that by adding:

/** sets up 'direct' method for wordpress, auto update without FTP */
define('FS_METHOD','direct');

In my /etc/wordpress/config-dyle.org.php wordpress installment of my Debian Squeeze 6.0.5.

… and this work’s like charm! No passwords, credentials, setup of FTP, no nothing. You just click “Install Now!” and WordPress does all the work without any need for any secrets. This works because WordPress now downloads all stuff into the /usr/share/wordpress/wp-content folder directly.

Didn’t know WordPress is that easy to manage and expand. I must confess: I’m pretty much impressed.