WordPress

Creating a .po Translation File

I used to rely on these instructions whenever I needed to create a translation file for WordPress; but Poedit has gone through some updates since those were written, so they don't necessarily match up to the current version of the software now. So, I came up with my own updated set of instructions to accompany [...]

Disable Post Revisions in WordPress

The Post Revisions feature in WordPress takes up database space that I'd rather not waste. So I found out how to disable the feature. Add this to wp-config.php: // disable post revisions define('WP_POST_REVISIONS', false); Then, clean up the database with this SQL: DELETE a,b,c FROM wp_posts a LEFT JOIN wp_term_relationships b ON (a.ID = b.object_id) [...]