SlideShare ist ein Scribd-Unternehmen logo
1 von 51
Downloaden Sie, um offline zu lesen
WordPress:
Building
Better
Relationships

          Text
ordPress @ BU
636 sites
                            581 sites




                342 sites


      141 sites
 136 sites
0 sites
  2007   2008       2009    2010      2011     2012
Total:

+ 270 In-progress
+ 2,323 Blogs
= 3,229 Sites

2007     2008   2009   2010   2011   2012
A range of offerings:

1. Fully custom
2. Quick setup
3. 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        Integrated
Third-Party               BU-speci ic w/ BU apps
Gravity Forms             BU Navigation         BU Calendar

WP SuperCache             Access Control List   BU Maps
                          (w/ Single Sign-on)
Akismet                                         Google Search
                          User Management       Appliance
Networks 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 Our
Capacity for Processing Information". The Psychological Review, 1956, vol. 63, pp.
81 97.
Custom
Post 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 support
metaboxes
                       • 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 + Code

Code available at https://github.com/gcorne/featured-posts
Discovery
     + little surprises
Keyword Analysis +
Relevance Algorithm


Yet 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 Cornelius
design by Scott Dasse
Image credits



"Holding Hands" —Elizabeth Buie
http://www. lickr.com/photos/ebuie/3626180065
WordPress Building Better Relationships

Weitere ähnliche Inhalte

Ähnlich wie WordPress Building Better Relationships

Building Better Applications with Data::Manager
Building Better Applications with Data::ManagerBuilding Better Applications with Data::Manager
Building Better Applications with Data::Manager
Jay Shirley
 
The Best (and Worst) of Django
The Best (and Worst) of DjangoThe Best (and Worst) of Django
The Best (and Worst) of Django
Jacob Kaplan-Moss
 

Ähnlich wie WordPress Building Better Relationships (20)

CMS content
CMS contentCMS content
CMS content
 
Synchronizing Creativity with Content Management
Synchronizing Creativity with Content ManagementSynchronizing Creativity with Content Management
Synchronizing Creativity with Content Management
 
JavaScript for Flex Devs
JavaScript for Flex DevsJavaScript for Flex Devs
JavaScript for Flex Devs
 
WordPress Workflows Expanded
WordPress Workflows ExpandedWordPress Workflows Expanded
WordPress Workflows Expanded
 
WordPress Café: Using WordPress as a Framework
WordPress Café: Using WordPress as a FrameworkWordPress Café: Using WordPress as a Framework
WordPress Café: Using WordPress as a Framework
 
Summit2014 topic 0066 - 10 enhancements that require 10 lines of code
Summit2014 topic 0066 - 10 enhancements that require 10 lines of codeSummit2014 topic 0066 - 10 enhancements that require 10 lines of code
Summit2014 topic 0066 - 10 enhancements that require 10 lines of code
 
Building Better Applications with Data::Manager
Building Better Applications with Data::ManagerBuilding Better Applications with Data::Manager
Building Better Applications with Data::Manager
 
Rails and alternative ORMs
Rails and alternative ORMsRails and alternative ORMs
Rails and alternative ORMs
 
Drupal as a web framework
Drupal as a web frameworkDrupal as a web framework
Drupal as a web framework
 
Tikal's Backbone_js introduction workshop
Tikal's Backbone_js introduction workshopTikal's Backbone_js introduction workshop
Tikal's Backbone_js introduction workshop
 
Web Front End - (HTML5, CSS3, JavaScript) ++
Web Front End - (HTML5, CSS3, JavaScript) ++Web Front End - (HTML5, CSS3, JavaScript) ++
Web Front End - (HTML5, CSS3, JavaScript) ++
 
Jquery fundamentals
Jquery fundamentalsJquery fundamentals
Jquery fundamentals
 
The Best (and Worst) of Django
The Best (and Worst) of DjangoThe Best (and Worst) of Django
The Best (and Worst) of Django
 
NZYP Project Casestudy using SilverStripe CMS
NZYP Project Casestudy using SilverStripe CMSNZYP Project Casestudy using SilverStripe CMS
NZYP Project Casestudy using SilverStripe CMS
 
Libertyvasion2010
Libertyvasion2010Libertyvasion2010
Libertyvasion2010
 
WordPress development paradigms, idiosyncrasies and other big words
WordPress development paradigms, idiosyncrasies and other big wordsWordPress development paradigms, idiosyncrasies and other big words
WordPress development paradigms, idiosyncrasies and other big words
 
Why Our Code Smells
Why Our Code SmellsWhy Our Code Smells
Why Our Code Smells
 
Securing and Personalizing Commerce Using Identity Data Mining
Securing and Personalizing Commerce Using Identity Data MiningSecuring and Personalizing Commerce Using Identity Data Mining
Securing and Personalizing Commerce Using Identity Data Mining
 
Diagnosing account, enrolment and snapshot problems using the APIs
Diagnosing account, enrolment and snapshot problems using the APIsDiagnosing account, enrolment and snapshot problems using the APIs
Diagnosing account, enrolment and snapshot problems using the APIs
 
WordPress Plugins: ur doin it wrong
WordPress Plugins: ur doin it wrongWordPress Plugins: ur doin it wrong
WordPress Plugins: ur doin it wrong
 

Kürzlich hochgeladen

Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
Joaquim Jorge
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
vu2urc
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
?#DUbAI#??##{{(☎️+971_581248768%)**%*]'#abortion pills for sale in dubai@
 

Kürzlich hochgeladen (20)

Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CV
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
Advantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessAdvantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your Business
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
Tech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdfTech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdf
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 

WordPress Building Better Relationships

  • 3. 636 sites 581 sites 342 sites 141 sites 136 sites 0 sites 2007 2008 2009 2010 2011 2012
  • 4. Total: + 270 In-progress + 2,323 Blogs = 3,229 Sites 2007 2008 2009 2010 2011 2012
  • 5. A range of offerings: 1. Fully custom 2. Quick setup 3. DIY tools
  • 6.
  • 7.
  • 8.
  • 9.
  • 10.
  • 11.
  • 12.
  • 14. 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
  • 15. content design site tools
  • 16. How many plugins does it take? Main Main Integrated Third-Party BU-speci ic w/ BU apps Gravity Forms BU Navigation BU Calendar WP SuperCache Access Control List BU Maps (w/ Single Sign-on) Akismet Google Search User Management Appliance Networks for (w/ Single Sign-on) WordPress Course Feeds Content Banner Training Manager Post Details Emergency Alert Advanced Tiny MCE Site Manager ....
  • 17. the magic number seven +/- two *George A. Miller. "The Magical Number Seven, Plus or Minus Two: Some Limits on Our Capacity for Processing Information". The Psychological Review, 1956, vol. 63, pp. 81 97.
  • 18.
  • 19.
  • 20.
  • 21.
  • 22.
  • 23.
  • 25.
  • 26. 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 support metaboxes • No cross-relationship • Good performance support built-in
  • 27. 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'));
  • 28.   $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);
  • 32.
  • 33.
  • 34.
  • 35. Demo + Code Code available at https://github.com/gcorne/featured-posts
  • 36. Discovery + little surprises
  • 37.
  • 38. Keyword Analysis + Relevance Algorithm Yet Another Related Posts Plugin (by) @mitcho
  • 39. Semantic value meaningful cohesive clear substantial logical
  • 41. 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);
  • 42. 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 //   }
  • 43. taxonomy usage: standard list of posts in a list of terms speci ic post term
  • 44.
  • 45.
  • 46. taxonomy usage: ilter post list term-based ilter shorter post list
  • 47.
  • 48. Up next» + mobile + work low plugin + libraries + infrastructure
  • 50. Image credits "Holding Hands" —Elizabeth Buie http://www. lickr.com/photos/ebuie/3626180065