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
WordPress Greek Community - Workshop @ TEI Thes...
Search
WordPress Greek Community
PRO
September 18, 2015
Technology
820
1
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
WordPress Greek Community - Workshop @ TEI Thessaly - Custom Post Types and Taxonomies - Takis Bouyouris
WordPress Greek Community
PRO
September 18, 2015
More Decks by WordPress Greek Community
See All by WordPress Greek Community
Filippos Karailanidis - Beyond ChatGPT: AI Toolkit for the WordPress Developer
wpgr
PRO
0
45
Orestis Samaras - Modern WordPress Development with Composer
wpgr
PRO
0
32
Eleni Tsertou - Ταχύτερο website με Persistent Object Cache: Μύθος ή Αλήθεια;
wpgr
PRO
0
34
George Korakas - WordPress Security 2025: From Real Threats to Practical Defenses
wpgr
PRO
0
44
Δημήτρης Καρβούνης - Πέρα από το Admin Panel: Πώς να μιλήσεις στο WordPress σαν Developer μέσω REST API
wpgr
PRO
0
28
Αναστασία Αδαμούδη - Δημιουργία σύνθετου μενού πλοήγησης σε block θέματα
wpgr
PRO
0
21
Νίκος Μαυράκης - Κοστολογώντας τη δημιουργικότητα
wpgr
PRO
0
42
Jovana Smoljanovic Tucakov - AI vs. Human Content: What Works, What Backfires, and What’s Next
wpgr
PRO
0
41
Λεωνίδας Μηλώσης - Optimize – optimize – optimize: Caring for performance of your WordPress plugin or website
wpgr
PRO
0
35
Other Decks in Technology
See All in Technology
Genie Ontologyは銀の弾丸かを考える / Is Genie Ontology a Silver Bullet?
nttcom
0
410
AI x 開発生産性を取り巻く予算戦略と投資対効果
i35_267
1
170
AmplifyHostingConstructからSSRフレームワークのためのホスティング設計を考察する/amplify-hosting-construct
fossamagna
1
250
最適な自走を最小限の支援で — M&Aで拡大する組織で少人数SREが挑んだ1年 / SRE NEXT 2026
genda
0
1.5k
ファミコンでPHPを動かす / PHP on the Famicom
tomzoh
2
450
【Claude Code】鹿野さんに聞く 私の推しの並行開発環境 大公開 / claude-code-parallel-2026-07-15
tonkotsuboy_com
12
8.7k
あなたの『Site』はどこですか? — xREという考え方
miyamu
0
1.2k
Compose 新機能総まとめ / What's New in Jetpack Compose
yanzm
0
320
Gen3R: 3D Scene Generation Meets Feed-Forward Reconstruction
spatial_ai_network
0
140
ボーイスカウトルールでメモリやスキルを改善しよう
azukiazusa1
4
1.5k
生成AI×AWS CDK×AWS FISで"振り返れる"ミニGameDayをつくろう
yoshimi0227
1
420
インシデント事例と パッケージの全量解析に学ぶ ソフトウェアサプライチェーンの守り方 / supply-chain-attack-defense
flatt_security
0
120
Featured
See All Featured
How To Speak Unicorn (iThemes Webinar)
marktimemedia
1
510
ラッコキーワード サービス紹介資料
rakko
1
3.9M
Agile Leadership in an Agile Organization
kimpetersen
PRO
0
190
Build your cross-platform service in a week with App Engine
jlugia
234
18k
We Are The Robots
honzajavorek
0
280
Performance Is Good for Brains [We Love Speed 2024]
tammyeverts
12
1.7k
The Curse of the Amulet
leimatthew05
2
13k
Art, The Web, and Tiny UX
lynnandtonic
304
22k
Deep Space Network (abreviated)
tonyrice
0
230
10 Git Anti Patterns You Should be Aware of
lemiorhan
PRO
659
62k
Leveraging Curiosity to Care for An Aging Population
cassininazir
1
390
4 Signs Your Business is Dying
shpigford
187
22k
Transcript
Custom Post Types and Taxonomies Takis Bouyouris Web Developer @
Nevma WordPress Greek Community Workshop @ TEI Thessaly Larissa – Sat. 11/07/2015
Nice to meet you My name is Takis Bouyouris web
developer @ Nevma
My goal today Help you understand what custom post types
and taxonomies are and motivate you to use them
What is WordPress?
None
WordPress A blog engine, a CMS, or an application platform?
Well, it's all of the above! But how did this
come to be? Some history...
Oh, nooo, not history!
WordPress v.1 - 2004
WordPress v.2 – 2005/6
WordPress v.2.5 - 2008
WordPress v.3.0 - 2010
WordPress v.4.0 - 2014
WordPress evolution not just design-wise
WordPress has evolved into a full featured CMS and an
application platform
Since v.3 WordPress supports Custom post types Custom taxonomies
Custom post types are like posts and pages Custom taxonomies
are like categories and tags
So, we 've got posts, pages, categories and tags and
... more posts, more pages, more categories and more tags?
That all?
No! What you have is an extensible data structure functionality.
Extensible data structures!
Extensible data structures that are simple and accessible!
Custom post types Create a new area of special pages
and name it what you like/need
Custom taxonomies Create a new ways to categorise the post
types you manage
Example 1 a video club Custom post type => movie
Custom taxonomies => category, studio, country
Example 2 a house broker Custom post type => house
Custom taxonomies => house type, area, usage
Example 3 corporate website common patterns Pages => corporate info
Posts => news/blog
Example 3 (cont'd) Custom post type => projects Custom taxonomies
=> project category, project area
Example 3 (cont'd) Pages => Home page Profile Products Contact
etc
Example 3 (cont'd) Posts (news) => Our new website online
Summer sales this week Latest products Fiscal report 2015 etc
Example 3 (cont'd) Custom Post Type Projects => Sportswear eshop
Insurance company website Corporate website etc
Example 3 (cont'd) Custom Taxonomies Project category => website, eshop,
design, etc Project area => Athens, Larissa, Veroia, etc
Let's make a custom post type from scratch
OMG, he's gonna show code now!
None
OK, that was code!
None
The important bits name taxonomies hierarchical capability
Let's make a custom taxonomy from scratch
OMG somebody stop him!
None
Yeap, that was code again!
None
The important bits name post_types hierarchical
Relax! There are tools to generate this code "Generate WP"
http://generatewp.com
None
There are plugins with a UI "GD Custom Post Types
and Taxonomies Tools" https://wordpress.org/plugins/gd-taxonomies-tools/
None
So, not so bad after all...
Custom post types and taxonomies are great, but we also
need the templates to show them Meet the "template hierarchy" https://developer.wordpress.org/themes/basics/template-hierarchy/
"Template hierarchy" The WordPress way to define which PHP template
will be chosen to handle each user request. Necessary for theming.
Template hierarchy
Let's zoom in a bit
Theme PHP files
Check it out interactively with http://wphierarchy.com/
To sum up Custom post types are extensible data structures
(the WordPress way) and custom taxonomies are new ways to categorise them
None
WordPress Greek Community Facebook https://facebook.com/groups/WordPressGreekCommunity/ Twitter https://twitter.com/wordpressgrcomm/ Website http://www.wpgc.gr/ http://www.wpgreece.org/
Thank you for listening!
Questions?
Takis Bouyouris, Nevma
[email protected]
https://www.facebook.com/takis.bouyouris https://www.linkedin.com/in/takisbouyouris Sorry and thank you
SNL :-)