Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
WP Content Types
Search
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
Jake Chamberlain
June 03, 2014
Programming
0
46
WP Content Types
Types of structured content in wordpress
Jake Chamberlain
June 03, 2014
Tweet
Share
More Decks by Jake Chamberlain
See All by Jake Chamberlain
WP Security
jchamb
2
100
Other Decks in Programming
See All in Programming
15年続くIoTサービスのSREエンジニアが挑む分散トレーシング導入
melonps
2
170
[KNOTS 2026登壇資料]AIで拡張‧交差する プロダクト開発のプロセス および携わるメンバーの役割
hisatake
0
250
CSC307 Lecture 08
javiergs
PRO
0
670
FOSDEM 2026: STUNMESH-go: Building P2P WireGuard Mesh Without Self-Hosted Infrastructure
tjjh89017
0
150
KIKI_MBSD Cybersecurity Challenges 2025
ikema
0
1.3k
Automatic Grammar Agreementと Markdown Extended Attributes について
kishikawakatsumi
0
180
LLM Observabilityによる 対話型音声AIアプリケーションの安定運用
gekko0114
2
420
Apache Iceberg V3 and migration to V3
tomtanaka
0
150
AIと一緒にレガシーに向き合ってみた
nyafunta9858
0
170
AIエージェントのキホンから学ぶ「エージェンティックコーディング」実践入門
masahiro_nishimi
4
320
Basic Architectures
denyspoltorak
0
660
AI巻き込み型コードレビューのススメ
nealle
0
120
Featured
See All Featured
Pawsitive SEO: Lessons from My Dog (and Many Mistakes) on Thriving as a Consultant in the Age of AI
davidcarrasco
0
62
The Limits of Empathy - UXLibs8
cassininazir
1
210
ピンチをチャンスに:未来をつくるプロダクトロードマップ #pmconf2020
aki_iinuma
128
55k
CoffeeScript is Beautiful & I Never Want to Write Plain JavaScript Again
sstephenson
162
16k
How to audit for AI Accessibility on your Front & Back End
davetheseo
0
180
The untapped power of vector embeddings
frankvandijk
1
1.6k
Agile that works and the tools we love
rasmusluckow
331
21k
Visualizing Your Data: Incorporating Mongo into Loggly Infrastructure
mongodb
49
9.8k
Practical Orchestrator
shlominoach
191
11k
The browser strikes back
jonoalderson
0
360
How to make the Groovebox
asonas
2
1.9k
Principles of Awesome APIs and How to Build Them.
keavy
128
17k
Transcript
Content Types Structured Content in Wordpress
3 Major Types of Data • “Post” Types - Content
types. Base building block • Taxonomies - Categorization • Metadata - extra data for objects
Post Types Default types: • Post • Page • Attachment
(media) • Revision • Navigation menu • Post types are the base building blocks. • Typically have a URL. • Two different kinds
Post Types: 2 Kinds Page (Hierarchical)! • Relationships (Parent
- Child) • Template options • Pseudo Static Post (Non-hierarchical)! • Categorized (taxonomies) • Part of a bigger group (Archives) • Single “entries” • Common to have comments
Page (Hierarchical) Post
Taxonomies Default types: • Category • Tags • Grouping mechanism
• The taxonomy is the descriptor of the groups • Like post types two different kinds • Each “group” is called a term
Taxonomies: 2 Kinds Hierarchical! • Relationships (Parent - Child)
Non-hierarchical! • Tag Based
Metadata • Adds extra information to objects • Adds extra
structure • Keeps wysiwyg from being yucky. • Basically everything in has its own form of metadata • 3 Major Classification
Metadata Classifications 1. Options 2. Custom Fields 3. Custom Types
None
Metadata: Options Used as preferences or to fill in information
that is consistent across pages and posts Common Use Cases:! • Settings Menu • Theme Options • Editable Logos
Metadata: Custom Fields Metadata to create structure. Information that belongs
to “something” • Can be one-off or separated into groupings with metaboxes • Use to help make complex information easily editable
Metadata: Custom • Not used much any more. • Developer
focused
So what’s next?
How to Integrate Part 2: We’ll cover plugins to make
integration easy. Custom Post Type UI https://wordpress.org/plugins/custom-post-type-ui/ Advanced Custom Fields https://wordpress.org/plugins/advanced-custom- fields/
Questions?