Create Custome post type

As usually creating custom post type in wordpress is very simple. Just get into the follow post
1. for the first step just open function.php in your theme(U can find this one in your theme directory)
2. Add the following code to that file(function.php)

add_action( 'init', 'create_post_type' );
function create_post_type() {
	register_post_type( 'acme_product',
			'labels' => array(
				'name' => __( 'Products' ),
				'singular_name' => __( 'Product' )
		'public' => true,
		'has_archive' => true,

That’s it u can find new custom post type in wp dashboard..
U have another option like plugin
With the following plugin also u can create custom post

  1. great job..

  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: