set it and forget it
play

Set It and Forget It! Structured Content in WordPress with the Pods - PowerPoint PPT Presentation

Set It and Forget It! Structured Content in WordPress with the Pods Framework About Me UX Team of One working on affordable housing in SF Content Strategist (and front-end dev) for IA Summit conference Former cancer


  1. Set It and Forget It! Structured Content in WordPress with the Pods Framework

  2. About Me “UX Team of One” working ● on affordable housing in SF Content Strategist (and ● front-end dev) for IA Summit conference ● Former cancer scientist (I’m big on empowering people!)

  3. Empowerment = structured content! Structured content = content, organized by default using prepared metadata No fussy formatting ● ● No touching code ● No copy-pasting across multiple pages ● Not trapped by the WYSIWYG field Things should “just work” ● (Why we use a CMS in the first place!)

  4. The ugly truth: WordPress themes are total failures of structured content

  5. That functions.php file... ● Theme-specific ● Creates anything the theme needs ● Creates custom post types and taxonomy, only available in that theme But what happens when you change the theme?

  6. So what’s happening? Imagine you had a restaurant...

  7. ..that’s weird, right?

  8. usedtobeapizzahut.blogspot.com Is this an insurance company….

  9. usedtobeapizzahut.blogspot.com ...or a former Pizza Hut?

  10. Mixed-up roles!

  11. Kitchen --- Waiter --- Diner

  12. Kitchen --- Waiter --- Diner

  13. Kitchen --- Waiter --- Diner

  14. Kitchen --- Waiter --- Diner

  15. Model --- Controller --- View (MVC)

  16. Model --- Controller --- View (MVC) Wordpress themes

  17. usedtobeapizzahut.blogspot.com Which is how you end up with a confusing mess!

  18. Model --- Controller --- View (MVC) Wordpress plugins

  19. But why Pods and not another plugin?

  20. The comparison chart! Pods Advanced Custom Fields Toolset Types Independent of functions.php? Yes No Yes Just HTML/CSS? Yes No Yes Content relationships Easy! Hard Overly complex Free? YES! Freemium Freemium Support? (Seriously, nobody beats Jim!)

  21. Demo time! (What you’re all here for!)

  22. The saga of IA Summit.org In the recent past: Yearly rotation of organizing committee: Migration from incomplete Website team might change (no ● ● Drupal project documentation!) ● Slate wiped clean every year ● Theme might change What to do with content strategy???

  23. Connecting Speakers to Talks and Posters “Person” CPT using Pods template Fields in “Person” CPT: to show single instance ● Photo Current role ● ● Past roles LinkedIn URL ● ● Twitter handle Website ● Connected “Talk” CPTs ● Past talks Posters ● ● Related posts Connected “Poster” CPT Connected extended regular WP post

  24. Pulling Speaker info into Talks “Talk” CPT using Pods template to “Person” CPT show single instance

  25. Pulling Speaker info into Posts WordPress posts (extended by Pods) using “Person” CPT Pods template to show single instance

  26. Demo: Custom post types & taxonomies

  27. Building Pods Templates in dashboard ● Can replace any built-in page templates HTML, CSS and “Magic Tags” ● ● Built-in conditionals and repeater for multiple instances

  28. Ex: Conditional layouts in template “Talk” CPT using Pods template to show single instance Fields in “Talk” CPT: ● Speakers ● Transcript ● Embeds ● Video link ● Audio shortcode ● Storify link

  29. Ex: Repeated instances “Talk” CPT with multiple speakers

  30. Demo: Pods Templates

  31. Putting it all together...with shortcodes! ● Insert Pods content into WP pages or posts Single item ○ ○ List of items Field from single item ○ ○ Field from current item Form for editing Pods ○ ● Use SQL calls to filter in shortcode

  32. Filtering with shortcodes WP Page displaying multiple “Person” Pod items Where current role is “co-chair” (Past presenter page displays Where current role is “keynote speakers that have a past role but speaker” no current role.) Where current role is “speaker”

  33. (Short) Demo: Shortcodes

  34. Thanks! (Any questions?) Contact me: design@anitacheng.com @anitaycheng on Twitter

Download Presentation
Download Policy: The content available on the website is offered to you 'AS IS' for your personal information and use only. It cannot be commercialized, licensed, or distributed on other websites without prior consent from the author. To download a presentation, simply click this link. If you encounter any difficulties during the download process, it's possible that the publisher has removed the file from their server.

Recommend


More recommend