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

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
 

Ä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

New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024BookNet Canada
 
Rise of the Machines: Known As Drones...
Rise of the Machines: Known As Drones...Rise of the Machines: Known As Drones...
Rise of the Machines: Known As Drones...Rick Flair
 
WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your BrandWordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brandgvaughan
 
Sample pptx for embedding into website for demo
Sample pptx for embedding into website for demoSample pptx for embedding into website for demo
Sample pptx for embedding into website for demoHarshalMandlekar2
 
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek SchlawackFwdays
 
What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024Stephanie Beckett
 
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc
 
How to write a Business Continuity Plan
How to write a Business Continuity PlanHow to write a Business Continuity Plan
How to write a Business Continuity PlanDatabarracks
 
How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.Curtis Poe
 
The Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsThe Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsPixlogix Infotech
 
What is Artificial Intelligence?????????
What is Artificial Intelligence?????????What is Artificial Intelligence?????????
What is Artificial Intelligence?????????blackmambaettijean
 
Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Manik S Magar
 
The State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptxThe State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptxLoriGlavin3
 
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024BookNet Canada
 
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxMerck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxLoriGlavin3
 
What is DBT - The Ultimate Data Build Tool.pdf
What is DBT - The Ultimate Data Build Tool.pdfWhat is DBT - The Ultimate Data Build Tool.pdf
What is DBT - The Ultimate Data Build Tool.pdfMounikaPolabathina
 
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024Lorenzo Miniero
 
Moving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdfMoving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdfLoriGlavin3
 
Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebDev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebUiPathCommunity
 
unit 4 immunoblotting technique complete.pptx
unit 4 immunoblotting technique complete.pptxunit 4 immunoblotting technique complete.pptx
unit 4 immunoblotting technique complete.pptxBkGupta21
 

Kürzlich hochgeladen (20)

New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
 
Rise of the Machines: Known As Drones...
Rise of the Machines: Known As Drones...Rise of the Machines: Known As Drones...
Rise of the Machines: Known As Drones...
 
WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your BrandWordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brand
 
Sample pptx for embedding into website for demo
Sample pptx for embedding into website for demoSample pptx for embedding into website for demo
Sample pptx for embedding into website for demo
 
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
 
What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024
 
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
 
How to write a Business Continuity Plan
How to write a Business Continuity PlanHow to write a Business Continuity Plan
How to write a Business Continuity Plan
 
How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.
 
The Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsThe Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and Cons
 
What is Artificial Intelligence?????????
What is Artificial Intelligence?????????What is Artificial Intelligence?????????
What is Artificial Intelligence?????????
 
Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!
 
The State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptxThe State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptx
 
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
 
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxMerck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
 
What is DBT - The Ultimate Data Build Tool.pdf
What is DBT - The Ultimate Data Build Tool.pdfWhat is DBT - The Ultimate Data Build Tool.pdf
What is DBT - The Ultimate Data Build Tool.pdf
 
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024
 
Moving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdfMoving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdf
 
Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebDev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio Web
 
unit 4 immunoblotting technique complete.pptx
unit 4 immunoblotting technique complete.pptxunit 4 immunoblotting technique complete.pptx
unit 4 immunoblotting technique complete.pptx
 

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