Disable and Limit Post Revisions in WordPress

WordPress saves revisions of each posts every 60 seconds to make the editing flow better. It allows the author to go through the old revisions of the post in case the author removed something and now wants to restore it.

While post revisions are useful, they take a lot of space in your database. For the users who do not want post revisions, they can simply disable or limit post revisions in WordPress with a few lines of code.

Continue Reading "How to Disable and Limit Post Revisions in WordPress"
Add User Contact Fields in WordPress

Every user profile in WordPress has few user contact fields that can be used to display on their user or author profile. There used to be fields for some social networks, such as Yahoo IM and Jabber, in past but WordPress has removed it from its core since.

You can extend the profile contact fields by adding more fields using the user_contactmethods filter.

Continue Reading "How to Add User Contact Fields in WordPress"