SlideShare une entreprise Scribd logo
1  sur  51
Télécharger pour lire hors ligne
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

Contenu connexe

Similaire à WordPress Building Better Relationships

Synchronizing Creativity with Content Management
Synchronizing Creativity with Content ManagementSynchronizing Creativity with Content Management
Synchronizing Creativity with Content ManagementGregory Cornelius
 
JavaScript for Flex Devs
JavaScript for Flex DevsJavaScript for Flex Devs
JavaScript for Flex DevsAaronius
 
WordPress Workflows Expanded
WordPress Workflows ExpandedWordPress Workflows Expanded
WordPress Workflows ExpandedGregory Cornelius
 
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 FrameworkExove
 
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 codeAngel Borroy López
 
Building Better Applications with Data::Manager
Building Better Applications with Data::ManagerBuilding Better Applications with Data::Manager
Building Better Applications with Data::ManagerJay Shirley
 
Rails and alternative ORMs
Rails and alternative ORMsRails and alternative ORMs
Rails and alternative ORMsJonathan Dahl
 
Drupal as a web framework
Drupal as a web frameworkDrupal as a web framework
Drupal as a web frameworkAdam Kalsey
 
Tikal's Backbone_js introduction workshop
Tikal's Backbone_js introduction workshopTikal's Backbone_js introduction workshop
Tikal's Backbone_js introduction workshopTikal Knowledge
 
Web Front End - (HTML5, CSS3, JavaScript) ++
Web Front End - (HTML5, CSS3, JavaScript) ++Web Front End - (HTML5, CSS3, JavaScript) ++
Web Front End - (HTML5, CSS3, JavaScript) ++ubshreenath
 
The Best (and Worst) of Django
The Best (and Worst) of DjangoThe Best (and Worst) of Django
The Best (and Worst) of DjangoJacob Kaplan-Moss
 
NZYP Project Casestudy using SilverStripe CMS
NZYP Project Casestudy using SilverStripe CMSNZYP Project Casestudy using SilverStripe CMS
NZYP Project Casestudy using SilverStripe CMSCam Findlay
 
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 wordsTomAuger
 
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 MiningJonathan LeBlanc
 
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 APIsMalcolm Murray
 
WordPress Plugins: ur doin it wrong
WordPress Plugins: ur doin it wrongWordPress Plugins: ur doin it wrong
WordPress Plugins: ur doin it wrongWill Norris
 

Similaire à 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
 

Dernier

Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024BookNet Canada
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)Gabriella Davis
 
Google AI Hackathon: LLM based Evaluator for RAG
Google AI Hackathon: LLM based Evaluator for RAGGoogle AI Hackathon: LLM based Evaluator for RAG
Google AI Hackathon: LLM based Evaluator for RAGSujit Pal
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationRidwan Fadjar
 
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure serviceWhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure servicePooja Nehwal
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationMichael W. Hawkins
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Drew Madelung
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Igalia
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slidespraypatel2
 
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j
 
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Alan Dix
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxMalak Abu Hammad
 
Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Paola De la Torre
 
Maximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxMaximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxOnBoard
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesSinan KOZAK
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityPrincipled Technologies
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdfhans926745
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking MenDelhi Call girls
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfEnterprise Knowledge
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsEnterprise Knowledge
 

Dernier (20)

Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
Google AI Hackathon: LLM based Evaluator for RAG
Google AI Hackathon: LLM based Evaluator for RAGGoogle AI Hackathon: LLM based Evaluator for RAG
Google AI Hackathon: LLM based Evaluator for RAG
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 Presentation
 
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure serviceWhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slides
 
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
 
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptx
 
Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101
 
Maximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxMaximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptx
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen Frames
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
 

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