Jul
26
2014

How to create custom post types in WordPress

Using custom post types in WordPress makes is a lot easier to create new type of contents. Your clients may ask for different content types like Movies, Books, Testimonials, Projects, Products, Clients, Hotels, Trips etc.

A custom post type is created using register_post_type method in functions.php file. Simplest form of the custom post type implementation is:

Above code will create a custom post type Movie . Its enough to create basic version but you will see all the labels are still showing the post instead of movie. Following is the full version of the implementation.

Related Posts

About the Author: