SlideShare a Scribd company logo
1 of 66
TAMING YOUR CONTENT
with CUSTOM POST TYPES o
META FIELDS
@CAROLYNLYN
SITE
OWNER
MARKETER
OCCASIONAL
FOOD BLOGGER
!=
DESIGNER
!=
DEVELOPER
==
TINKERER
CUSTOM POST TYPES O
FIELDS
watz dat den?
CUSTOM POST TYPES O FIELDS
CUSTOM POST TYPES O FIELDS
START AS YOU
MEAN TO
GO ON
START AS YOU
MEAN TO
GO ON
or LAUNCH
QUICK AND
FIX IT LATER
TO PLUGIN
or
NOT TO PLUGIN
NO PLUGIN
too hardcore
ADVANCED CUSTOM
FIELDS PLUGIN
overkill (for us)
CUSTOM META BOXES
PLUGIN
and the shoe fits!
https://github.com/humanmade/Custom-Meta-Boxes
CUSTOM POST TYPES from the off
• Bingo Reviews
• Treehouse Blog
• But few custom fields
• None in the reviews
THIS WAS OUR REVIEW owch my eyes!
CREATING a custom post type
http://www.stuckinthetree.co.uk/dev-blog/getting-started-with-wordpress-custom-post-types-and-fields/
https://codex.wordpress.org/Function_Reference/register_post_type
CREATING a custom taxonomy
CREATING custom fields O meta boxes
DISPLAYING FIELD DATA
TAMING
our
BINGO SITE REVIEWS
the
ADMIN MENU
ICONS
https://developer.wordpress.org/resource/dashicons
MENU POSITION
ADMIN MENU EDITOR PLUGIN
• Easily order, hide, add new menu items & add icons to the menu.
https://wordpress.org/plugins/admin-menu-editor/
TIDYING UP
the
EDITOR
CUSTOM FIELDS what a mess
WHAT ABOUT all this stuff
AND all this stuff
UNCHECK in screen options pane
OR USE a few lines of code
hides the fields it doesn’t remove support for it.
OR USE a few lines of code
You can even make this only for non-admins
https://codex.wordpress.org/Function_Reference/remove_meta_box
REMOVING the featured image
• Can’t be removed as specified in codex
REMOVING the featured image
• So we removed thumbnail support
ORDERING METABOXES in editor
$context $priority
advanced
default
high
low
core
normal
default
high
low
core
side
default
high
low
core
Positions are relative
Only 12 positions
In case of tie is alphanumeric
DISPLAYING field helpers
BASIC 12 COLUMN GRID – from this
BASIC 12 COLUMN GRID – to this
LET’S CLEAN IT UP SOME MORE
CUSTOM FIELDS
inside
CUSTOM FIELDS
SO WHAT IF the bonus value changes?
http://www.stuckinthetree.co.uk/dev-blog/custom-fields-within-custom-fields-shortcodes/
CREATE O whitelist your shortcode
WRAP FIELDS with do_shortcode
• E.g. in our single-bingo-sites.php
REGEX PARSES STRING O triggers shortcode
CROSS
PROMOTION
ADS
CROSS PROMOTION post type
CROSS PROMOTION post type
CROSS PROMOTION post type
CUSTOMISE
your
ALL POSTS SCREEN
BEFORE customisation
AFTER customisation
CAN HIDE COLUMNS with screen options
ADD COLUMN HEADINGS
http://www.stuckinthetree.co.uk/dev-blog/how-to-customise-the-all-posts-or-custom-post-type-screen-in-wordpress/
DISPLAYING THE CONTENT
MAKE YOUR COLUMNS SORTABLE
THE DASHBOARD
“THE DASHBOARD IS
THE MOST USEFUL
SCREEN IN THE
WORDPRESS ADMIN”
Said No One Ever.
HOW TO REDIRECT ON LOGIN
to post edit screen
WHAT ELSE
can
CUSTOM POSTS / FIELDS DO?
WE LIKE fun and games
WE LIKE fun and games
• Archive template
• Displaying custom posts
• Each with own post meta
http://www.stuckinthetree.co.uk/bake-off-bingo-generator/
THANK YOU
V
S@carolynlyn
P http://www.stuckinthetree.co.uk/dev-blog/

More Related Content

What's hot

SEO para WordPress - 12 años de experiencias | Daniel Peris
SEO para WordPress - 12 años de experiencias | Daniel PerisSEO para WordPress - 12 años de experiencias | Daniel Peris
SEO para WordPress - 12 años de experiencias | Daniel PerisSiteGround España
 
The Features of Highly Effective Forms [An Event Apart Nashville 2016]
The Features of Highly Effective Forms [An Event Apart Nashville 2016]The Features of Highly Effective Forms [An Event Apart Nashville 2016]
The Features of Highly Effective Forms [An Event Apart Nashville 2016]Aaron Gustafson
 
Le Wagon - UI components design
Le Wagon - UI components designLe Wagon - UI components design
Le Wagon - UI components designBoris Paillard
 
Falling in Love with Forms [Microsoft Edge Web Summit 2015]
Falling in Love with Forms [Microsoft Edge Web Summit 2015]Falling in Love with Forms [Microsoft Edge Web Summit 2015]
Falling in Love with Forms [Microsoft Edge Web Summit 2015]Aaron Gustafson
 
Design Swoon - Visual Trends & WordPress
Design Swoon - Visual Trends  & WordPressDesign Swoon - Visual Trends  & WordPress
Design Swoon - Visual Trends & WordPressSara Cannon
 
Chapter 3 class power point
Chapter 3 class power pointChapter 3 class power point
Chapter 3 class power pointcmurphysvhs
 
Learning by Doing: 10 Lessons in Pushing your WordPress Development Skills
Learning by Doing: 10 Lessons in Pushing your WordPress Development SkillsLearning by Doing: 10 Lessons in Pushing your WordPress Development Skills
Learning by Doing: 10 Lessons in Pushing your WordPress Development SkillsSarah Moyer
 
Spsbe using js-linkanddisplaytemplates
Spsbe   using js-linkanddisplaytemplatesSpsbe   using js-linkanddisplaytemplates
Spsbe using js-linkanddisplaytemplatesPaul Hunt
 
WordPress SEO Revisited by Lou Anne McKeefery of Be Found
WordPress SEO Revisited by Lou Anne McKeefery of Be FoundWordPress SEO Revisited by Lou Anne McKeefery of Be Found
WordPress SEO Revisited by Lou Anne McKeefery of Be FoundEast Bay WordPress Meetup
 
Web Typography Tips
Web Typography TipsWeb Typography Tips
Web Typography TipsSara Cannon
 

What's hot (18)

SEO para WordPress - 12 años de experiencias | Daniel Peris
SEO para WordPress - 12 años de experiencias | Daniel PerisSEO para WordPress - 12 años de experiencias | Daniel Peris
SEO para WordPress - 12 años de experiencias | Daniel Peris
 
The Features of Highly Effective Forms [An Event Apart Nashville 2016]
The Features of Highly Effective Forms [An Event Apart Nashville 2016]The Features of Highly Effective Forms [An Event Apart Nashville 2016]
The Features of Highly Effective Forms [An Event Apart Nashville 2016]
 
Le Wagon - UI components design
Le Wagon - UI components designLe Wagon - UI components design
Le Wagon - UI components design
 
Falling in Love with Forms [Microsoft Edge Web Summit 2015]
Falling in Love with Forms [Microsoft Edge Web Summit 2015]Falling in Love with Forms [Microsoft Edge Web Summit 2015]
Falling in Love with Forms [Microsoft Edge Web Summit 2015]
 
Design Swoon - Visual Trends & WordPress
Design Swoon - Visual Trends  & WordPressDesign Swoon - Visual Trends  & WordPress
Design Swoon - Visual Trends & WordPress
 
Chapter 3 class power point
Chapter 3 class power pointChapter 3 class power point
Chapter 3 class power point
 
Learning by Doing: 10 Lessons in Pushing your WordPress Development Skills
Learning by Doing: 10 Lessons in Pushing your WordPress Development SkillsLearning by Doing: 10 Lessons in Pushing your WordPress Development Skills
Learning by Doing: 10 Lessons in Pushing your WordPress Development Skills
 
Avada kedavra!
Avada kedavra!Avada kedavra!
Avada kedavra!
 
Wd hw 1
Wd hw 1Wd hw 1
Wd hw 1
 
Weniger schlecht-css-schreiben
Weniger schlecht-css-schreibenWeniger schlecht-css-schreiben
Weniger schlecht-css-schreiben
 
Drag and-Drop WordPress Themes
Drag and-Drop WordPress ThemesDrag and-Drop WordPress Themes
Drag and-Drop WordPress Themes
 
Le Wagon - 2h Landing
Le Wagon - 2h LandingLe Wagon - 2h Landing
Le Wagon - 2h Landing
 
Spsbe using js-linkanddisplaytemplates
Spsbe   using js-linkanddisplaytemplatesSpsbe   using js-linkanddisplaytemplates
Spsbe using js-linkanddisplaytemplates
 
Design a landing page
Design a landing pageDesign a landing page
Design a landing page
 
Cat stand up </div>
Cat stand up </div>Cat stand up </div>
Cat stand up </div>
 
WordPress SEO Revisited by Lou Anne McKeefery of Be Found
WordPress SEO Revisited by Lou Anne McKeefery of Be FoundWordPress SEO Revisited by Lou Anne McKeefery of Be Found
WordPress SEO Revisited by Lou Anne McKeefery of Be Found
 
Replicated website link mlm software
Replicated website link   mlm softwareReplicated website link   mlm software
Replicated website link mlm software
 
Web Typography Tips
Web Typography TipsWeb Typography Tips
Web Typography Tips
 

Viewers also liked

WordCamp Nashville 2016 "Imposter Syndrome'
WordCamp Nashville 2016   "Imposter Syndrome'WordCamp Nashville 2016   "Imposter Syndrome'
WordCamp Nashville 2016 "Imposter Syndrome'Beth Downey
 
How WordPress Changed My Life! - Ricky Blacker
How WordPress Changed My Life! - Ricky BlackerHow WordPress Changed My Life! - Ricky Blacker
How WordPress Changed My Life! - Ricky BlackerWordCamp Sydney
 
The Child Theme Dilemma (EN) - Milano Edition
The Child Theme Dilemma (EN) - Milano EditionThe Child Theme Dilemma (EN) - Milano Edition
The Child Theme Dilemma (EN) - Milano EditionTorsten Landsiedel
 
WordPress Development with VVV, VV, and Vagrant
WordPress Development with VVV, VV, and VagrantWordPress Development with VVV, VV, and Vagrant
WordPress Development with VVV, VV, and VagrantMitch Canter
 
What is the Responsibility of Plugin Developers?
What is the Responsibility of Plugin Developers?What is the Responsibility of Plugin Developers?
What is the Responsibility of Plugin Developers?Takayuki Miyoshi
 
WordCamp Nashville 2016: The promise and peril of Agile and Lean practices
WordCamp Nashville 2016: The promise and peril of Agile and Lean practicesWordCamp Nashville 2016: The promise and peril of Agile and Lean practices
WordCamp Nashville 2016: The promise and peril of Agile and Lean practicesmtoppa
 
WP-CLI: WordCamp Nashville 2016
WP-CLI: WordCamp Nashville 2016WP-CLI: WordCamp Nashville 2016
WP-CLI: WordCamp Nashville 2016Terell Moore
 
WordCamp Nashville 2016 Pamela Coyle/Content Connects
WordCamp Nashville 2016 Pamela Coyle/Content ConnectsWordCamp Nashville 2016 Pamela Coyle/Content Connects
WordCamp Nashville 2016 Pamela Coyle/Content ConnectsContent Connects, Nashville
 
WordCamp Nashville 2016 - In Case of Zombies
WordCamp Nashville 2016 - In Case of ZombiesWordCamp Nashville 2016 - In Case of Zombies
WordCamp Nashville 2016 - In Case of ZombiesKate Newbill
 
10 Things I Wish I'd Known About Freelancing
10 Things I Wish I'd Known About Freelancing10 Things I Wish I'd Known About Freelancing
10 Things I Wish I'd Known About FreelancingNathan Ingram
 
Nürnberg WordPress Meetup - Custom Post Types mit PODS.io
Nürnberg WordPress Meetup - Custom Post Types mit PODS.ioNürnberg WordPress Meetup - Custom Post Types mit PODS.io
Nürnberg WordPress Meetup - Custom Post Types mit PODS.iofrankstaude
 
Shortcodes In-Depth
Shortcodes In-DepthShortcodes In-Depth
Shortcodes In-DepthMicah Wood
 
WordCamp Manchester 2016 - Making WordPress Menus Smarter
WordCamp Manchester 2016 - Making WordPress Menus SmarterWordCamp Manchester 2016 - Making WordPress Menus Smarter
WordCamp Manchester 2016 - Making WordPress Menus SmarterJonny Allbut
 
WordCamp Nashville 2016
WordCamp Nashville 2016WordCamp Nashville 2016
WordCamp Nashville 2016Bobby Bryant
 
The power of a video library
The power of a video libraryThe power of a video library
The power of a video libraryLauren Jeffcoat
 
State of the Word 2013
State of the Word 2013State of the Word 2013
State of the Word 2013photomatt
 
The Pitfalls of Working from Home and How to Avoid Them
The Pitfalls of Working from Home and How to Avoid ThemThe Pitfalls of Working from Home and How to Avoid Them
The Pitfalls of Working from Home and How to Avoid ThemAdam W. Warner
 
State of the Word 2016
State of the Word 2016State of the Word 2016
State of the Word 2016photomatt
 
Creating a WordPress Website that Works from the Start
Creating a WordPress Website that Works from the StartCreating a WordPress Website that Works from the Start
Creating a WordPress Website that Works from the StartNile Flores
 
Decisions, Not Options
Decisions, Not OptionsDecisions, Not Options
Decisions, Not OptionsCarrie Dils
 

Viewers also liked (20)

WordCamp Nashville 2016 "Imposter Syndrome'
WordCamp Nashville 2016   "Imposter Syndrome'WordCamp Nashville 2016   "Imposter Syndrome'
WordCamp Nashville 2016 "Imposter Syndrome'
 
How WordPress Changed My Life! - Ricky Blacker
How WordPress Changed My Life! - Ricky BlackerHow WordPress Changed My Life! - Ricky Blacker
How WordPress Changed My Life! - Ricky Blacker
 
The Child Theme Dilemma (EN) - Milano Edition
The Child Theme Dilemma (EN) - Milano EditionThe Child Theme Dilemma (EN) - Milano Edition
The Child Theme Dilemma (EN) - Milano Edition
 
WordPress Development with VVV, VV, and Vagrant
WordPress Development with VVV, VV, and VagrantWordPress Development with VVV, VV, and Vagrant
WordPress Development with VVV, VV, and Vagrant
 
What is the Responsibility of Plugin Developers?
What is the Responsibility of Plugin Developers?What is the Responsibility of Plugin Developers?
What is the Responsibility of Plugin Developers?
 
WordCamp Nashville 2016: The promise and peril of Agile and Lean practices
WordCamp Nashville 2016: The promise and peril of Agile and Lean practicesWordCamp Nashville 2016: The promise and peril of Agile and Lean practices
WordCamp Nashville 2016: The promise and peril of Agile and Lean practices
 
WP-CLI: WordCamp Nashville 2016
WP-CLI: WordCamp Nashville 2016WP-CLI: WordCamp Nashville 2016
WP-CLI: WordCamp Nashville 2016
 
WordCamp Nashville 2016 Pamela Coyle/Content Connects
WordCamp Nashville 2016 Pamela Coyle/Content ConnectsWordCamp Nashville 2016 Pamela Coyle/Content Connects
WordCamp Nashville 2016 Pamela Coyle/Content Connects
 
WordCamp Nashville 2016 - In Case of Zombies
WordCamp Nashville 2016 - In Case of ZombiesWordCamp Nashville 2016 - In Case of Zombies
WordCamp Nashville 2016 - In Case of Zombies
 
10 Things I Wish I'd Known About Freelancing
10 Things I Wish I'd Known About Freelancing10 Things I Wish I'd Known About Freelancing
10 Things I Wish I'd Known About Freelancing
 
Nürnberg WordPress Meetup - Custom Post Types mit PODS.io
Nürnberg WordPress Meetup - Custom Post Types mit PODS.ioNürnberg WordPress Meetup - Custom Post Types mit PODS.io
Nürnberg WordPress Meetup - Custom Post Types mit PODS.io
 
Shortcodes In-Depth
Shortcodes In-DepthShortcodes In-Depth
Shortcodes In-Depth
 
WordCamp Manchester 2016 - Making WordPress Menus Smarter
WordCamp Manchester 2016 - Making WordPress Menus SmarterWordCamp Manchester 2016 - Making WordPress Menus Smarter
WordCamp Manchester 2016 - Making WordPress Menus Smarter
 
WordCamp Nashville 2016
WordCamp Nashville 2016WordCamp Nashville 2016
WordCamp Nashville 2016
 
The power of a video library
The power of a video libraryThe power of a video library
The power of a video library
 
State of the Word 2013
State of the Word 2013State of the Word 2013
State of the Word 2013
 
The Pitfalls of Working from Home and How to Avoid Them
The Pitfalls of Working from Home and How to Avoid ThemThe Pitfalls of Working from Home and How to Avoid Them
The Pitfalls of Working from Home and How to Avoid Them
 
State of the Word 2016
State of the Word 2016State of the Word 2016
State of the Word 2016
 
Creating a WordPress Website that Works from the Start
Creating a WordPress Website that Works from the StartCreating a WordPress Website that Works from the Start
Creating a WordPress Website that Works from the Start
 
Decisions, Not Options
Decisions, Not OptionsDecisions, Not Options
Decisions, Not Options
 

Similar to Taming your content with custom post types and fields

WordPress Custom Fields: Control your content presentation by breaking out of...
WordPress Custom Fields: Control your content presentation by breaking out of...WordPress Custom Fields: Control your content presentation by breaking out of...
WordPress Custom Fields: Control your content presentation by breaking out of...Denise Williams
 
SUGUK Cambridge - Display Templates & JSLink for IT Pros
SUGUK Cambridge - Display Templates & JSLink for IT ProsSUGUK Cambridge - Display Templates & JSLink for IT Pros
SUGUK Cambridge - Display Templates & JSLink for IT ProsPaul Hunt
 
Choose Your Own Adventure: SEO For Web Developers | Unified Diff
Choose Your Own Adventure: SEO For Web Developers | Unified DiffChoose Your Own Adventure: SEO For Web Developers | Unified Diff
Choose Your Own Adventure: SEO For Web Developers | Unified DiffSteve Morgan
 
WordPress A CMS for Beginners, Geeks and Those In-Between
WordPress A CMS for Beginners, Geeks and Those In-BetweenWordPress A CMS for Beginners, Geeks and Those In-Between
WordPress A CMS for Beginners, Geeks and Those In-BetweenHeidi Cool
 
SharePoint Saturday Belgium 2014 - Using JSLink and Display Templates with th...
SharePoint Saturday Belgium 2014 - Using JSLink and Display Templates with th...SharePoint Saturday Belgium 2014 - Using JSLink and Display Templates with th...
SharePoint Saturday Belgium 2014 - Using JSLink and Display Templates with th...BIWUG
 
Using WordPress as a website (not a blog)
Using WordPress as a website (not a blog)Using WordPress as a website (not a blog)
Using WordPress as a website (not a blog)Sara Rosso
 
Moving from Wordpress.com to Wordpress.org - Wordcamp Toronto 2011
Moving from Wordpress.com to Wordpress.org - Wordcamp Toronto 2011Moving from Wordpress.com to Wordpress.org - Wordcamp Toronto 2011
Moving from Wordpress.com to Wordpress.org - Wordcamp Toronto 2011Georgiana Laudi
 
Wordpress seo tips e briks infotech
Wordpress seo tips   e briks infotechWordpress seo tips   e briks infotech
Wordpress seo tips e briks infotechsudhir pandey
 
SEO Social Blog: Wordpress SEO with Joost de Valk
SEO Social Blog:  Wordpress SEO with Joost de ValkSEO Social Blog:  Wordpress SEO with Joost de Valk
SEO Social Blog: Wordpress SEO with Joost de ValkSEO Social Blog
 
WordPress: A Designer's CMS
WordPress: A Designer's CMSWordPress: A Designer's CMS
WordPress: A Designer's CMSChelsea Otakan
 
JSLink for ITPros - SharePoint Saturday Jersey
JSLink for ITPros - SharePoint Saturday JerseyJSLink for ITPros - SharePoint Saturday Jersey
JSLink for ITPros - SharePoint Saturday JerseyPaul Hunt
 
WordPress SEO & Optimisation
WordPress SEO & OptimisationWordPress SEO & Optimisation
WordPress SEO & OptimisationJoost de Valk
 
WordPress
WordPressWordPress
WordPressrisager
 
SEO Table Stakes - Clarity 14
SEO Table Stakes - Clarity 14SEO Table Stakes - Clarity 14
SEO Table Stakes - Clarity 14Keith Goode
 
#11NTC We Are Media: Blogging - Wordpress guidebook 2011
#11NTC We Are Media: Blogging - Wordpress guidebook 2011#11NTC We Are Media: Blogging - Wordpress guidebook 2011
#11NTC We Are Media: Blogging - Wordpress guidebook 2011Dawn Crawford
 
Blogging 101 march 2013
Blogging 101   march 2013Blogging 101   march 2013
Blogging 101 march 2013Weam El-Awar
 
SPSSTHLM - Using JSLink and Display Templates for ITPros
SPSSTHLM - Using JSLink and Display Templates for ITProsSPSSTHLM - Using JSLink and Display Templates for ITPros
SPSSTHLM - Using JSLink and Display Templates for ITProsPaul Hunt
 
Atomic Design - An Event Apart San Diego
Atomic Design - An Event Apart San DiegoAtomic Design - An Event Apart San Diego
Atomic Design - An Event Apart San DiegoBrad Frost
 
Using WordPress Blogging Features to Build a Website
Using WordPress Blogging Features to Build a WebsiteUsing WordPress Blogging Features to Build a Website
Using WordPress Blogging Features to Build a WebsiteEileen Weinberg
 

Similar to Taming your content with custom post types and fields (20)

WordPress Custom Fields: Control your content presentation by breaking out of...
WordPress Custom Fields: Control your content presentation by breaking out of...WordPress Custom Fields: Control your content presentation by breaking out of...
WordPress Custom Fields: Control your content presentation by breaking out of...
 
SUGUK Cambridge - Display Templates & JSLink for IT Pros
SUGUK Cambridge - Display Templates & JSLink for IT ProsSUGUK Cambridge - Display Templates & JSLink for IT Pros
SUGUK Cambridge - Display Templates & JSLink for IT Pros
 
Choose Your Own Adventure: SEO For Web Developers | Unified Diff
Choose Your Own Adventure: SEO For Web Developers | Unified DiffChoose Your Own Adventure: SEO For Web Developers | Unified Diff
Choose Your Own Adventure: SEO For Web Developers | Unified Diff
 
WordPress A CMS for Beginners, Geeks and Those In-Between
WordPress A CMS for Beginners, Geeks and Those In-BetweenWordPress A CMS for Beginners, Geeks and Those In-Between
WordPress A CMS for Beginners, Geeks and Those In-Between
 
SharePoint Saturday Belgium 2014 - Using JSLink and Display Templates with th...
SharePoint Saturday Belgium 2014 - Using JSLink and Display Templates with th...SharePoint Saturday Belgium 2014 - Using JSLink and Display Templates with th...
SharePoint Saturday Belgium 2014 - Using JSLink and Display Templates with th...
 
Using WordPress as a website (not a blog)
Using WordPress as a website (not a blog)Using WordPress as a website (not a blog)
Using WordPress as a website (not a blog)
 
Moving from Wordpress.com to Wordpress.org - Wordcamp Toronto 2011
Moving from Wordpress.com to Wordpress.org - Wordcamp Toronto 2011Moving from Wordpress.com to Wordpress.org - Wordcamp Toronto 2011
Moving from Wordpress.com to Wordpress.org - Wordcamp Toronto 2011
 
Wordpress seo tips e briks infotech
Wordpress seo tips   e briks infotechWordpress seo tips   e briks infotech
Wordpress seo tips e briks infotech
 
SEO Social Blog: Wordpress SEO with Joost de Valk
SEO Social Blog:  Wordpress SEO with Joost de ValkSEO Social Blog:  Wordpress SEO with Joost de Valk
SEO Social Blog: Wordpress SEO with Joost de Valk
 
SEO Quick Wins: The Small Things that Make The Big Differences
SEO Quick Wins: The Small Things that Make The Big DifferencesSEO Quick Wins: The Small Things that Make The Big Differences
SEO Quick Wins: The Small Things that Make The Big Differences
 
WordPress: A Designer's CMS
WordPress: A Designer's CMSWordPress: A Designer's CMS
WordPress: A Designer's CMS
 
JSLink for ITPros - SharePoint Saturday Jersey
JSLink for ITPros - SharePoint Saturday JerseyJSLink for ITPros - SharePoint Saturday Jersey
JSLink for ITPros - SharePoint Saturday Jersey
 
WordPress SEO & Optimisation
WordPress SEO & OptimisationWordPress SEO & Optimisation
WordPress SEO & Optimisation
 
WordPress
WordPressWordPress
WordPress
 
SEO Table Stakes - Clarity 14
SEO Table Stakes - Clarity 14SEO Table Stakes - Clarity 14
SEO Table Stakes - Clarity 14
 
#11NTC We Are Media: Blogging - Wordpress guidebook 2011
#11NTC We Are Media: Blogging - Wordpress guidebook 2011#11NTC We Are Media: Blogging - Wordpress guidebook 2011
#11NTC We Are Media: Blogging - Wordpress guidebook 2011
 
Blogging 101 march 2013
Blogging 101   march 2013Blogging 101   march 2013
Blogging 101 march 2013
 
SPSSTHLM - Using JSLink and Display Templates for ITPros
SPSSTHLM - Using JSLink and Display Templates for ITProsSPSSTHLM - Using JSLink and Display Templates for ITPros
SPSSTHLM - Using JSLink and Display Templates for ITPros
 
Atomic Design - An Event Apart San Diego
Atomic Design - An Event Apart San DiegoAtomic Design - An Event Apart San Diego
Atomic Design - An Event Apart San Diego
 
Using WordPress Blogging Features to Build a Website
Using WordPress Blogging Features to Build a WebsiteUsing WordPress Blogging Features to Build a Website
Using WordPress Blogging Features to Build a Website
 

Recently uploaded

Moving Beyond Twitter/X and Facebook - Social Media for local news providers
Moving Beyond Twitter/X and Facebook - Social Media for local news providersMoving Beyond Twitter/X and Facebook - Social Media for local news providers
Moving Beyond Twitter/X and Facebook - Social Media for local news providersDamian Radcliffe
 
₹5.5k {Cash Payment}New Friends Colony Call Girls In [Delhi NIHARIKA] 🔝|97111...
₹5.5k {Cash Payment}New Friends Colony Call Girls In [Delhi NIHARIKA] 🔝|97111...₹5.5k {Cash Payment}New Friends Colony Call Girls In [Delhi NIHARIKA] 🔝|97111...
₹5.5k {Cash Payment}New Friends Colony Call Girls In [Delhi NIHARIKA] 🔝|97111...Diya Sharma
 
Call Girls Dubai Prolapsed O525547819 Call Girls In Dubai Princes$
Call Girls Dubai Prolapsed O525547819 Call Girls In Dubai Princes$Call Girls Dubai Prolapsed O525547819 Call Girls In Dubai Princes$
Call Girls Dubai Prolapsed O525547819 Call Girls In Dubai Princes$kojalkojal131
 
Radiant Call girls in Dubai O56338O268 Dubai Call girls
Radiant Call girls in Dubai O56338O268 Dubai Call girlsRadiant Call girls in Dubai O56338O268 Dubai Call girls
Radiant Call girls in Dubai O56338O268 Dubai Call girlsstephieert
 
Delhi Call Girls Rohini 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
Delhi Call Girls Rohini 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip CallDelhi Call Girls Rohini 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
Delhi Call Girls Rohini 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Callshivangimorya083
 
VIP Kolkata Call Girls Salt Lake 8250192130 Available With Room
VIP Kolkata Call Girls Salt Lake 8250192130 Available With RoomVIP Kolkata Call Girls Salt Lake 8250192130 Available With Room
VIP Kolkata Call Girls Salt Lake 8250192130 Available With Roomgirls4nights
 
FULL ENJOY Call Girls In Mayur Vihar Delhi Contact Us 8377087607
FULL ENJOY Call Girls In Mayur Vihar Delhi Contact Us 8377087607FULL ENJOY Call Girls In Mayur Vihar Delhi Contact Us 8377087607
FULL ENJOY Call Girls In Mayur Vihar Delhi Contact Us 8377087607dollysharma2066
 
Call Girls In Mumbai Central Mumbai ❤️ 9920874524 👈 Cash on Delivery
Call Girls In Mumbai Central Mumbai ❤️ 9920874524 👈 Cash on DeliveryCall Girls In Mumbai Central Mumbai ❤️ 9920874524 👈 Cash on Delivery
Call Girls In Mumbai Central Mumbai ❤️ 9920874524 👈 Cash on Deliverybabeytanya
 
10.pdfMature Call girls in Dubai +971563133746 Dubai Call girls
10.pdfMature Call girls in Dubai +971563133746 Dubai Call girls10.pdfMature Call girls in Dubai +971563133746 Dubai Call girls
10.pdfMature Call girls in Dubai +971563133746 Dubai Call girlsstephieert
 
Call Girls in Uttam Nagar Delhi 💯Call Us 🔝8264348440🔝
Call Girls in Uttam Nagar Delhi 💯Call Us 🔝8264348440🔝Call Girls in Uttam Nagar Delhi 💯Call Us 🔝8264348440🔝
Call Girls in Uttam Nagar Delhi 💯Call Us 🔝8264348440🔝soniya singh
 
Call Girls South Delhi Delhi reach out to us at ☎ 9711199012
Call Girls South Delhi Delhi reach out to us at ☎ 9711199012Call Girls South Delhi Delhi reach out to us at ☎ 9711199012
Call Girls South Delhi Delhi reach out to us at ☎ 9711199012rehmti665
 
'Future Evolution of the Internet' delivered by Geoff Huston at Everything Op...
'Future Evolution of the Internet' delivered by Geoff Huston at Everything Op...'Future Evolution of the Internet' delivered by Geoff Huston at Everything Op...
'Future Evolution of the Internet' delivered by Geoff Huston at Everything Op...APNIC
 
Chennai Call Girls Alwarpet Phone 🍆 8250192130 👅 celebrity escorts service
Chennai Call Girls Alwarpet Phone 🍆 8250192130 👅 celebrity escorts serviceChennai Call Girls Alwarpet Phone 🍆 8250192130 👅 celebrity escorts service
Chennai Call Girls Alwarpet Phone 🍆 8250192130 👅 celebrity escorts servicevipmodelshub1
 
Call Girls In Saket Delhi 💯Call Us 🔝8264348440🔝
Call Girls In Saket Delhi 💯Call Us 🔝8264348440🔝Call Girls In Saket Delhi 💯Call Us 🔝8264348440🔝
Call Girls In Saket Delhi 💯Call Us 🔝8264348440🔝soniya singh
 
Low Rate Young Call Girls in Sector 63 Mamura Noida ✔️☆9289244007✔️☆ Female E...
Low Rate Young Call Girls in Sector 63 Mamura Noida ✔️☆9289244007✔️☆ Female E...Low Rate Young Call Girls in Sector 63 Mamura Noida ✔️☆9289244007✔️☆ Female E...
Low Rate Young Call Girls in Sector 63 Mamura Noida ✔️☆9289244007✔️☆ Female E...SofiyaSharma5
 
Russian Call Girls in Kolkata Samaira 🤌 8250192130 🚀 Vip Call Girls Kolkata
Russian Call Girls in Kolkata Samaira 🤌  8250192130 🚀 Vip Call Girls KolkataRussian Call Girls in Kolkata Samaira 🤌  8250192130 🚀 Vip Call Girls Kolkata
Russian Call Girls in Kolkata Samaira 🤌 8250192130 🚀 Vip Call Girls Kolkataanamikaraghav4
 
Russian Call Girls in Kolkata Ishita 🤌 8250192130 🚀 Vip Call Girls Kolkata
Russian Call Girls in Kolkata Ishita 🤌  8250192130 🚀 Vip Call Girls KolkataRussian Call Girls in Kolkata Ishita 🤌  8250192130 🚀 Vip Call Girls Kolkata
Russian Call Girls in Kolkata Ishita 🤌 8250192130 🚀 Vip Call Girls Kolkataanamikaraghav4
 
How is AI changing journalism? (v. April 2024)
How is AI changing journalism? (v. April 2024)How is AI changing journalism? (v. April 2024)
How is AI changing journalism? (v. April 2024)Damian Radcliffe
 

Recently uploaded (20)

Moving Beyond Twitter/X and Facebook - Social Media for local news providers
Moving Beyond Twitter/X and Facebook - Social Media for local news providersMoving Beyond Twitter/X and Facebook - Social Media for local news providers
Moving Beyond Twitter/X and Facebook - Social Media for local news providers
 
₹5.5k {Cash Payment}New Friends Colony Call Girls In [Delhi NIHARIKA] 🔝|97111...
₹5.5k {Cash Payment}New Friends Colony Call Girls In [Delhi NIHARIKA] 🔝|97111...₹5.5k {Cash Payment}New Friends Colony Call Girls In [Delhi NIHARIKA] 🔝|97111...
₹5.5k {Cash Payment}New Friends Colony Call Girls In [Delhi NIHARIKA] 🔝|97111...
 
Call Girls Dubai Prolapsed O525547819 Call Girls In Dubai Princes$
Call Girls Dubai Prolapsed O525547819 Call Girls In Dubai Princes$Call Girls Dubai Prolapsed O525547819 Call Girls In Dubai Princes$
Call Girls Dubai Prolapsed O525547819 Call Girls In Dubai Princes$
 
Radiant Call girls in Dubai O56338O268 Dubai Call girls
Radiant Call girls in Dubai O56338O268 Dubai Call girlsRadiant Call girls in Dubai O56338O268 Dubai Call girls
Radiant Call girls in Dubai O56338O268 Dubai Call girls
 
Delhi Call Girls Rohini 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
Delhi Call Girls Rohini 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip CallDelhi Call Girls Rohini 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
Delhi Call Girls Rohini 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
 
VIP Kolkata Call Girls Salt Lake 8250192130 Available With Room
VIP Kolkata Call Girls Salt Lake 8250192130 Available With RoomVIP Kolkata Call Girls Salt Lake 8250192130 Available With Room
VIP Kolkata Call Girls Salt Lake 8250192130 Available With Room
 
FULL ENJOY Call Girls In Mayur Vihar Delhi Contact Us 8377087607
FULL ENJOY Call Girls In Mayur Vihar Delhi Contact Us 8377087607FULL ENJOY Call Girls In Mayur Vihar Delhi Contact Us 8377087607
FULL ENJOY Call Girls In Mayur Vihar Delhi Contact Us 8377087607
 
Dwarka Sector 26 Call Girls | Delhi | 9999965857 🫦 Vanshika Verma More Our Se...
Dwarka Sector 26 Call Girls | Delhi | 9999965857 🫦 Vanshika Verma More Our Se...Dwarka Sector 26 Call Girls | Delhi | 9999965857 🫦 Vanshika Verma More Our Se...
Dwarka Sector 26 Call Girls | Delhi | 9999965857 🫦 Vanshika Verma More Our Se...
 
Call Girls In Mumbai Central Mumbai ❤️ 9920874524 👈 Cash on Delivery
Call Girls In Mumbai Central Mumbai ❤️ 9920874524 👈 Cash on DeliveryCall Girls In Mumbai Central Mumbai ❤️ 9920874524 👈 Cash on Delivery
Call Girls In Mumbai Central Mumbai ❤️ 9920874524 👈 Cash on Delivery
 
10.pdfMature Call girls in Dubai +971563133746 Dubai Call girls
10.pdfMature Call girls in Dubai +971563133746 Dubai Call girls10.pdfMature Call girls in Dubai +971563133746 Dubai Call girls
10.pdfMature Call girls in Dubai +971563133746 Dubai Call girls
 
Call Girls in Uttam Nagar Delhi 💯Call Us 🔝8264348440🔝
Call Girls in Uttam Nagar Delhi 💯Call Us 🔝8264348440🔝Call Girls in Uttam Nagar Delhi 💯Call Us 🔝8264348440🔝
Call Girls in Uttam Nagar Delhi 💯Call Us 🔝8264348440🔝
 
Call Girls South Delhi Delhi reach out to us at ☎ 9711199012
Call Girls South Delhi Delhi reach out to us at ☎ 9711199012Call Girls South Delhi Delhi reach out to us at ☎ 9711199012
Call Girls South Delhi Delhi reach out to us at ☎ 9711199012
 
'Future Evolution of the Internet' delivered by Geoff Huston at Everything Op...
'Future Evolution of the Internet' delivered by Geoff Huston at Everything Op...'Future Evolution of the Internet' delivered by Geoff Huston at Everything Op...
'Future Evolution of the Internet' delivered by Geoff Huston at Everything Op...
 
Chennai Call Girls Alwarpet Phone 🍆 8250192130 👅 celebrity escorts service
Chennai Call Girls Alwarpet Phone 🍆 8250192130 👅 celebrity escorts serviceChennai Call Girls Alwarpet Phone 🍆 8250192130 👅 celebrity escorts service
Chennai Call Girls Alwarpet Phone 🍆 8250192130 👅 celebrity escorts service
 
Call Girls In Saket Delhi 💯Call Us 🔝8264348440🔝
Call Girls In Saket Delhi 💯Call Us 🔝8264348440🔝Call Girls In Saket Delhi 💯Call Us 🔝8264348440🔝
Call Girls In Saket Delhi 💯Call Us 🔝8264348440🔝
 
Low Rate Young Call Girls in Sector 63 Mamura Noida ✔️☆9289244007✔️☆ Female E...
Low Rate Young Call Girls in Sector 63 Mamura Noida ✔️☆9289244007✔️☆ Female E...Low Rate Young Call Girls in Sector 63 Mamura Noida ✔️☆9289244007✔️☆ Female E...
Low Rate Young Call Girls in Sector 63 Mamura Noida ✔️☆9289244007✔️☆ Female E...
 
Russian Call Girls in Kolkata Samaira 🤌 8250192130 🚀 Vip Call Girls Kolkata
Russian Call Girls in Kolkata Samaira 🤌  8250192130 🚀 Vip Call Girls KolkataRussian Call Girls in Kolkata Samaira 🤌  8250192130 🚀 Vip Call Girls Kolkata
Russian Call Girls in Kolkata Samaira 🤌 8250192130 🚀 Vip Call Girls Kolkata
 
Russian Call Girls in Kolkata Ishita 🤌 8250192130 🚀 Vip Call Girls Kolkata
Russian Call Girls in Kolkata Ishita 🤌  8250192130 🚀 Vip Call Girls KolkataRussian Call Girls in Kolkata Ishita 🤌  8250192130 🚀 Vip Call Girls Kolkata
Russian Call Girls in Kolkata Ishita 🤌 8250192130 🚀 Vip Call Girls Kolkata
 
How is AI changing journalism? (v. April 2024)
How is AI changing journalism? (v. April 2024)How is AI changing journalism? (v. April 2024)
How is AI changing journalism? (v. April 2024)
 
Rohini Sector 6 Call Girls Delhi 9999965857 @Sabina Saikh No Advance
Rohini Sector 6 Call Girls Delhi 9999965857 @Sabina Saikh No AdvanceRohini Sector 6 Call Girls Delhi 9999965857 @Sabina Saikh No Advance
Rohini Sector 6 Call Girls Delhi 9999965857 @Sabina Saikh No Advance
 

Taming your content with custom post types and fields

Editor's Notes

  1. This will become apparent when you see shots of my site
  2. This will become apparent when I talk about code (especially if you’re a developer)
  3. I’M HAPPY TO PLAY WITH CODE AND CROSS MY FINGERS IT DOESN’T BREAK TOO MUCH
  4. We’re going to look at one of my projects. Stuck in the Tree helps bingo players research new sites to play at before they sign up. I started Stuck in the Tree a few years ago when I was working as an SEO to test theories and tinker with things. I now use it to test out marketing ideas and learn more about WordPress and PHP I’ll take you from where I started to where custom fields etc has taken things
  5. Out of the box WordPress has post and pages, you can extend it to have any number of custom post types
  6. . Common examples would be book or movie databases, or products in an online shop. You can also create custom fields which you can see here being use for the product price, and rating. Potentially also the product description and the image. (Example Theme from https://woocommerce.com/storefront/)
  7. Most of the sections on Stuck in the Tree including are powered by WordPress Custom Post types behind the scenes. So a pretty conventional use in our bingo site reviews but also a little unusual to power some of our fun quizzes and our bingo cards.
  8. When you’re working on a project there are two main approaches
  9. We went chose to launch a minimum viable product and then do continual development. Otherwise the site would never have been launched. So we’ve learnt a lot and made a lot of changes along the way
  10. Didn’t need drag and drop for creating and managing post types taxonomies and fields Wanted a bit of assistance with the meta boxes Want to learn more / understand behind scenes
  11. Whilte we use custom post types form the off, for the bingo reviews we use of custom fields to pull through key data onto archive pages, for example the value of the free bonus, site logo
  12. But the reviews themselves were one very long block of text and html. Load of html and layout stuff in the editor Long time to create a new review Risk of error high Design / layout of reviews have to be altered one by one.
  13. Standard WordPress method
  14. Standard WordPress method
  15. Rather than using WordPress standard methods it uses the CMB plugins functions which are simplified
  16. Standard WordPress method
  17. This plugin was a compromise as we’re not going to want to regularly update the admin menu we may look at doing this without a plugin in future but for now we’ve got other things to focus on.
  18. But if other people are using the backend then it can be better to just hide them automatically with a few lines of code.
  19. Explain why used ‘manage options’ rather than administrators.
  20. Various workarounds We use custom fields for our images so don’t and won’t use it We removed support for it for this post type
  21. Various workarounds We use custom fields for our images so don’t and won’t use it We removed support for it for this post type
  22. Positioning is relative Only 12 real position options in the case of a tie it will go by the numbers and alphabetically - so consider this when naming your fields So fine if you only have a few fields and no fields fro other plugins Pain if you have lots of fields and other plugins too Can be changed by users who can switch between 1 and 2 column layout and drag and drop the metaboxes around.
  23. Setting the height of the editor Specifying which quicktags we want And removing the add media button
  24. The first page you’ll see when you login For most people this just adds an extra step and they are not interested in this page You can expand the dashboard by making new Dashboard Widgets
  25. Change the landing page when you login You could show based on user roles so Admins can see one page and non-admins can be shown a different page E.g. a content calendar, the All Posts page etc.
  26. The skys the limit really
  27. We like creating interactive content and use custom posts types and fields to created them.
  28. For example bingo card generators are just an archive template displaying a custom posts each with their own post meta.