Profile
Achievement
jessibird's Recent SnippetsTagged wordpress
- All /
« Prev 1 Next »
Change \"wp\" to your database prefix. Note, this is the quick and dirty way. The more thorough way, which will also clean any tags or categories that are now unused, is here: http://www.snipplr.com/view/29570/get-rid-of-unused-post-revisions/
2
654
posted 14 years ago by jessibird
Just run the following query on your WordPress database, and all revisions (As well as meta associated with it) will be deleted from your database.
2
844
posted 14 years ago by jessibird
Template Tag body_class
The coming WordPress 2.8 provides a new Template Tag, body_class. This function gives the body element different classes, which gives you the possibility to use it effectively with CSS.
3
611
posted 15 years ago by jessibird