the 3cs of wordpress

23
The 3Cs of WordPress @davidscotttu fts davidscotttuf ts.com A Custom Trifecta

Upload: david-tufts

Post on 27-Jan-2015

117 views

Category:

Technology


3 download

DESCRIPTION

In this advanced development session we will review how to create structured data for your WordPress website by using Custom Post Types, Custom Taxonomies, and Custom Fields.

TRANSCRIPT

Page 1: The 3Cs of WordPress

The 3Cs of WordPress

@davidscotttuftsdavidscotttufts.com

A Custom Trifecta

Page 2: The 3Cs of WordPress

About Me• Born and raised in Brazil• Live in Grand Rapids, Michigan• 1 beautiful wife• 6 great kids (5 boys and 1 girl)• Co-founder at Rocketwood• Web Producer at RBC Ministries• Developing KickPress, a WordPress plugin

Page 3: The 3Cs of WordPress

The Sweet Smell of Success

Graph by Francesco Schwarz

After 2 years with WordPress on odb.org• From 2.1 million to 5 million page views per month

• From 0 to 140,000 subscribers to daily email

•Over 50% increase in web donations

•Over 110,000 mobile app sales

•Over 140,000 Facebook fans

• 40% less hardware

• 30% savings

Page 4: The 3Cs of WordPress

WordPress Powers 16.7% of the Web

Page 5: The 3Cs of WordPress

WordPress Evolution

1. Blog2. Multi-User3. CMS4. What’s next?

Illustration by Rob Green

Page 6: The 3Cs of WordPress

State of the Word 2012

Slide from Matt Mullenweg’s presentation

Page 7: The 3Cs of WordPress

What’s Next for WordPress

• Web App Engine?• Enterprise Grade Systems?• Public Facing APIs with

OAuth Integration?

Structured Data

Page 8: The 3Cs of WordPress

The Building Blocks for Structured Data

• Custom Post Types• Custom Taxonomies• Custom Fields

Page 9: The 3Cs of WordPress

What about Post Formats?

Page 10: The 3Cs of WordPress

Custom Post Types

Custom Post Type management• Maintain custom post types in

the functions.php file?• Create a unique plugin for your

site’s custom post types?• Use a third-party custom post

type plugin?

Photo by Brad Coy

Page 11: The 3Cs of WordPress

Advanced custom post type management

Page 12: The 3Cs of WordPress

Post• ID• post_author• post_date• post_content• post_title• post_excerpt• post_status• post_content• post_type• Etc.

Post Meta• meta_id• post_id• meta_key• meta_value

Terms• term_id• name• slug• term_group

Term Taxonomy• term_taxonomy_id• term_id• taxonomy• description• parent• count

Term Relationships• object_id• term_taxonomy_id• term_order

WordPress Database Structure

Page 13: The 3Cs of WordPress

People• ID• first_name• last_name• email_address• home_phone• cell_phone• birthday• Etc.

The Illusion of Structure

Hobbies• ID• name• description

People Hobbies• people_id• hobbies_id

CustomPost Type

Custom Fields

CustomTaxonomy

Page 14: The 3Cs of WordPress

Custom Post Type Options

Do it yourself:http://codex.wordpress.org/custom_post_typeshttp://justintadlock.com/archives/2010/04/29/custom-post-types-in-wordpress

Get a plugin:http://wordpress.org/extend/plugins/tags/custom-post-types

Page 15: The 3Cs of WordPress

Custom Fields - Good

Page 17: The 3Cs of WordPress

Custom Fields - Best

Page 18: The 3Cs of WordPress

Advanced roles and capabilities for managing user permissions

Page 19: The 3Cs of WordPress

Popular Web Apps

Page 20: The 3Cs of WordPress

Features of Web Apps Offer a service Safe-keeping of your

personal data Access to your personal

data through an API Roles and permissions

for controlled and/or restricted access

Page 21: The 3Cs of WordPress

With no API, users are limited in how the can access their data

Illustration by Eric Tufts

Page 22: The 3Cs of WordPress

Separating contentfrom presentation

Illustration by Eric Tufts

Page 23: The 3Cs of WordPress

Illustration by Eric Tufts