WordPress Building Better Relationships
Upcoming SlideShare
Loading in...5

WordPress Building Better Relationships



For basic content publishing needs, the ease-of-use of WordPress shines. Unfortunately, once a project exceeds 500 pages, using WordPress is much less straightforward. How has Boston University made ...

For basic content publishing needs, the ease-of-use of WordPress shines. Unfortunately, once a project exceeds 500 pages, using WordPress is much less straightforward. How has Boston University made it work? From a technical standpoint, building relationships between content objects and creating simple to use UIs for managing the relationships is key. Once established, the semantic relationships can be coupled with bits of meta data to construct menus, indexes, facets, filters, and so much more. Using code examples, this talk will highlight essential parts of the WordPress API and demonstrate various techniques used in BU plugins and themes that help us build better large websites.



Total Views
Views on SlideShare
Embed Views



2 Embeds 2

http://us-w1.rockmelt.com 1
https://www.linkedin.com 1



Upload Details

Uploaded via as Adobe PDF

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.


11 of 1

  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
Post Comment
Edit your comment

    WordPress Building Better Relationships WordPress Building Better Relationships Presentation Transcript

    • WordPress:BuildingBetterRelationships Text
    • ordPress @ BU
    • 636 sites 581 sites 342 sites 141 sites 136 sites0 sites 2007 2008 2009 2010 2011 2012
    • Total:+ 270 In-progress+ 2,323 Blogs= 3,229 Sites2007 2008 2009 2010 2011 2012
    • A range of offerings:1. Fully custom2. Quick setup3. DIY tools
    • Big sites are hard
    • What makes them hard? Lack of vision Inadequate Politics search Lack of capabilities consistency Performance Lack of clear accountability Complex work lows Team dynamics and skill Focusing on technology before understanding the problem
    • content design site tools
    • How many plugins does it take?Main Main IntegratedThird-Party BU-speci ic w/ BU appsGravity Forms BU Navigation BU CalendarWP SuperCache Access Control List BU Maps (w/ Single Sign-on)Akismet Google Search User Management ApplianceNetworks for (w/ Single Sign-on)WordPress Course Feeds Content Banner Training Manager Post Details Emergency Alert Advanced Tiny MCE Site Manager ....
    • the magic number seven +/- two*George A. Miller. "The Magical Number Seven, Plus or Minus Two: Some Limits on OurCapacity for Processing Information". The Psychological Review, 1956, vol. 63, pp.81 97.
    • CustomPost Types
    • Bene its Risks• Admin menu w/label • Not supported by all plugins• Separate templates(automatic) • More difficult to move• Separate namespace • No XML-RPC support• Easy to add • No mobile supportmetaboxes • No cross-relationship• Good performance support built-in
    • Post type registration   $supports  =  array(     title,     bu-­‐content-­‐banner,     bu-­‐post-­‐details,     comments   );   $taxonomies  =  array(     category   );   $labels  =  array(     name  =>  _x(Close-­‐ups,  post  type  general  name),     singular_name  =>  _x(Close-­‐ups,  post  type  singular   name));
    •   $args  =  array(     labels  =>  $labels,     description  =>  ,     publicly_queryable  =>  true,     exclude_from_search  =>  false,     capability_type  =>  post,     capabilities  =>  array(),     map_meta_cap  =>  null,     hierarchical  =>  false,     rewrite  =>  array(slug  =>  closeup),     has_archive  =>  false,     query_var  =>  true,     supports  =>  array(),     taxonomies  =>  $taxonomies,     show_ui  =>  true,     menu_position  =>  null,     menu_icon  =>  null,     permalink_epmask  =>  EP_PERMALINK,     can_export  =>  true,     show_in_nav_menus  =>  false,     show_in_menu  =>  true,     supports  =>  $supports   );   register_post_type(closeup,  $args);
    • Consistency vs.Freedom
    • man+ machine
    • Curation
    • Demo + CodeCode available at https://github.com/gcorne/featured-posts
    • Discovery + little surprises
    • Keyword Analysis +Relevance AlgorithmYet Another Related Posts Plugin(by) @mitcho
    • Semantic value meaningful cohesive clear substantial logical
    • Classi ication +Taxonomy
    • Taxonomy registration $args  =  array(   hierarchical  =>  false,     show_ui  =>  true,     labels  =>  array(     name  =>  Media  Types,       singular_name,  Media  Type     ),   query_var  =>  true,     rewrite  =>  true, ); register_taxonomy(media-­‐type,  array(post),  $args);
    • Simple taxonomy query $tax_q  =  array(          taxonomy  =>  media-­‐type,          field  =>  id,          terms  =>  $term_id) ); $q_args  =  array( post_type  =>  any, post_status  =>  publish, tax_query  =>  $tax_q ); $custom_q  =  WP_Query($q_args); while($custom_q-­‐>has_posts())  { $custom_q-­‐>the_post(); //  render  post  list  using  template  tags //   }
    • taxonomy usage: standard list of posts in a list of terms speci ic post term
    • taxonomy usage: ilter post list term-based ilter shorter post list
    • Up next» + mobile + work low plugin + libraries + infrastructure
    • (by)Gregory Corneliusdesign by Scott Dasse
    • Image credits"Holding Hands" —Elizabeth Buiehttp://www. lickr.com/photos/ebuie/3626180065