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

set it and forget it
SMART_READER_LITE
LIVE PREVIEW

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


slide-1
SLIDE 1

Set It and Forget It!

Structured Content in WordPress with the Pods Framework

slide-2
SLIDE 2

About Me

  • “UX Team of One” working
  • n affordable housing in SF
  • Content Strategist (and

front-end dev) for IA Summit conference

  • Former cancer scientist

(I’m big on empowering people!)

slide-3
SLIDE 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!)

slide-4
SLIDE 4

The ugly truth:

WordPress themes are total failures of structured content

slide-5
SLIDE 5

That functions.php file...

  • Theme-specific
  • Creates anything the theme needs
  • Creates custom post types and taxonomy,
  • nly available in that theme

But what happens when you change the theme?

slide-6
SLIDE 6
slide-7
SLIDE 7

So what’s happening?

Imagine you had a restaurant...

slide-8
SLIDE 8

..that’s weird, right?

slide-9
SLIDE 9

Is this an insurance company….

usedtobeapizzahut.blogspot.com

slide-10
SLIDE 10

...or a former Pizza Hut?

usedtobeapizzahut.blogspot.com

slide-11
SLIDE 11

Mixed-up roles!

slide-12
SLIDE 12

Kitchen --- Waiter --- Diner

slide-13
SLIDE 13

Kitchen --- Waiter --- Diner

slide-14
SLIDE 14

Kitchen --- Waiter --- Diner

slide-15
SLIDE 15

Kitchen --- Waiter --- Diner

slide-16
SLIDE 16

Model --- Controller --- View (MVC)

slide-17
SLIDE 17

Model --- Controller --- View (MVC)

Wordpress themes

slide-18
SLIDE 18

Which is how you end up with a confusing mess!

usedtobeapizzahut.blogspot.com

slide-19
SLIDE 19

Model --- Controller --- View (MVC)

Wordpress plugins

slide-20
SLIDE 20

But why Pods and not another plugin?

slide-21
SLIDE 21

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?

The comparison chart!

(Seriously, nobody beats Jim!)

slide-22
SLIDE 22

Demo time!

(What you’re all here for!)

slide-23
SLIDE 23

The saga of IA Summit.org

What to do with content strategy???

In the recent past:

  • Migration from incomplete

Drupal project

  • Slate wiped clean every year

Yearly rotation of organizing committee:

  • Website team might change (no

documentation!)

  • Theme might change
slide-24
SLIDE 24
slide-25
SLIDE 25

Connecting Speakers to Talks and Posters

“Person” CPT using Pods template to show single instance Connected “Talk” CPTs Connected “Poster” CPT Connected extended regular WP post Fields in “Person” CPT:

  • Photo
  • Current role
  • Past roles
  • LinkedIn URL
  • Twitter handle
  • Website
  • Past talks
  • Posters
  • Related posts
slide-26
SLIDE 26

Pulling Speaker info into Talks

“Talk” CPT using Pods template to show single instance “Person” CPT

slide-27
SLIDE 27

Pulling Speaker info into Posts

WordPress posts (extended by Pods) using Pods template to show single instance “Person” CPT

slide-28
SLIDE 28

Demo: Custom post types & taxonomies

slide-29
SLIDE 29

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
slide-30
SLIDE 30

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
slide-31
SLIDE 31

Ex: Repeated instances

“Talk” CPT with multiple speakers

slide-32
SLIDE 32

Demo: Pods Templates

slide-33
SLIDE 33

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
slide-34
SLIDE 34

Filtering with shortcodes

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

slide-35
SLIDE 35

(Short) Demo: Shortcodes

slide-36
SLIDE 36

Thanks!

(Any questions?)

Contact me: design@anitacheng.com @anitaycheng on Twitter