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
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
EMこそClaude Codeでコード調査しよう
shibayu36
0
290
Le côté obscur des IA génératives
pascallemerrer
0
150
AI駆動で0→1をやって見えた光と伸びしろ
passion0102
1
710
kiroとCodexで最高のSpec駆動開発を!!数時間で web3ネイティブなミニゲームを作ってみたよ!
mashharuki
0
810
登壇は dynamic! な営みである / speech is dynamic
da1chi
0
350
20251016_Rails News ~Rails 8.1の足音を聴く~
morimorihoge
2
650
ALL CODE BASE ARE BELONG TO STUDY
uzulla
26
6.6k
なぜGoのジェネリクスはこの形なのか? - Featherweight Goが明かす設計の核心
qualiarts
0
210
テーブル定義書の構造化抽出して、生成AIでDWH分析を試してみた / devio2025tokyo
kasacchiful
0
240
Claude CodeによるAI駆動開発の実践 〜そこから見えてきたこれからのプログラミング〜
iriikeita
0
310
他言語経験者が Golangci-lint を最初のコーディングメンターにした話 / How Golangci-lint Became My First Coding Mentor: A Story from a Polyglot Programmer
uma31
0
320
Cursorハンズオン実践!
eltociear
2
1.2k
Featured
See All Featured
Optimising Largest Contentful Paint
csswizardry
37
3.5k
The World Runs on Bad Software
bkeepers
PRO
72
11k
Responsive Adventures: Dirty Tricks From The Dark Corners of Front-End
smashingmag
253
22k
Side Projects
sachag
455
43k
The Language of Interfaces
destraynor
162
25k
Java REST API Framework Comparison - PWX 2021
mraible
34
8.9k
Build The Right Thing And Hit Your Dates
maggiecrowley
37
2.9k
Learning to Love Humans: Emotional Interface Design
aarron
274
41k
Writing Fast Ruby
sferik
629
62k
Performance Is Good for Brains [We Love Speed 2024]
tammyeverts
12
1.2k
The Myth of the Modular Monolith - Day 2 Keynote - Rails World 2024
eileencodes
26
3.1k
BBQ
matthewcrist
89
9.8k
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?