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
45
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
go test -json そして testing.T.Attr / Kyoto.go #63
utgwkk
3
310
FindyにおけるTakumi活用と脆弱性管理のこれから
rvirus0817
0
530
Ruby×iOSアプリ開発 ~共に歩んだエコシステムの物語~
temoki
0
340
パッケージ設計の黒魔術/Kyoto.go#63
lufia
3
440
旅行プランAIエージェント開発の裏側
ippo012
2
920
Navigating Dependency Injection with Metro
zacsweers
3
2.5k
個人軟體時代
ethanhuang13
0
330
実用的なGOCACHEPROG実装をするために / golang.tokyo #40
mazrean
1
290
MCPとデザインシステムに立脚したデザインと実装の融合
yukukotani
4
1.4k
1から理解するWeb Push
dora1998
7
1.9k
HTMLの品質ってなんだっけ? “HTMLクライテリア”の設計と実践
unachang113
4
2.9k
AI時代のUIはどこへ行く?
yusukebe
18
9k
Featured
See All Featured
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
46
7.6k
Site-Speed That Sticks
csswizardry
10
820
Context Engineering - Making Every Token Count
addyosmani
3
55
The Web Performance Landscape in 2024 [PerfNow 2024]
tammyeverts
9
810
GitHub's CSS Performance
jonrohan
1032
460k
ピンチをチャンスに:未来をつくるプロダクトロードマップ #pmconf2020
aki_iinuma
127
53k
Responsive Adventures: Dirty Tricks From The Dark Corners of Front-End
smashingmag
252
21k
Easily Structure & Communicate Ideas using Wireframe
afnizarnur
194
16k
How To Stay Up To Date on Web Technology
chriscoyier
790
250k
Building Applications with DynamoDB
mza
96
6.6k
Designing Dashboards & Data Visualisations in Web Apps
destraynor
231
53k
Making the Leap to Tech Lead
cromwellryan
135
9.5k
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?