• Share
  • Email
  • Embed
  • Like
  • Save
  • Private Content
Using Custom Post Types & Taxonomies in WordPress
 

Using Custom Post Types & Taxonomies in WordPress

on

  • 544 views

Slides from a talk I gave at WordCamp Edmonton in 2011. Related code samples at http://daelan.com/wordcampyeg/

Slides from a talk I gave at WordCamp Edmonton in 2011. Related code samples at http://daelan.com/wordcampyeg/

Statistics

Views

Total Views
544
Views on SlideShare
544
Embed Views
0

Actions

Likes
0
Downloads
6
Comments
0

0 Embeds 0

No embeds

Accessibility

Categories

Upload Details

Uploaded via as Apple Keynote

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n

Using Custom Post Types & Taxonomies in WordPress Using Custom Post Types & Taxonomies in WordPress Presentation Transcript

  • LET YOUR CONTENT BE KINGUSING CUSTOM POST TYPES AND TAXONOMIES TOCONTROL YOUR CONTENT...AND MAKE THINGS EASY FOR YOUR CLIENTSPRESENTED BY DAELAN WOOD @daelan northrepublic.com daelan@daelan.com
  • WORDPRESS AS A CMS
  • WORDPRESS AS A CMS Who are the Primary Users of the Website?
  • WORDPRESS AS A CMS Who are the Primary Users of the Website? Site Visitors
  • WORDPRESS AS A CMS Who are the Primary Users of the Website? Site Visitors (Your Clients Clients)
  • WORDPRESS AS A CMS Who are the Primary Users of the Website? Site Visitors (Your Clients Clients) Site Administrators
  • WORDPRESS AS A CMS Who are the Primary Users of the Website? Site Visitors (Your Clients Clients) Site Administrators (Your Client)
  • WORDPRESS AS A CMS Who are the Primary Users of the Website? Site Visitors (Your Clients Clients) Site Administrators (Your Client) How can we make things easy for everyone?
  • WORDPRESS AS A CMS Who are the Primary Users of the Website? Site Visitors (Your Clients Clients) Site Administrators (Your Client) How can we make things easy for everyone?
  • US
  • US VS
  • US VS THEM
  • US
  • US Interested in technology.
  • US Interested in technology. Willing to experiment.
  • US Interested in technology. Willing to experiment. Take the time to understand how things work because we care.
  • THEM
  • THEMImpatient with technology.
  • THEMImpatient with technology.Want the website to make their jobeasier.
  • THEMImpatient with technology.Want the website to make their jobeasier.Don’t care how things work, tendto follow steps.
  • HOW DO WE MAKE THINGS EASIER?
  • CONTENT TYPES
  • CONTENT TYPES
  • CONTENT TYPES POSTS
  • CONTENT TYPES POSTS
  • CONTENT TYPES POSTS Primarily for Time Sensitive Content (Blog/News/Press Releases)
  • CONTENT TYPES POSTS Primarily for Time Sensitive Content (Blog/News/Press Releases) Displayed in reverse chronological order on 1 page
  • CONTENT TYPES POSTS Primarily for Time Sensitive Content (Blog/News/Press Releases) Displayed in reverse chronological order on 1 page Can be organized using taxonomies (Date, Categories, Tags)
  • CONTENT TYPES POSTS Primarily for Time Sensitive Content (Blog/News/Press Releases) Displayed in reverse chronological order on 1 page Can be organized using taxonomies (Date, Categories, Tags) PAGES
  • CONTENT TYPES POSTS Primarily for Time Sensitive Content (Blog/News/Press Releases) Displayed in reverse chronological order on 1 page Can be organized using taxonomies (Date, Categories, Tags) PAGES
  • CONTENT TYPES POSTS Primarily for Time Sensitive Content (Blog/News/Press Releases) Displayed in reverse chronological order on 1 page Can be organized using taxonomies (Date, Categories, Tags) PAGES Primarily for static content that won’t change often
  • CONTENT TYPES POSTS Primarily for Time Sensitive Content (Blog/News/Press Releases) Displayed in reverse chronological order on 1 page Can be organized using taxonomies (Date, Categories, Tags) PAGES Primarily for static content that won’t change often Content typically exists in only 1 location
  • CONTENT TYPES
  • CONTENT TYPESWhat if your content doesn’t fit this mold?
  • CONTENT TYPESWhat if your content doesn’t fit this mold? Use default Taxonomies and Custom Queries to fake it.
  • CONTENT TYPESWhat if your content doesn’t fit this mold? Use default Taxonomies and Custom Queries to fake it. Custom Post Types
  • CONTENT TYPESWhat if your content doesn’t fit this mold? Use default Taxonomies and Custom Queries to fake it. Custom Post Types Job Listings Product Listings Case Studies Press Releases Movie Reviews Book Reviews
  • CUSTOM POST TYPES
  • CUSTOM POST TYPESForcing WordPress to work with your content rather thanforcing your content to work with WordPress
  • CUSTOM POST TYPESForcing WordPress to work with your content rather thanforcing your content to work with WordPressWhere do we start?
  • CUSTOM POST TYPESForcing WordPress to work with your content rather thanforcing your content to work with WordPressWhere do we start? functions.php
  • CUSTOM POST TYPES
  • CUSTOM POST TYPESImplementing Custom Post Types into Your Theme
  • CUSTOM POST TYPESImplementing Custom Post Types into Your Theme Custom Post Query
  • CUSTOM POST TYPESImplementing Custom Post Types into Your Theme Custom Post Query Custom Single Post Template
  • CUSTOM POST TYPESImplementing Custom Post Types into Your Theme Custom Post Query Custom Single Post Template Custom Archive Template
  • CUSTOM TAXONOMIES
  • CUSTOM TAXONOMIESTaxonomies are a means to group and organize content.
  • CUSTOM TAXONOMIESTaxonomies are a means to group and organize content.By default WordPress has 2 different types of Taxonomies.
  • CUSTOM TAXONOMIESTaxonomies are a means to group and organize content.By default WordPress has 2 different types of Taxonomies. Categories - Hierarchical
  • CUSTOM TAXONOMIESTaxonomies are a means to group and organize content.By default WordPress has 2 different types of Taxonomies. Categories - Hierarchical Tags - Non Hierarchical
  • CUSTOM TAXONOMIESTaxonomies are a means to group and organize content.By default WordPress has 2 different types of Taxonomies. Categories - Hierarchical Tags - Non Hierarchical......................................................................................................................................
  • CUSTOM TAXONOMIESTaxonomies are a means to group and organize content.By default WordPress has 2 different types of Taxonomies. Categories - Hierarchical Tags - Non Hierarchical...................................................................................................................................... Genres
  • CUSTOM TAXONOMIESTaxonomies are a means to group and organize content.By default WordPress has 2 different types of Taxonomies. Categories - Hierarchical Tags - Non Hierarchical...................................................................................................................................... Genres Colours
  • CUSTOM TAXONOMIESTaxonomies are a means to group and organize content.By default WordPress has 2 different types of Taxonomies. Categories - Hierarchical Tags - Non Hierarchical...................................................................................................................................... Genres Colours Sizes
  • CUSTOM TAXONOMIESTaxonomies are a means to group and organize content.By default WordPress has 2 different types of Taxonomies. Categories - Hierarchical Tags - Non Hierarchical...................................................................................................................................... Genres Colours Sizes Locations
  • CODE SAMPLES + MORE INFOTo download code samples used in this demo and to getmore resources on Custom Post Types & Taxonomies visit: http://daelan.com/wordcampyegTHANKS!