Upgrade to Pro — share decks privately, control downloads, hide ads and more …

WP Content Types

WP Content Types

Types of structured content in wordpress

Jake Chamberlain

June 03, 2014
Tweet

More Decks by Jake Chamberlain

Other Decks in Programming

Transcript

  1. 3 Major Types of Data • “Post” Types - Content

    types. Base building block • Taxonomies - Categorization • Metadata - extra data for objects
  2. Post Types Default types: • Post • Page • Attachment

    (media) • Revision • Navigation menu • Post types are the base building blocks. • Typically have a URL. • Two different kinds
  3. Post Types: 2 Kinds Page (Hierarchical)! • Relationships 
 (Parent

    - Child) • Template options • Pseudo Static Post (Non-hierarchical)! • Categorized (taxonomies) • Part of a bigger group
 (Archives) • Single “entries” • Common to have comments
  4. Taxonomies Default types: • Category • Tags • Grouping mechanism

    • The taxonomy is the descriptor of the groups • Like post types two different kinds • Each “group” is called a term
  5. Metadata • Adds extra information to objects • Adds extra

    structure • Keeps wysiwyg from being yucky. • Basically everything in has its own form of metadata • 3 Major Classification
  6. Metadata: Options Used as preferences or to fill in information

    that is consistent across pages and posts Common Use Cases:! • Settings Menu • Theme Options • Editable Logos
  7. Metadata: Custom Fields Metadata to create structure. Information that belongs

    to “something” • Can be one-off or separated into groupings with metaboxes • Use to help make complex information easily editable
  8. How to Integrate Part 2: We’ll cover plugins to make

    integration easy. Custom Post Type UI
 https://wordpress.org/plugins/custom-post-type-ui/ Advanced Custom Fields
 https://wordpress.org/plugins/advanced-custom- fields/