WordPress Custom Post Types

15,302 views

Published on

Published in: Technology
0 Comments
12 Likes
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
15,302
On SlideShare
0
From Embeds
0
Number of Embeds
916
Actions
Shares
0
Downloads
0
Comments
0
Likes
12
Embeds 0
No embeds

No notes for slide

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

×