How to Create Custom Meta Boxes in WordPress?

Post types came into existence in the 1.5 version of WordPress. A field ‘post_type’ got added into the database. However, it was not until version 2.9 that post type could be used in the admin panel. Now with the release of WordPress 3.0, a powerful and new feature called the custom post types has been…