SlideShare a Scribd company logo
1 of 11
Download to read offline
Dan Beil | @add_action_dan | Alley Interactive | @alleydev
Beyond the Post
Pushing the limits of Custom Post Types
Alley Interactive
WordCamp Miami 2015
Dan Beil | @add_action_dan | Alley Interactive | @alleydev
Hi, Im Dan Beil
- Software Developer at Alley Interactive
- (WordPress VIP Partner, i.e. We make really big sites)
- Working with WordPress for ~ 5-6 years
- B.S. in Applied Sociology
- Dogs
http://bit.ly/wcmiami-2015-cpt
Dan Beil | @add_action_dan | Alley Interactive | @alleydev
Why This Talk?
- Any CMS is about organizing
information
- CMS should Allow Devs to
make decisions about
organization of info
Plugins / Code Examples:
- Meteor Slides
- https://wordpress.
org/plugins/meteor-
slides/developers/
- Custom Stuff
- https://github.
com/dannyb195/wcmiami201
5
Dan Beil | @add_action_dan | Alley Interactive | @alleydev
Why Use CPTs / Meta Data
- They are already available
to us
- Again, Allow Devs to make
decisions on Information
Architecture
Dan Beil | @add_action_dan | Alley Interactive | @alleydev
Meteor Slides ( Josh Leuze )
- https://wordpress.
org/plugins/meteor-slides/
- The Basics
- register_post_type();
- register_taxonomy();
- add_meta_box(); - for slide link
- Shortcode / template tag for
display
Dan Beil | @add_action_dan | Alley Interactive | @alleydev
Choose Your Meta Weapon Wisely
Is it a simple text field
Yes
Code it yourself
No
Do you code
Yes No
Fieldmanager
https://github.com/alleyinteractive/wordpress-fieldmanager
CMB2
https://github.com/WebDevStudios/CMB2
ACF
( may still require
coding )
Dan Beil | @add_action_dan | Alley Interactive | @alleydev
Advanced Example
The client needs a mega menu
where they have the option of:
- manually selecting posts
- curate by multiple tags /
categories
- these selections should be
reflect on landing page
Dan Beil | @add_action_dan | Alley Interactive | @alleydev
Frontend Menu
Dan Beil | @add_action_dan | Alley Interactive | @alleydev
single.php CPT
Meta
$post_meta = get_post_meta(
get_the_ID(), 'section_options', true );
echo '<pre>';
print_r( $post_meta );
echo '</pre>';
Dan Beil | @add_action_dan | Alley Interactive | @alleydev
Let look at some Meta Boxes, and
code if we have time
https://github.com/dannyb195/wcmiami2015
Dan Beil | @add_action_dan | Alley Interactive | @alleydev
Thank You!
Slides - http://bit.ly/wcmiami-2015-cpt
@add_action_dan
Alley Interactive is Hiring!

More Related Content

Viewers also liked

Algunos Tics de enseñanza
Algunos Tics de enseñanzaAlgunos Tics de enseñanza
Algunos Tics de enseñanza_darwinh
 
Life cycle of a star!!!!
Life cycle of a star!!!!Life cycle of a star!!!!
Life cycle of a star!!!!Judy Leonard
 
How NOT to Develop ( With WordPress ) - Wcchi 2014
How NOT to Develop ( With WordPress ) - Wcchi 2014How NOT to Develop ( With WordPress ) - Wcchi 2014
How NOT to Develop ( With WordPress ) - Wcchi 2014Dan Beil
 
France met
France metFrance met
France metMonee25
 
1 2011 technical regulations 10-12-2010
1 2011 technical regulations 10-12-20101 2011 technical regulations 10-12-2010
1 2011 technical regulations 10-12-2010lukatak
 
Acer c300 tmc300sg
Acer c300 tmc300sgAcer c300 tmc300sg
Acer c300 tmc300sglukatak
 

Viewers also liked (7)

Algunos Tics de enseñanza
Algunos Tics de enseñanzaAlgunos Tics de enseñanza
Algunos Tics de enseñanza
 
Life cycle of a star!!!!
Life cycle of a star!!!!Life cycle of a star!!!!
Life cycle of a star!!!!
 
How NOT to Develop ( With WordPress ) - Wcchi 2014
How NOT to Develop ( With WordPress ) - Wcchi 2014How NOT to Develop ( With WordPress ) - Wcchi 2014
How NOT to Develop ( With WordPress ) - Wcchi 2014
 
beimni
beimnibeimni
beimni
 
France met
France metFrance met
France met
 
1 2011 technical regulations 10-12-2010
1 2011 technical regulations 10-12-20101 2011 technical regulations 10-12-2010
1 2011 technical regulations 10-12-2010
 
Acer c300 tmc300sg
Acer c300 tmc300sgAcer c300 tmc300sg
Acer c300 tmc300sg
 

Similar to Beyond the post wcmiami 2015

Advanced meta data and you wcmpls 2015
Advanced meta data and you  wcmpls 2015Advanced meta data and you  wcmpls 2015
Advanced meta data and you wcmpls 2015Dan Beil
 
"Paragraphs are more powerful than you can expect" from Vasily Jaremchuk for ...
"Paragraphs are more powerful than you can expect" from Vasily Jaremchuk for ..."Paragraphs are more powerful than you can expect" from Vasily Jaremchuk for ...
"Paragraphs are more powerful than you can expect" from Vasily Jaremchuk for ...DrupalCamp Kyiv
 
apidays Paris 2019 - API Adoption via A Code Playground by S Adeel Ali, APIMatic
apidays Paris 2019 - API Adoption via A Code Playground by S Adeel Ali, APIMaticapidays Paris 2019 - API Adoption via A Code Playground by S Adeel Ali, APIMatic
apidays Paris 2019 - API Adoption via A Code Playground by S Adeel Ali, APIMaticapidays
 
Model Driven Architectures
Model Driven ArchitecturesModel Driven Architectures
Model Driven ArchitecturesLalit Kale
 
Bridging the Gap: Single-Page Apps and AEM
Bridging the Gap: Single-Page Apps and AEMBridging the Gap: Single-Page Apps and AEM
Bridging the Gap: Single-Page Apps and AEMrbl002
 
Zimmertwins Presentation
Zimmertwins PresentationZimmertwins Presentation
Zimmertwins PresentationAshok Modi
 
ChatGPT and Beyond - Elevating DevOps Productivity
ChatGPT and Beyond - Elevating DevOps ProductivityChatGPT and Beyond - Elevating DevOps Productivity
ChatGPT and Beyond - Elevating DevOps ProductivityVictorSzoltysek
 
Maintaining Shared Models among Rails Projects through Gems
Maintaining Shared Models among Rails Projects through GemsMaintaining Shared Models among Rails Projects through Gems
Maintaining Shared Models among Rails Projects through GemsAdler Hsieh
 
IT230-Assignment 1 Solved.pdf
IT230-Assignment 1 Solved.pdfIT230-Assignment 1 Solved.pdf
IT230-Assignment 1 Solved.pdfDark179280
 
MongoDB.local Atlanta: MongoDB Stitch Tutorial
MongoDB.local Atlanta: MongoDB Stitch TutorialMongoDB.local Atlanta: MongoDB Stitch Tutorial
MongoDB.local Atlanta: MongoDB Stitch TutorialMongoDB
 
Serverless projects at Myplanet
Serverless projects at MyplanetServerless projects at Myplanet
Serverless projects at MyplanetDaniel Zivkovic
 
SAPTechED 2015 UX114 -Building custom SAP Fiori Apps Using SAP Web IDE
SAPTechED 2015 UX114 -Building custom SAP Fiori Apps Using SAP Web IDESAPTechED 2015 UX114 -Building custom SAP Fiori Apps Using SAP Web IDE
SAPTechED 2015 UX114 -Building custom SAP Fiori Apps Using SAP Web IDEMarkus Van Kempen
 
Web Developer Roadmap 2014 by Brennan Heyde
Web Developer Roadmap 2014 by Brennan HeydeWeb Developer Roadmap 2014 by Brennan Heyde
Web Developer Roadmap 2014 by Brennan HeydeMiva
 
Leveraging API Docs and Tools at Mercedes-Benz /developers
Leveraging API Docs and Tools at Mercedes-Benz /developersLeveraging API Docs and Tools at Mercedes-Benz /developers
Leveraging API Docs and Tools at Mercedes-Benz /developersPronovix
 
Leveraging customer feedback - Diederik Martens - Chapmanbright - Adobe Summi...
Leveraging customer feedback - Diederik Martens - Chapmanbright - Adobe Summi...Leveraging customer feedback - Diederik Martens - Chapmanbright - Adobe Summi...
Leveraging customer feedback - Diederik Martens - Chapmanbright - Adobe Summi...Marketo
 
Leveraging customer feedback - Diederik Martens - Chapmanbright - Adobe Summi...
Leveraging customer feedback - Diederik Martens - Chapmanbright - Adobe Summi...Leveraging customer feedback - Diederik Martens - Chapmanbright - Adobe Summi...
Leveraging customer feedback - Diederik Martens - Chapmanbright - Adobe Summi...Nathalie Biernacki Ferguson
 
Moving away from legacy code with BDD
Moving away from legacy code with BDDMoving away from legacy code with BDD
Moving away from legacy code with BDDKonstantin Kudryashov
 

Similar to Beyond the post wcmiami 2015 (20)

Advanced meta data and you wcmpls 2015
Advanced meta data and you  wcmpls 2015Advanced meta data and you  wcmpls 2015
Advanced meta data and you wcmpls 2015
 
"Paragraphs are more powerful than you can expect" from Vasily Jaremchuk for ...
"Paragraphs are more powerful than you can expect" from Vasily Jaremchuk for ..."Paragraphs are more powerful than you can expect" from Vasily Jaremchuk for ...
"Paragraphs are more powerful than you can expect" from Vasily Jaremchuk for ...
 
apidays Paris 2019 - API Adoption via A Code Playground by S Adeel Ali, APIMatic
apidays Paris 2019 - API Adoption via A Code Playground by S Adeel Ali, APIMaticapidays Paris 2019 - API Adoption via A Code Playground by S Adeel Ali, APIMatic
apidays Paris 2019 - API Adoption via A Code Playground by S Adeel Ali, APIMatic
 
Model Driven Architectures
Model Driven ArchitecturesModel Driven Architectures
Model Driven Architectures
 
Bridging the Gap: Single-Page Apps and AEM
Bridging the Gap: Single-Page Apps and AEMBridging the Gap: Single-Page Apps and AEM
Bridging the Gap: Single-Page Apps and AEM
 
ABP.pptx
ABP.pptxABP.pptx
ABP.pptx
 
Zimmertwins Presentation
Zimmertwins PresentationZimmertwins Presentation
Zimmertwins Presentation
 
WordCamp Sofia 2012
WordCamp Sofia 2012WordCamp Sofia 2012
WordCamp Sofia 2012
 
DIWD 2011
DIWD 2011DIWD 2011
DIWD 2011
 
ChatGPT and Beyond - Elevating DevOps Productivity
ChatGPT and Beyond - Elevating DevOps ProductivityChatGPT and Beyond - Elevating DevOps Productivity
ChatGPT and Beyond - Elevating DevOps Productivity
 
Maintaining Shared Models among Rails Projects through Gems
Maintaining Shared Models among Rails Projects through GemsMaintaining Shared Models among Rails Projects through Gems
Maintaining Shared Models among Rails Projects through Gems
 
IT230-Assignment 1 Solved.pdf
IT230-Assignment 1 Solved.pdfIT230-Assignment 1 Solved.pdf
IT230-Assignment 1 Solved.pdf
 
MongoDB.local Atlanta: MongoDB Stitch Tutorial
MongoDB.local Atlanta: MongoDB Stitch TutorialMongoDB.local Atlanta: MongoDB Stitch Tutorial
MongoDB.local Atlanta: MongoDB Stitch Tutorial
 
Serverless projects at Myplanet
Serverless projects at MyplanetServerless projects at Myplanet
Serverless projects at Myplanet
 
SAPTechED 2015 UX114 -Building custom SAP Fiori Apps Using SAP Web IDE
SAPTechED 2015 UX114 -Building custom SAP Fiori Apps Using SAP Web IDESAPTechED 2015 UX114 -Building custom SAP Fiori Apps Using SAP Web IDE
SAPTechED 2015 UX114 -Building custom SAP Fiori Apps Using SAP Web IDE
 
Web Developer Roadmap 2014 by Brennan Heyde
Web Developer Roadmap 2014 by Brennan HeydeWeb Developer Roadmap 2014 by Brennan Heyde
Web Developer Roadmap 2014 by Brennan Heyde
 
Leveraging API Docs and Tools at Mercedes-Benz /developers
Leveraging API Docs and Tools at Mercedes-Benz /developersLeveraging API Docs and Tools at Mercedes-Benz /developers
Leveraging API Docs and Tools at Mercedes-Benz /developers
 
Leveraging customer feedback - Diederik Martens - Chapmanbright - Adobe Summi...
Leveraging customer feedback - Diederik Martens - Chapmanbright - Adobe Summi...Leveraging customer feedback - Diederik Martens - Chapmanbright - Adobe Summi...
Leveraging customer feedback - Diederik Martens - Chapmanbright - Adobe Summi...
 
Leveraging customer feedback - Diederik Martens - Chapmanbright - Adobe Summi...
Leveraging customer feedback - Diederik Martens - Chapmanbright - Adobe Summi...Leveraging customer feedback - Diederik Martens - Chapmanbright - Adobe Summi...
Leveraging customer feedback - Diederik Martens - Chapmanbright - Adobe Summi...
 
Moving away from legacy code with BDD
Moving away from legacy code with BDDMoving away from legacy code with BDD
Moving away from legacy code with BDD
 

Recently uploaded

一比一原版(Exon毕业证书)英国埃克塞特大学毕业证如何办理
一比一原版(Exon毕业证书)英国埃克塞特大学毕业证如何办理一比一原版(Exon毕业证书)英国埃克塞特大学毕业证如何办理
一比一原版(Exon毕业证书)英国埃克塞特大学毕业证如何办理gfhdsfr
 
Free on Wednesdays T Shirts Free on Wednesdays Sweatshirts
Free on Wednesdays T Shirts Free on Wednesdays SweatshirtsFree on Wednesdays T Shirts Free on Wednesdays Sweatshirts
Free on Wednesdays T Shirts Free on Wednesdays Sweatshirtsrahman018755
 
原版定制(爱大毕业证书)英国爱丁堡大学毕业证原件一模一样
原版定制(爱大毕业证书)英国爱丁堡大学毕业证原件一模一样原版定制(爱大毕业证书)英国爱丁堡大学毕业证原件一模一样
原版定制(爱大毕业证书)英国爱丁堡大学毕业证原件一模一样gfhdsfr
 
Thank You Luv I’ll Never Walk Alone Again T shirts
Thank You Luv I’ll Never Walk Alone Again T shirtsThank You Luv I’ll Never Walk Alone Again T shirts
Thank You Luv I’ll Never Walk Alone Again T shirtsrahman018755
 
Free scottie t shirts Free scottie t shirts
Free scottie t shirts Free scottie t shirtsFree scottie t shirts Free scottie t shirts
Free scottie t shirts Free scottie t shirtsrahman018755
 
一比一原版布兰迪斯大学毕业证如何办理
一比一原版布兰迪斯大学毕业证如何办理一比一原版布兰迪斯大学毕业证如何办理
一比一原版布兰迪斯大学毕业证如何办理A
 
原版定制(PSU毕业证书)美国宾州州立大学毕业证原件一模一样
原版定制(PSU毕业证书)美国宾州州立大学毕业证原件一模一样原版定制(PSU毕业证书)美国宾州州立大学毕业证原件一模一样
原版定制(PSU毕业证书)美国宾州州立大学毕业证原件一模一样rgdasda
 
一比一原版(Design毕业证书)新加坡科技设计大学毕业证原件一模一样
一比一原版(Design毕业证书)新加坡科技设计大学毕业证原件一模一样一比一原版(Design毕业证书)新加坡科技设计大学毕业证原件一模一样
一比一原版(Design毕业证书)新加坡科技设计大学毕业证原件一模一样AS
 
Statistical Analysis of DNS Latencies.pdf
Statistical Analysis of DNS Latencies.pdfStatistical Analysis of DNS Latencies.pdf
Statistical Analysis of DNS Latencies.pdfOndejSur
 
一比一原版(Soton毕业证书)南安普顿大学毕业证原件一模一样
一比一原版(Soton毕业证书)南安普顿大学毕业证原件一模一样一比一原版(Soton毕业证书)南安普顿大学毕业证原件一模一样
一比一原版(Soton毕业证书)南安普顿大学毕业证原件一模一样Fi
 
一比一原版(Bath毕业证书)英国桑德兰大学毕业证如何办理
一比一原版(Bath毕业证书)英国桑德兰大学毕业证如何办理一比一原版(Bath毕业证书)英国桑德兰大学毕业证如何办理
一比一原版(Bath毕业证书)英国桑德兰大学毕业证如何办理B
 
APNIC Updates presented by Paul Wilson at CaribNOG 27
APNIC Updates presented by Paul Wilson at  CaribNOG 27APNIC Updates presented by Paul Wilson at  CaribNOG 27
APNIC Updates presented by Paul Wilson at CaribNOG 27APNIC
 
一比一原版(TRU毕业证书)温哥华社区学院毕业证如何办理
一比一原版(TRU毕业证书)温哥华社区学院毕业证如何办理一比一原版(TRU毕业证书)温哥华社区学院毕业证如何办理
一比一原版(TRU毕业证书)温哥华社区学院毕业证如何办理Fir
 
SOC Analyst Guide For Beginners SOC analysts work as members of a managed sec...
SOC Analyst Guide For Beginners SOC analysts work as members of a managed sec...SOC Analyst Guide For Beginners SOC analysts work as members of a managed sec...
SOC Analyst Guide For Beginners SOC analysts work as members of a managed sec...Varun Mithran
 
一比一原版(毕业证书)新加坡南洋理工学院毕业证原件一模一样
一比一原版(毕业证书)新加坡南洋理工学院毕业证原件一模一样一比一原版(毕业证书)新加坡南洋理工学院毕业证原件一模一样
一比一原版(毕业证书)新加坡南洋理工学院毕业证原件一模一样AS
 
一比一原版(Polytechnic毕业证书)新加坡理工学院毕业证原件一模一样
一比一原版(Polytechnic毕业证书)新加坡理工学院毕业证原件一模一样一比一原版(Polytechnic毕业证书)新加坡理工学院毕业证原件一模一样
一比一原版(Polytechnic毕业证书)新加坡理工学院毕业证原件一模一样AS
 
TORTOGEL TELAH MENJADI SALAH SATU PLATFORM PERMAINAN PALING FAVORIT.
TORTOGEL TELAH MENJADI SALAH SATU PLATFORM PERMAINAN PALING FAVORIT.TORTOGEL TELAH MENJADI SALAH SATU PLATFORM PERMAINAN PALING FAVORIT.
TORTOGEL TELAH MENJADI SALAH SATU PLATFORM PERMAINAN PALING FAVORIT.Tortogel
 
原版定制美国加州大学河滨分校毕业证原件一模一样
原版定制美国加州大学河滨分校毕业证原件一模一样原版定制美国加州大学河滨分校毕业证原件一模一样
原版定制美国加州大学河滨分校毕业证原件一模一样A
 
I’ll See Y’All Motherfuckers In Game 7 Shirt
I’ll See Y’All Motherfuckers In Game 7 ShirtI’ll See Y’All Motherfuckers In Game 7 Shirt
I’ll See Y’All Motherfuckers In Game 7 Shirtrahman018755
 
iThome_CYBERSEC2024_Drive_Into_the_DarkWeb
iThome_CYBERSEC2024_Drive_Into_the_DarkWebiThome_CYBERSEC2024_Drive_Into_the_DarkWeb
iThome_CYBERSEC2024_Drive_Into_the_DarkWebJie Liau
 

Recently uploaded (20)

一比一原版(Exon毕业证书)英国埃克塞特大学毕业证如何办理
一比一原版(Exon毕业证书)英国埃克塞特大学毕业证如何办理一比一原版(Exon毕业证书)英国埃克塞特大学毕业证如何办理
一比一原版(Exon毕业证书)英国埃克塞特大学毕业证如何办理
 
Free on Wednesdays T Shirts Free on Wednesdays Sweatshirts
Free on Wednesdays T Shirts Free on Wednesdays SweatshirtsFree on Wednesdays T Shirts Free on Wednesdays Sweatshirts
Free on Wednesdays T Shirts Free on Wednesdays Sweatshirts
 
原版定制(爱大毕业证书)英国爱丁堡大学毕业证原件一模一样
原版定制(爱大毕业证书)英国爱丁堡大学毕业证原件一模一样原版定制(爱大毕业证书)英国爱丁堡大学毕业证原件一模一样
原版定制(爱大毕业证书)英国爱丁堡大学毕业证原件一模一样
 
Thank You Luv I’ll Never Walk Alone Again T shirts
Thank You Luv I’ll Never Walk Alone Again T shirtsThank You Luv I’ll Never Walk Alone Again T shirts
Thank You Luv I’ll Never Walk Alone Again T shirts
 
Free scottie t shirts Free scottie t shirts
Free scottie t shirts Free scottie t shirtsFree scottie t shirts Free scottie t shirts
Free scottie t shirts Free scottie t shirts
 
一比一原版布兰迪斯大学毕业证如何办理
一比一原版布兰迪斯大学毕业证如何办理一比一原版布兰迪斯大学毕业证如何办理
一比一原版布兰迪斯大学毕业证如何办理
 
原版定制(PSU毕业证书)美国宾州州立大学毕业证原件一模一样
原版定制(PSU毕业证书)美国宾州州立大学毕业证原件一模一样原版定制(PSU毕业证书)美国宾州州立大学毕业证原件一模一样
原版定制(PSU毕业证书)美国宾州州立大学毕业证原件一模一样
 
一比一原版(Design毕业证书)新加坡科技设计大学毕业证原件一模一样
一比一原版(Design毕业证书)新加坡科技设计大学毕业证原件一模一样一比一原版(Design毕业证书)新加坡科技设计大学毕业证原件一模一样
一比一原版(Design毕业证书)新加坡科技设计大学毕业证原件一模一样
 
Statistical Analysis of DNS Latencies.pdf
Statistical Analysis of DNS Latencies.pdfStatistical Analysis of DNS Latencies.pdf
Statistical Analysis of DNS Latencies.pdf
 
一比一原版(Soton毕业证书)南安普顿大学毕业证原件一模一样
一比一原版(Soton毕业证书)南安普顿大学毕业证原件一模一样一比一原版(Soton毕业证书)南安普顿大学毕业证原件一模一样
一比一原版(Soton毕业证书)南安普顿大学毕业证原件一模一样
 
一比一原版(Bath毕业证书)英国桑德兰大学毕业证如何办理
一比一原版(Bath毕业证书)英国桑德兰大学毕业证如何办理一比一原版(Bath毕业证书)英国桑德兰大学毕业证如何办理
一比一原版(Bath毕业证书)英国桑德兰大学毕业证如何办理
 
APNIC Updates presented by Paul Wilson at CaribNOG 27
APNIC Updates presented by Paul Wilson at  CaribNOG 27APNIC Updates presented by Paul Wilson at  CaribNOG 27
APNIC Updates presented by Paul Wilson at CaribNOG 27
 
一比一原版(TRU毕业证书)温哥华社区学院毕业证如何办理
一比一原版(TRU毕业证书)温哥华社区学院毕业证如何办理一比一原版(TRU毕业证书)温哥华社区学院毕业证如何办理
一比一原版(TRU毕业证书)温哥华社区学院毕业证如何办理
 
SOC Analyst Guide For Beginners SOC analysts work as members of a managed sec...
SOC Analyst Guide For Beginners SOC analysts work as members of a managed sec...SOC Analyst Guide For Beginners SOC analysts work as members of a managed sec...
SOC Analyst Guide For Beginners SOC analysts work as members of a managed sec...
 
一比一原版(毕业证书)新加坡南洋理工学院毕业证原件一模一样
一比一原版(毕业证书)新加坡南洋理工学院毕业证原件一模一样一比一原版(毕业证书)新加坡南洋理工学院毕业证原件一模一样
一比一原版(毕业证书)新加坡南洋理工学院毕业证原件一模一样
 
一比一原版(Polytechnic毕业证书)新加坡理工学院毕业证原件一模一样
一比一原版(Polytechnic毕业证书)新加坡理工学院毕业证原件一模一样一比一原版(Polytechnic毕业证书)新加坡理工学院毕业证原件一模一样
一比一原版(Polytechnic毕业证书)新加坡理工学院毕业证原件一模一样
 
TORTOGEL TELAH MENJADI SALAH SATU PLATFORM PERMAINAN PALING FAVORIT.
TORTOGEL TELAH MENJADI SALAH SATU PLATFORM PERMAINAN PALING FAVORIT.TORTOGEL TELAH MENJADI SALAH SATU PLATFORM PERMAINAN PALING FAVORIT.
TORTOGEL TELAH MENJADI SALAH SATU PLATFORM PERMAINAN PALING FAVORIT.
 
原版定制美国加州大学河滨分校毕业证原件一模一样
原版定制美国加州大学河滨分校毕业证原件一模一样原版定制美国加州大学河滨分校毕业证原件一模一样
原版定制美国加州大学河滨分校毕业证原件一模一样
 
I’ll See Y’All Motherfuckers In Game 7 Shirt
I’ll See Y’All Motherfuckers In Game 7 ShirtI’ll See Y’All Motherfuckers In Game 7 Shirt
I’ll See Y’All Motherfuckers In Game 7 Shirt
 
iThome_CYBERSEC2024_Drive_Into_the_DarkWeb
iThome_CYBERSEC2024_Drive_Into_the_DarkWebiThome_CYBERSEC2024_Drive_Into_the_DarkWeb
iThome_CYBERSEC2024_Drive_Into_the_DarkWeb
 

Beyond the post wcmiami 2015

  • 1. Dan Beil | @add_action_dan | Alley Interactive | @alleydev Beyond the Post Pushing the limits of Custom Post Types Alley Interactive WordCamp Miami 2015
  • 2. Dan Beil | @add_action_dan | Alley Interactive | @alleydev Hi, Im Dan Beil - Software Developer at Alley Interactive - (WordPress VIP Partner, i.e. We make really big sites) - Working with WordPress for ~ 5-6 years - B.S. in Applied Sociology - Dogs http://bit.ly/wcmiami-2015-cpt
  • 3. Dan Beil | @add_action_dan | Alley Interactive | @alleydev Why This Talk? - Any CMS is about organizing information - CMS should Allow Devs to make decisions about organization of info Plugins / Code Examples: - Meteor Slides - https://wordpress. org/plugins/meteor- slides/developers/ - Custom Stuff - https://github. com/dannyb195/wcmiami201 5
  • 4. Dan Beil | @add_action_dan | Alley Interactive | @alleydev Why Use CPTs / Meta Data - They are already available to us - Again, Allow Devs to make decisions on Information Architecture
  • 5. Dan Beil | @add_action_dan | Alley Interactive | @alleydev Meteor Slides ( Josh Leuze ) - https://wordpress. org/plugins/meteor-slides/ - The Basics - register_post_type(); - register_taxonomy(); - add_meta_box(); - for slide link - Shortcode / template tag for display
  • 6. Dan Beil | @add_action_dan | Alley Interactive | @alleydev Choose Your Meta Weapon Wisely Is it a simple text field Yes Code it yourself No Do you code Yes No Fieldmanager https://github.com/alleyinteractive/wordpress-fieldmanager CMB2 https://github.com/WebDevStudios/CMB2 ACF ( may still require coding )
  • 7. Dan Beil | @add_action_dan | Alley Interactive | @alleydev Advanced Example The client needs a mega menu where they have the option of: - manually selecting posts - curate by multiple tags / categories - these selections should be reflect on landing page
  • 8. Dan Beil | @add_action_dan | Alley Interactive | @alleydev Frontend Menu
  • 9. Dan Beil | @add_action_dan | Alley Interactive | @alleydev single.php CPT Meta $post_meta = get_post_meta( get_the_ID(), 'section_options', true ); echo '<pre>'; print_r( $post_meta ); echo '</pre>';
  • 10. Dan Beil | @add_action_dan | Alley Interactive | @alleydev Let look at some Meta Boxes, and code if we have time https://github.com/dannyb195/wcmiami2015
  • 11. Dan Beil | @add_action_dan | Alley Interactive | @alleydev Thank You! Slides - http://bit.ly/wcmiami-2015-cpt @add_action_dan Alley Interactive is Hiring!