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
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
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
なるべく楽してバックエンドに型をつけたい!(楽とは言ってない)
hibiki_cube
0
140
AI & Enginnering
codelynx
0
110
Apache Iceberg V3 and migration to V3
tomtanaka
0
160
Automatic Grammar Agreementと Markdown Extended Attributes について
kishikawakatsumi
0
180
MUSUBIXとは
nahisaho
0
130
組織で育むオブザーバビリティ
ryota_hnk
0
170
CSC307 Lecture 07
javiergs
PRO
0
550
OCaml 5でモダンな並列プログラミングを Enjoyしよう!
haochenx
0
140
React 19でつくる「気持ちいいUI」- 楽観的UIのすすめ
himorishige
11
7.3k
AI前提で考えるiOSアプリのモダナイズ設計
yuukiw00w
0
220
humanlayerのブログから学ぶ、良いCLAUDE.mdの書き方
tsukamoto1783
0
190
15年続くIoTサービスのSREエンジニアが挑む分散トレーシング導入
melonps
2
190
Featured
See All Featured
Highjacked: Video Game Concept Design
rkendrick25
PRO
1
280
The Illustrated Guide to Node.js - THAT Conference 2024
reverentgeek
0
250
The B2B funnel & how to create a winning content strategy
katarinadahlin
PRO
0
270
Building Adaptive Systems
keathley
44
2.9k
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
31
2.7k
CSS Pre-Processors: Stylus, Less & Sass
bermonpainter
359
30k
A Soul's Torment
seathinner
5
2.2k
Principles of Awesome APIs and How to Build Them.
keavy
128
17k
Designing for Performance
lara
610
70k
State of Search Keynote: SEO is Dead Long Live SEO
ryanjones
0
110
It's Worth the Effort
3n
188
29k
Building Applications with DynamoDB
mza
96
6.9k
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?