Custom Post
   Types
       Mark Jaquith
      @markjaquith
 coveredwebservices.com
What they
 are not.
Examples
• Employees
• Products
• Locations
• Movies
• Anything that is a “thing” that
 isn’t a “post.”
WP Uses CPT
• Posts
• Pages
• Revisions
• Attachments
• Menu Items (new for
 WordPress 3.0)
Custom Post
  Types have
been available
  since 2005
Plugin: Custom Post Type UI
Next: build the
[employee] shortcode
http://gist.github.com/570774
You can use
custom post types
  as a data store
Custom post types
can be hierarchical,
    like pages
Custom post types
 aren’t done yet
More Resources

•   http://codex.wordpress.org/Custom_Post_Types

•   http://codex.wordpress.org/Function_Reference/
    register_post_type

•   http://justintadlock.com/archives/2010/04/29/custom-
    post-types-in-wordpress
Thanks!
     @markjaquith
coveredwebservices.com

WordPress Custom Post Types