Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

WordPress Custom Post Types

15,789 views

Published on

Published in: Technology
  • Be the first to comment

WordPress Custom Post Types

  1. 1. Custom Post Types Mark Jaquith @markjaquith coveredwebservices.com
  2. 2. What they are not.
  3. 3. Examples • Employees • Products • Locations • Movies • Anything that is a “thing” that isn’t a “post.”
  4. 4. WP Uses CPT • Posts • Pages • Revisions • Attachments • Menu Items (new for WordPress 3.0)
  5. 5. Custom Post Types have been available since 2005
  6. 6. Plugin: Custom Post Type UI
  7. 7. Next: build the [employee] shortcode
  8. 8. http://gist.github.com/570774
  9. 9. You can use custom post types as a data store
  10. 10. Custom post types can be hierarchical, like pages
  11. 11. Custom post types aren’t done yet
  12. 12. 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
  13. 13. Thanks! @markjaquith coveredwebservices.com

×