Slide 1

Slide 1 text

Seeing your content through WordPress eyes Flickr: Johan J.Ingles-Le Nobel

Slide 2

Slide 2 text

Flickr: secretlondon123

Slide 3

Slide 3 text

Add New

Slide 4

Slide 4 text

Flickr: Dvortygirl

Slide 5

Slide 5 text

No content

Slide 6

Slide 6 text

Flickr: Jo Naylor

Slide 7

Slide 7 text

wp_commentmeta wp_comments wp_links wp_options wp_postmeta wp_posts wp_terms wp_term_relationships wp_term_taxonomy wp_usermeta wp_users

Slide 8

Slide 8 text

No content

Slide 9

Slide 9 text

What substantially different types of content do I have? Flickr: Sebastiaan ter Burg

Slide 10

Slide 10 text

Objective: To build a database of election constituencies and the candidates standing in each of them

Slide 11

Slide 11 text

No content

Slide 12

Slide 12 text

No content

Slide 13

Slide 13 text

No content

Slide 14

Slide 14 text

• Name • Reference numbers • Current MP, Party • Historic results • Candidates • Name • Party • Social media accounts For each constituency: For each candidate:

Slide 15

Slide 15 text

Constituency: Custom Fields

Slide 16

Slide 16 text

Candidate: Advanced Custom Fields

Slide 17

Slide 17 text

Do I want to group items based on any of these? Flickr: Sebastiaan ter Burg

Slide 18

Slide 18 text

Do I want to change styling based on any of these? Flickr: Sebastiaan ter Burg

Slide 19

Slide 19 text

For each candidate: div div class=“logo”

Slide 20

Slide 20 text

But what if it’s a post type and a grouping method? Flickr: Sebastiaan ter Burg

Slide 21

Slide 21 text

• Name • Reference numbers • Current MP, Party • Historic results • Candidates • Name • Party • Social media accounts For each constituency: For each candidate:

Slide 22

Slide 22 text

• Sophisticated • Creates extra database tables • Not permitted by WP VIP • New external dependency • Find it at github.com/scribu • Simplistic • Security & sustainability • Potentially* more efficient • Instantly familiar • FInd it at github.com/cftp Posts 2 Posts plugin Sync’ed Taxonomy

Slide 23

Slide 23 text

No content

Slide 24

Slide 24 text

Releases Songs Artists Currency Role Type

Slide 25

Slide 25 text

Photo: Deep Purple Ticket Museum Working against a restriction often produces greater things than getting rid of all boundaries. 
 Jon Lord, Deep Purple