From Event to Action: Accelerate Your Decision Making with Real-Time Automation
Hazlitt Eastman at WP-Brighton 2011 - WordPress Custom Post Types
1. Diving into Wordpress Custom
Post Types
Hazlitt Eastman
www.manta9.com
@hazlitteastman
Wordpress theme and plugin development, Codeigniter,
PHP / MySQL / Javascript / HTML / CSS
2. What are we going to look at?
- What are Custom Post Types?
- Web site example
- Useful plugins
- Code
www.manta9.com
@hazlitteastman
3. What are Custom Post Types?
Provide a method by which we can structure different
types of website content. (not just Posts and Pages)
Examples:
- Adverts
- DVDs
- Books
- Testimonials
- Tour dates
www.manta9.com
@hazlitteastman
4. Website Front End Example
www.offthekerb.co.uk
Contains 11 Custom Post Types
www.manta9.com
@hazlitteastman
5. Useful Plugins
- Can be created in functions.php using the
register_post_type() Wordpress function
- Custom Post Type UI
- Verve Metabox
- More Fields
- Advanced Custom Fields
www.manta9.com
@hazlitteastman
6. Website Back End Example
www.offthekerb.co.uk
- As an Editor
- As an Administrator
www.manta9.com
@hazlitteastman