One and Done Updates with Custom Post Types

40
One and Done Updates with Custom Post Types Rob DiVincenzo “Dee-vin-chen-zo” pointtopoint.com – ignitedweb.com @RobDiVincenzo - #WCNC2014

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 of One and Done Updates with Custom Post Types

Page 1: One and Done Updates with Custom Post Types

One and Done Updates with Custom Post

TypesRob DiVincenzo

“Dee-vin-chen-zo”pointtopoint.com – ignitedweb.com

@RobDiVincenzo - #WCNC2014

Page 2: One and Done Updates with Custom Post Types

My background and specialties

pointtopoint.com – ignitedweb.com@RobDiVincenzo - #WCNC2014

Page 3: One and Done Updates with Custom Post Types

Goals for this presentation

pointtopoint.com – ignitedweb.com@RobDiVincenzo - #WCNC2014

Page 4: One and Done Updates with Custom Post Types

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

Page 5: One and Done Updates with Custom Post Types

2) Have fun learning

pointtopoint.com – ignitedweb.com@RobDiVincenzo - #WCNC2014

Page 6: One and Done Updates with Custom Post Types

Cool story bro.

pointtopoint.com – ignitedweb.com@RobDiVincenzo - #WCNC2014

Page 7: One and Done Updates with Custom Post Types

Content Management

Systems (CMS)

pointtopoint.com – ignitedweb.com@RobDiVincenzo - #WCNC2014

Page 8: One and Done Updates with Custom Post Types

Custom post types,

taxonomies, and fields oh my!

pointtopoint.com – ignitedweb.com@RobDiVincenzo - #WCNC2014

Page 9: One and Done Updates with Custom Post Types

Examples with increasing complexity

pointtopoint.com – ignitedweb.com@RobDiVincenzo - #WCNC2014

Page 10: One and Done Updates with Custom Post Types

We’re going to get weird.

pointtopoint.com – ignitedweb.com@RobDiVincenzo - #WCNC2014

Page 11: One and Done Updates with Custom Post Types

Resources:1) WordPress codex

2) Types Plugin3) Advanced Custom Fields

pointtopoint.com – ignitedweb.com@RobDiVincenzo - #WCNC2014

Page 12: One and Done Updates with Custom Post Types

Let’s get started!

CMS

pointtopoint.com – ignitedweb.com@RobDiVincenzo - #WCNC2014

Page 13: One and Done Updates with Custom Post Types

pointtopoint.com – ignitedweb.com@RobDiVincenzo - #WCNC2014

Page 14: One and Done Updates with Custom Post Types

pointtopoint.com – ignitedweb.com@RobDiVincenzo - #WCNC2014

Page 15: One and Done Updates with Custom Post Types

pointtopoint.com – ignitedweb.com@RobDiVincenzo - #WCNC2014

Page 16: One and Done Updates with Custom Post Types

Centralized website

publishing

pointtopoint.com – ignitedweb.com@RobDiVincenzo - #WCNC2014

Page 17: One and Done Updates with Custom Post Types

WordPress – “pages” and “posts” post

types

pointtopoint.com – ignitedweb.com@RobDiVincenzo - #WCNC2014

Page 18: One and Done Updates with Custom Post Types

Custom post types

pointtopoint.com – ignitedweb.com@RobDiVincenzo - #WCNC2014

Page 19: One and Done Updates with Custom Post Types

Scenario #1 – Webmaster at University /

College

pointtopoint.com – ignitedweb.com@RobDiVincenzo - #WCNC2014

Page 20: One and Done Updates with Custom Post Types

pointtopoint.com – ignitedweb.com@RobDiVincenzo - #WCNC2014

Page 21: One and Done Updates with Custom Post Types

pointtopoint.com – ignitedweb.com@RobDiVincenzo - #WCNC2014

Page 22: One and Done Updates with Custom Post Types

Creating a custom post

type (and taxonomy)

pointtopoint.com – ignitedweb.com@RobDiVincenzo - #WCNC2014

Page 23: One and Done Updates with Custom Post Types

pointtopoint.com – ignitedweb.com@RobDiVincenzo - #WCNC2014

Page 24: One and Done Updates with Custom Post Types

pointtopoint.com – ignitedweb.com@RobDiVincenzo - #WCNC2014

Page 25: One and Done Updates with Custom Post Types

Boss is impressed and approves your annual raise! *

pointtopoint.com – ignitedweb.com@RobDiVincenzo - #WCNC2014

*Results may vary

Page 26: One and Done Updates with Custom Post Types

Dig a little deeper…

pointtopoint.com – ignitedweb.com@RobDiVincenzo - #WCNC2014

Page 27: One and Done Updates with Custom Post Types

pointtopoint.com – ignitedweb.com@RobDiVincenzo - #WCNC2014

Page 28: One and Done Updates with Custom Post Types

Introducing… Custom fields

(aka post-meta)!

pointtopoint.com – ignitedweb.com@RobDiVincenzo - #WCNC2014

Page 29: One and Done Updates with Custom Post Types

pointtopoint.com – ignitedweb.com@RobDiVincenzo - #WCNC2014

Page 30: One and Done Updates with Custom Post Types

Here’s a good break point to

talk about plugins.

pointtopoint.com – ignitedweb.com@RobDiVincenzo - #WCNC2014

Page 31: One and Done Updates with Custom Post Types

It’s about to get real...

pointtopoint.com – ignitedweb.com@RobDiVincenzo - #WCNC2014

Page 32: One and Done Updates with Custom Post Types

Location, location, location!

pointtopoint.com – ignitedweb.com@RobDiVincenzo - #WCNC2014

Page 33: One and Done Updates with Custom Post Types

Parent / child post type

relationships. One to many

pointtopoint.com – ignitedweb.com@RobDiVincenzo - #WCNC2014

Page 34: One and Done Updates with Custom Post Types

pointtopoint.com – ignitedweb.com@RobDiVincenzo - #WCNC2014

Page 35: One and Done Updates with Custom Post Types

Many-to-Many post types… Children to

children? Wut?

pointtopoint.com – ignitedweb.com@RobDiVincenzo - #WCNC2014

Page 36: One and Done Updates with Custom Post Types

Bookstore new system to “loan”

books to students

pointtopoint.com – ignitedweb.com@RobDiVincenzo - #WCNC2014

Page 37: One and Done Updates with Custom Post Types

pointtopoint.com – ignitedweb.com@RobDiVincenzo - #WCNC2014

Page 38: One and Done Updates with Custom Post Types

Let’s get a little weird…

pointtopoint.com – ignitedweb.com@RobDiVincenzo - #WCNC2014

Page 39: One and Done Updates with Custom Post Types

Short code example:

[gallery id=23]

pointtopoint.com – ignitedweb.com@RobDiVincenzo - #WCNC2014

Page 40: One and Done Updates with Custom Post Types

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