How to Custom Post Type with Taxonomies WordPress

If you sell WordPress as a CMS you need to start working with Custom Post Types and Taxonomies.

Custom Post Types

1. You can do it using a plugin. It will allow all non-developers users create custom post types.

2. Or maybe you want to use your functions.php file and code it.

add_action( 'init', 'create_post_type' ); function create_post_type() { register_post_type( 'super', array( 'labels' => array( 'name' => __( 'Supers' ), 'singular_name' => __( 'Super' ) ), 'public' => true, ) ); }

You can read the full documentation about custom post types in the WordPress Codex.


You can set custom attributes to the Custom Post Types. You can have "movies" and then "actors".

There is a full tutorial in net.tuts, take a look at it.

One comment
  • Simply wish to say your article is as astounding. The clearness in your post is simply spectacular and i could assume you are an expert on this subject. Fine with your permission let me to grab your RSS feed to keep updated with forthcoming post. Thanks a million and please carry on the rewarding work.

Leave a Reply

Add <code> Some Code </code> by using this tags.