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.
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
The 3Cs of WordPress
1. The 3Cs of WordPress
A Custom Trifecta
@davidscotttufts
davidscotttufts.com
2. 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
3. The Sweet Smell of Success
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
Graph by Francesco Schwarz
10. 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?
Custom Post Types
Photo by Brad Coy
12. Post Terms Term Relationships
• ID • term_id • object_id
• post_author • name • term_taxonomy_id
• post_date • slug • term_order
• post_content • term_group
• post_title
• post_excerpt
• post_status
• post_content
• post_type
Term Taxonomy
• Etc. • term_taxonomy_id
• term_id
• taxonomy
• description
Post Meta • parent
• count
• meta_id
• post_id
• meta_key
• meta_value
WordPress Database Structure
13. Custom Custom
Post Type Taxonomy
People People Hobbies Hobbies
• ID • people_id • ID
• first_name • hobbies_id • name
• last_name • description
• email_address
• home_phone
• cell_phone Custom Fields
• birthday
• Etc.
The Illusion of Structure
14. Custom Post Type Options
Do it yourself:
http://codex.wordpress.org/custom_post_types
http://justintadlock.com/archives/2010/04/29/custom-
post-types-in-wordpress
Get a plugin:
http://wordpress.org/extend/plugins/tags/custom-
post-types
20. 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
21. With no API, users are limited in
how the can access their data
Illustration by Eric Tufts