This document is a summary of a presentation about creating custom post types in WordPress. It discusses what custom post types are, why they are useful for organizing content like portfolios, online stores, and events, and how to code them by creating a PHP file and using the register_post_type function. It also covers adding taxonomies, custom fields, and templates for single custom post type pages and archives. The presentation provides code examples and resources for creating and styling custom post types.
4. But what are they?
•Instead of using default posts and categories in
WordPress, use Custom Post Types
•You can add a lot of cool things that are not in a
Default WordPress install
•Added in WordPress 3.0
9. “WordPress can hold and display many
different types of content.”
-WordPress Codex
10. But how do we add
Custom Post Types?
With a plugin of course
11. Create a file called myposttype.php
<?php
/**
* Plugin Name: Your Custom Post Type
* Plugin URI: http://yourpluginswebsite.com
* Description: A brief description of your Plugin.
* Version: The Plugin's Version Number, e.g.: 1.0
* Author: Your Name
* Author URI: http://yourwebsite.com
* License: A "Slug" license name e.g. GPL2
*/