one and done updates with custom post types
DESCRIPTION
Teaching users the basics of WordPress as a Content Management System. Bringing in several WordPress technologies such as custom post types, taxonomies, and custom fields. Recommending WordPress plugins to solve content management needs as well as getting very complex with post type parent and child relationships (one-to-many and many-to-many). Session given at WordCamp North Canton 2014 #wcnc2014.TRANSCRIPT
One and Done Updates with Custom Post
TypesRob DiVincenzo
“Dee-vin-chen-zo”pointtopoint.com – ignitedweb.com
@RobDiVincenzo - #WCNC2014
My background and specialties
pointtopoint.com – ignitedweb.com@RobDiVincenzo - #WCNC2014
Goals for this presentation
pointtopoint.com – ignitedweb.com@RobDiVincenzo - #WCNC2014
1) Empower you to save time (sanity) and
money (or your clients’ money, which can make you more money)
pointtopoint.com – ignitedweb.com@RobDiVincenzo - #WCNC2014
2) Have fun learning
pointtopoint.com – ignitedweb.com@RobDiVincenzo - #WCNC2014
Cool story bro.
pointtopoint.com – ignitedweb.com@RobDiVincenzo - #WCNC2014
Content Management
Systems (CMS)
pointtopoint.com – ignitedweb.com@RobDiVincenzo - #WCNC2014
Custom post types,
taxonomies, and fields oh my!
pointtopoint.com – ignitedweb.com@RobDiVincenzo - #WCNC2014
Examples with increasing complexity
pointtopoint.com – ignitedweb.com@RobDiVincenzo - #WCNC2014
We’re going to get weird.
pointtopoint.com – ignitedweb.com@RobDiVincenzo - #WCNC2014
Resources:1) WordPress codex
2) Types Plugin3) Advanced Custom Fields
pointtopoint.com – ignitedweb.com@RobDiVincenzo - #WCNC2014
Let’s get started!
CMS
pointtopoint.com – ignitedweb.com@RobDiVincenzo - #WCNC2014
pointtopoint.com – ignitedweb.com@RobDiVincenzo - #WCNC2014
pointtopoint.com – ignitedweb.com@RobDiVincenzo - #WCNC2014
pointtopoint.com – ignitedweb.com@RobDiVincenzo - #WCNC2014
Centralized website
publishing
pointtopoint.com – ignitedweb.com@RobDiVincenzo - #WCNC2014
WordPress – “pages” and “posts” post
types
pointtopoint.com – ignitedweb.com@RobDiVincenzo - #WCNC2014
Custom post types
pointtopoint.com – ignitedweb.com@RobDiVincenzo - #WCNC2014
Scenario #1 – Webmaster at University /
College
pointtopoint.com – ignitedweb.com@RobDiVincenzo - #WCNC2014
pointtopoint.com – ignitedweb.com@RobDiVincenzo - #WCNC2014
pointtopoint.com – ignitedweb.com@RobDiVincenzo - #WCNC2014
Creating a custom post
type (and taxonomy)
pointtopoint.com – ignitedweb.com@RobDiVincenzo - #WCNC2014
pointtopoint.com – ignitedweb.com@RobDiVincenzo - #WCNC2014
pointtopoint.com – ignitedweb.com@RobDiVincenzo - #WCNC2014
Boss is impressed and approves your annual raise! *
pointtopoint.com – ignitedweb.com@RobDiVincenzo - #WCNC2014
*Results may vary
Dig a little deeper…
pointtopoint.com – ignitedweb.com@RobDiVincenzo - #WCNC2014
pointtopoint.com – ignitedweb.com@RobDiVincenzo - #WCNC2014
Introducing… Custom fields
(aka post-meta)!
pointtopoint.com – ignitedweb.com@RobDiVincenzo - #WCNC2014
pointtopoint.com – ignitedweb.com@RobDiVincenzo - #WCNC2014
Here’s a good break point to
talk about plugins.
pointtopoint.com – ignitedweb.com@RobDiVincenzo - #WCNC2014
It’s about to get real...
pointtopoint.com – ignitedweb.com@RobDiVincenzo - #WCNC2014
Location, location, location!
pointtopoint.com – ignitedweb.com@RobDiVincenzo - #WCNC2014
Parent / child post type
relationships. One to many
pointtopoint.com – ignitedweb.com@RobDiVincenzo - #WCNC2014
pointtopoint.com – ignitedweb.com@RobDiVincenzo - #WCNC2014
Many-to-Many post types… Children to
children? Wut?
pointtopoint.com – ignitedweb.com@RobDiVincenzo - #WCNC2014
Bookstore new system to “loan”
books to students
pointtopoint.com – ignitedweb.com@RobDiVincenzo - #WCNC2014
pointtopoint.com – ignitedweb.com@RobDiVincenzo - #WCNC2014
Let’s get a little weird…
pointtopoint.com – ignitedweb.com@RobDiVincenzo - #WCNC2014
Short code example:
[gallery id=23]
pointtopoint.com – ignitedweb.com@RobDiVincenzo - #WCNC2014
One and Done Updates with Custom Post
Types (and CMS, taxonomies, fields,
relationships, and short codes)
Rob DiVincenzo“Dee-vin-chen-zo”
pointtopoint.com – ignitedweb.com@RobDiVincenzo - #WCNC2014