Upgrade to Pro — share decks privately, control downloads, hide ads and more …

The power of taxonomies for better websites [EN] - Ralf Wiechers

The power of taxonomies for better websites [EN] - Ralf Wiechers

WordCamp Athens 2019

Great websites are made of great content. Over time more and more posts, pages and other content types are added to the website. Making it harder and harder to manually connect one content part with other relevant related details.

WordPress for a very long time is providing a very stable system to connect posts to topics. This topics create matching webpages or even content if done right.

Learn with Ralf what taxonomies are and how you can use them to create richer webpages that autoupdate related content.

More Decks by WordPress Greek Community

Other Decks in Technology

Transcript

  1. Ralf Wiechers
    @drivingralle
    WordCamp Athens // 18. May 2019
    The power of
    Taxonomies for
    better Websites

    View full-size slide

  2. Hello Athens!
    Καλησπέρα

    View full-size slide

  3. Ralf Wiechers
    @drivingralle

    View full-size slide

  4. NomadLife
    since 2014

    View full-size slide

  5. Remote &
    CoWorking
    for the win

    View full-size slide

  6. WordPress Consultant
    Cross Media Cloud
    Chief Technology Officer
    HomeSweetHome.Travel

    View full-size slide

  7. Professional WordPress
    since 2010

    View full-size slide

  8. Easy-of-use
    Plugins
    Themes
    Taxonomies
    Post Types
    I18n
    Ecosystem
    Community
    WP Super Powers

    View full-size slide

  9. τάξις, taxis
    Order
    Arrangement

    View full-size slide

  10. Grouping
    Classification
    Taxonomy

    View full-size slide

  11. Grouping of
    Website Content

    View full-size slide

  12. Blogposts
    Products
    Team-Member
    Grouping of

    View full-size slide

  13. Local news
    Product Niche
    Team
    Groups of

    View full-size slide

  14. Categories
    Post Tags

    View full-size slide

  15. one Term
    one Group

    View full-size slide

  16. n Items
    one Term

    View full-size slide

  17. Categories
    Work
    Hobby
    Family
    Taxonomy
    Terms

    View full-size slide

  18. a Connection
    a Detail
    a Term

    View full-size slide

  19. Price
    Author
    Publisher
    ...
    Book Review

    View full-size slide

  20. Taxonomy Metadata

    View full-size slide

  21. Author
    Publisher
    Genre
    Shared details

    View full-size slide

  22. Price
    Page count
    Sold edition
    Individual details

    View full-size slide

  23. Filter by
    Sort by
    Taxonomy
    Metadata

    View full-size slide

  24. Taxonomies are
    Groups of
    items with a
    shared detail

    View full-size slide

  25. Taxonomies in
    WordPress

    View full-size slide

  26. Categories
    Version 1.0 // 2004

    View full-size slide

  27. Post Tags
    Custom Taxonomies
    Version 2.3 // 2007

    View full-size slide

  28. Custom Menu
    Some Improvements
    Custom Post-Types
    Version 3.0 // 2010

    View full-size slide

  29. Term split
    Nerd stuff ; )
    Version 4.2 // 2015

    View full-size slide

  30. Custom Menu
    wait wait!?

    View full-size slide

  31. Public
    true
    false

    View full-size slide

  32. Categories
    Post Tags
    Post Formats
    public

    View full-size slide

  33. [...]/category/{term}
    [...]/tag/{term}
    [...]/type/{term}
    is_archive

    View full-size slide

  34. nav_menu
    link_category
    privat/
    hidden/
    none-public

    View full-size slide

  35. Internal details
    Technical helper
    Advanced use-cases
    privat/
    hidden/
    none-public

    View full-size slide

  36. Coding required
    privat/
    hidden/
    none-public

    View full-size slide

  37. Categories Post Tags

    View full-size slide

  38. hierarchical: true
    Child-Terms

    View full-size slide

  39. Categories
    Work
    Hobby
    |- Gardening
    |- 3D-Printing
    Family
    Taxonomy
    Terms

    View full-size slide

  40. n Post Types
    one Taxonomy

    View full-size slide

  41. Departments
    Retail
    Research
    Production
    Team Member
    Taxonomy
    Terms
    Post-Types

    View full-size slide

  42. Departments
    Retail
    Research
    Production
    Team Member
    Blogposts
    Jobs
    Taxonomy
    Terms
    Post-Types

    View full-size slide

  43. public vs. hidden
    hierarchical vs. flat
    n Post Types
    Taxonomies

    View full-size slide

  44. Speed
    Robustness
    Expandability
    Benefits

    View full-size slide

  45. Nice theory!

    View full-size slide

  46. Rank your
    Archives
    SEO Hack

    View full-size slide

  47. add a description

    View full-size slide

  48. More content.
    More fun.
    CMS

    View full-size slide

  49. Change once.
    Update
    everywhere.

    View full-size slide

  50. Power to the
    content people!

    View full-size slide

  51. Archives
    are Landingpages

    View full-size slide

  52. Entrypoint
    about a Topic

    View full-size slide

  53. Jobs
    Blogposts
    Team-Member
    Retail related

    View full-size slide

  54. MENU
    A Company Website
    Topic: Retail
    Aliquam tincidunt mauris eu risus
    Read more
    Vivamus vestibulum ntulla nec ante
    Read more

    View full-size slide

  55. MENU
    A Company Website
    Topic: Retail
    Aliquam tincidunt mauris
    eu risus
    Read more
    Vivamus vestibulum ntulla
    nec ante
    Read more
    Blog-
    Sidebar

    View full-size slide

  56. MENU
    A Company Website
    Topic: Retail
    Aliquam tincidunt mauris
    eu risus
    Read more
    Vivamus vestibulum ntulla
    nec ante
    Read more
    Topic-
    Sidebar:
    Retail

    View full-size slide

  57. MENU
    A Company Website
    Topic: Retail Our Retail Team
    Shop-Finder
    Love Retail?
    We are hiring!
    Aliquam tincidunt mauris
    eu risus
    Read more
    Vivamus vestibulum ntulla
    nec ante
    Read more

    View full-size slide

  58. MENU
    A Company Website
    Topic: Retail
    Topic-Ad:
    Retail
    Topic-Top: Retail
    Topic-Bottom: Retail
    Aliquam tincidunt
    mauris eu risus
    Read more
    Vivamus vestibulum
    ntulla nec ante
    Read more

    View full-size slide

  59. Templates
    taxonomy-{taxonomy}-{term}.php
    taxonomy-{taxonomy}.php
    taxonomy.php

    View full-size slide

  60. Widgets
    Sidebars
    Customizer

    View full-size slide

  61. Teamwork
    Make a concept

    View full-size slide

  62. 3 Product Categories
    930 Bookable Items
    17 Custom Taxonomies
    Home
    Sweet
    Home

    View full-size slide

  63. Region
    Feature
    Travel Type
    ...
    17 Taxonomies

    View full-size slide

  64. Filter your dream

    View full-size slide

  65. 4 Details
    1 Click

    View full-size slide

  66. Country
    Island
    Region
    Municipality
    Hierarchical

    View full-size slide

  67. hsh_get_country
    hsh_get_island
    hsh_get_region
    hsh_get_sub_region
    Getter

    View full-size slide

  68. Single view
    Checkout
    E-Mails
    Same Same

    View full-size slide

  69. Widgets
    everywhere

    View full-size slide

  70. But
    Gutenberg

    View full-size slide

  71. One day!
    Not yet.

    View full-size slide

  72. Backend UI
    Templates
    WP_Query
    Use WP Core

    View full-size slide

  73. Plugin Developer
    Handbook
    Read more

    View full-size slide

  74. Start grouping
    your content!
    Now you!

    View full-size slide

  75. Questions?
    What ... ? Can ... ? Do ... ?
    @drivingralle

    View full-size slide

  76. Thank you!
    Ralf Wiechers
    @drivingralle
    Cross Media Cloud
    HSH Stay

    View full-size slide