The Flexibility of WordPress
Multiple Content Types
• Pages
  – Main site pages
  – Apply templates for advanced functionality
  – Are hierarchical (can have parent/child relationships)
• Posts
  – Flexible for any content, anywhere
  – Tags and categories allow content segmentation
  – Not hierarchical
• Custom Post Types
  – Provide a separate interface for totally custom content
  – Create if default Posts are in use already (ie. a blog)
  – OR for highly special content that doesn’t fit normal post
    schema (home page slider)
  – Can be hierarchical, but are not by default
Page Templates
• Used when layout or functionality doesn’t
  match the rest of the theme and cannot be
  added through the post editor
• Examples
  – Highly specialized forms
  – Precisely placed elements, like maps
  – Single column instead of theme’s regular two
  – Specific scripts only needed on that page
  – Other special layouts
  – Members-only or other protected areas
Implementing Page Templates
• Two main ways
  – From Page Editor
     • Works only for Pages
     • End-user is able to change
  – With get_template_part() and a conditional
    statement
     • Done on a theme level
     • Provides way to get any template from anywhere, even
       if it’s just a small piece (like social media links or a
       gallery)
Post Tags and Categories
• Both provide a way to group and navigate content
• Both are searchable and form archive pages by default
• Categories
   – Umbrella groups for similar content topics
   – Are hierarchical (can have parent/child relationships)
   – Use to separate content but still use the default post editor
• Tags
   – Like keywords
   – Especially useful for blogs to connect topics
   – Also useful for ecommerce
• Analogy for Use
   – A book store would categorize by genre, but tag each book
     with the author
Custom Taxonomies
• Categories and Tags are “taxonomies”
• Custom Taxonomies essentially work the
  same, but are more easily distinguishable
• Book Store Example
  – “Genre” would be a custom taxonomy instead of
    using the default categories
  – “Author” would be created instead of using tags
Custom Post Types (CPT)
• Useful to make specialized content readily
  accessible to end-users
• Can be made inaccessible by search, and
  therefore be used to insert and organize small
  bits of content
  – Example: Sliders
• Only include the interface elements needed
  – ie. only the Title, Editor, and Featured Image and
    not Categories or Tags
Custom Fields
• Provide additional post meta for Posts or Pages
  via customized UI elements
• Any form field can be used to get additional data
• How to Use
  –   DO use for variable data
  –   DO use to make content easier for end-user to edit
  –   DO use to insert content and retain theme styling
  –   DO NOT use when the data needs to form
      relationships between posts/pages – use a taxonomy
      instead
Custom Fields
• Favorite Uses
  – Checkbox to mark as a featured post
  – Radio to place in a specific area
  – Checkboxes to add product features
  – A series of rich-editor enabled textareas to add
    content to a special layout (especially from CPT)
  – Extra upload for specific media display/output
Creating CPT, Custom Taxonomies,
        and Custom Fields


          Demo of
   Easy Custom Post Types
           plugin
Plan for Next Sessions
• How to Get What You Want: Part I
   – Basic theme tags
   – The WordPress Loop, and how to Query
• How to Get What You Want: Part II
   – Conditional Statements, Custom Fields, and get_template_part()
• Helping the End User Part I
   – Shortcodes v. Custom Fields
• Helping the End User Part II
   – Theme Options
• Plugins and Functions
   – When to use
   – Functionality plugins vs. functions.php
   – Recommended plugins
• Defending Themes From End-Users
   – Final setup of user accounts and training
Resources
• The WordPress Codex
  – Your new best friend, so go get friendly
    http://codex.wordpress.org/
• Pages
  – http://codex.wordpress.org/Pages
  – Page Templates
     • Create basic template:
       http://codex.wordpress.org/Pages#Creating_Your_Own_Pag
       e_Templates

• Post Types
  – About various post types
    http://codex.wordpress.org/Post_Types
Resources
• Taxonomies
  – Basics
     http://justintadlock.com/archives/2010/06/10/a-
    refresher-on-custom-taxonomies
  – More on implementation
    http://justintadlock.com/archives/2011/10/20/cu
    stom-user-taxonomies-in-wordpress
Resources
• Taxonomies
  – Basics
     http://justintadlock.com/archives/2010/06/10/a-
    refresher-on-custom-taxonomies
  – More on implementation
    http://justintadlock.com/archives/2011/10/20/cu
    stom-user-taxonomies-in-wordpress
Resources
• Recommended RSS Feeds
  – Link to my Google Reader xml file
    (edit out one’s you already have, then import to
    your reader)
     http://dl.dropbox.com/u/26817239/stephs-
    wordpress-rss.xml

More Related Content

PDF
WordPress Template Hierarchy
PDF
The WordPress Theme Directory
PPTX
MCC Web Design Workshop
KEY
Open Source CMS Playroom
PPT
Wordpress template hierarchy
PPTX
Search Engine Optimization - The eye-opening presentation for beginners
PPTX
Wordpress overview
ZIP
WordPress as a CMS
WordPress Template Hierarchy
The WordPress Theme Directory
MCC Web Design Workshop
Open Source CMS Playroom
Wordpress template hierarchy
Search Engine Optimization - The eye-opening presentation for beginners
Wordpress overview
WordPress as a CMS

What's hot (20)

ODP
WordPress as a CMS
ODP
WordPress as a CMS v2
PPT
Drupal - Introduction to Drupal Menu and Theme Management
PPT
W pthemes
PPTX
WordPress Themes 101 - dotEduGuru Summit 2013
PPTX
Sagar presentation
PDF
Content-Driven WordPress Development - WordCamp Omaha 2014
PPTX
advance theme development
PPTX
WordPress Themes 101 - HighEdWeb New England 2013
PDF
WordPress Theme Workshop: Part 2
PDF
The very introduction to content management systems
KEY
American University WordPress Theming Lecture
PDF
Visual Design for Content Management Systems
PPTX
Drupal architectures for flexible content - Drupalcon Barcelona
PDF
Drupal for Non-Developers
ODP
Wp Themes
KEY
Learn Drupal's Most Powerful Site-Building Modules: Display Suite, Context, V...
PPTX
Drupal: Organizing Content for Multiple Audiences
PPT
WordPress 101 - Self-Administered Small Business Web Sites and/or Blogs; Wor...
PDF
Add Custom Post Types to Your WordPress Website
WordPress as a CMS
WordPress as a CMS v2
Drupal - Introduction to Drupal Menu and Theme Management
W pthemes
WordPress Themes 101 - dotEduGuru Summit 2013
Sagar presentation
Content-Driven WordPress Development - WordCamp Omaha 2014
advance theme development
WordPress Themes 101 - HighEdWeb New England 2013
WordPress Theme Workshop: Part 2
The very introduction to content management systems
American University WordPress Theming Lecture
Visual Design for Content Management Systems
Drupal architectures for flexible content - Drupalcon Barcelona
Drupal for Non-Developers
Wp Themes
Learn Drupal's Most Powerful Site-Building Modules: Display Suite, Context, V...
Drupal: Organizing Content for Multiple Audiences
WordPress 101 - Self-Administered Small Business Web Sites and/or Blogs; Wor...
Add Custom Post Types to Your WordPress Website
Ad

Similar to The Flexibility of WordPress (20)

KEY
Custom Post Types in Depth at WordCamp Montreal
PPTX
Wordpress workflow for an agency world
PDF
Stepping Into Custom Post Types
PDF
WordPress Beginners Workshop
PDF
Custom post types- Choose Your Own Adventure - WordCamp Atlanta 2014 - Evan M...
PPT
Internet Librarian Slides
PPTX
The WordPress University 2012
PPT
Week 7 introduction to theme development
PDF
Custom Post Types in the wild (WordCamp Sofia 2012)
PDF
Beginning WordPress Workshop
PPTX
Custom WordPress theme development
PPT
WordPress Complete Tutorial
PPT
An Introduction to Custom Post Types
PPTX
WordCamp Kent 2019 - WP 101: Custom Post Type & Custom Fields
PPTX
How to content manage everything
PPTX
Custom Post Types - WordPress
PPTX
WP 101 - Custom Fields & Post Types
PPTX
Word press training
PDF
WordPress Custom Post Type
PPTX
Wordpress Custom Post Types
Custom Post Types in Depth at WordCamp Montreal
Wordpress workflow for an agency world
Stepping Into Custom Post Types
WordPress Beginners Workshop
Custom post types- Choose Your Own Adventure - WordCamp Atlanta 2014 - Evan M...
Internet Librarian Slides
The WordPress University 2012
Week 7 introduction to theme development
Custom Post Types in the wild (WordCamp Sofia 2012)
Beginning WordPress Workshop
Custom WordPress theme development
WordPress Complete Tutorial
An Introduction to Custom Post Types
WordCamp Kent 2019 - WP 101: Custom Post Type & Custom Fields
How to content manage everything
Custom Post Types - WordPress
WP 101 - Custom Fields & Post Types
Word press training
WordPress Custom Post Type
Wordpress Custom Post Types
Ad

Recently uploaded (20)

PDF
Ensemble model-based arrhythmia classification with local interpretable model...
PDF
Planning-an-Audit-A-How-To-Guide-Checklist-WP.pdf
PDF
MENA-ECEONOMIC-CONTEXT-VC MENA-ECEONOMIC
PDF
substrate PowerPoint Presentation basic one
PDF
NewMind AI Weekly Chronicles – August ’25 Week IV
PPTX
Build automations faster and more reliably with UiPath ScreenPlay
PDF
Introduction to MCP and A2A Protocols: Enabling Agent Communication
PDF
Electrocardiogram sequences data analytics and classification using unsupervi...
PDF
Transform-Your-Factory-with-AI-Driven-Quality-Engineering.pdf
PDF
Rapid Prototyping: A lecture on prototyping techniques for interface design
PDF
CXOs-Are-you-still-doing-manual-DevOps-in-the-age-of-AI.pdf
PPTX
AI-driven Assurance Across Your End-to-end Network With ThousandEyes
PDF
5-Ways-AI-is-Revolutionizing-Telecom-Quality-Engineering.pdf
PDF
Early detection and classification of bone marrow changes in lumbar vertebrae...
PDF
ment.tech-Siri Delay Opens AI Startup Opportunity in 2025.pdf
PDF
Data Virtualization in Action: Scaling APIs and Apps with FME
PDF
The-2025-Engineering-Revolution-AI-Quality-and-DevOps-Convergence.pdf
PDF
Examining Bias in AI Generated News Content.pdf
PDF
Human Computer Interaction Miterm Lesson
PDF
zbrain.ai-Scope Key Metrics Configuration and Best Practices.pdf
Ensemble model-based arrhythmia classification with local interpretable model...
Planning-an-Audit-A-How-To-Guide-Checklist-WP.pdf
MENA-ECEONOMIC-CONTEXT-VC MENA-ECEONOMIC
substrate PowerPoint Presentation basic one
NewMind AI Weekly Chronicles – August ’25 Week IV
Build automations faster and more reliably with UiPath ScreenPlay
Introduction to MCP and A2A Protocols: Enabling Agent Communication
Electrocardiogram sequences data analytics and classification using unsupervi...
Transform-Your-Factory-with-AI-Driven-Quality-Engineering.pdf
Rapid Prototyping: A lecture on prototyping techniques for interface design
CXOs-Are-you-still-doing-manual-DevOps-in-the-age-of-AI.pdf
AI-driven Assurance Across Your End-to-end Network With ThousandEyes
5-Ways-AI-is-Revolutionizing-Telecom-Quality-Engineering.pdf
Early detection and classification of bone marrow changes in lumbar vertebrae...
ment.tech-Siri Delay Opens AI Startup Opportunity in 2025.pdf
Data Virtualization in Action: Scaling APIs and Apps with FME
The-2025-Engineering-Revolution-AI-Quality-and-DevOps-Convergence.pdf
Examining Bias in AI Generated News Content.pdf
Human Computer Interaction Miterm Lesson
zbrain.ai-Scope Key Metrics Configuration and Best Practices.pdf

The Flexibility of WordPress

  • 1. The Flexibility of WordPress
  • 2. Multiple Content Types • Pages – Main site pages – Apply templates for advanced functionality – Are hierarchical (can have parent/child relationships) • Posts – Flexible for any content, anywhere – Tags and categories allow content segmentation – Not hierarchical • Custom Post Types – Provide a separate interface for totally custom content – Create if default Posts are in use already (ie. a blog) – OR for highly special content that doesn’t fit normal post schema (home page slider) – Can be hierarchical, but are not by default
  • 3. Page Templates • Used when layout or functionality doesn’t match the rest of the theme and cannot be added through the post editor • Examples – Highly specialized forms – Precisely placed elements, like maps – Single column instead of theme’s regular two – Specific scripts only needed on that page – Other special layouts – Members-only or other protected areas
  • 4. Implementing Page Templates • Two main ways – From Page Editor • Works only for Pages • End-user is able to change – With get_template_part() and a conditional statement • Done on a theme level • Provides way to get any template from anywhere, even if it’s just a small piece (like social media links or a gallery)
  • 5. Post Tags and Categories • Both provide a way to group and navigate content • Both are searchable and form archive pages by default • Categories – Umbrella groups for similar content topics – Are hierarchical (can have parent/child relationships) – Use to separate content but still use the default post editor • Tags – Like keywords – Especially useful for blogs to connect topics – Also useful for ecommerce • Analogy for Use – A book store would categorize by genre, but tag each book with the author
  • 6. Custom Taxonomies • Categories and Tags are “taxonomies” • Custom Taxonomies essentially work the same, but are more easily distinguishable • Book Store Example – “Genre” would be a custom taxonomy instead of using the default categories – “Author” would be created instead of using tags
  • 7. Custom Post Types (CPT) • Useful to make specialized content readily accessible to end-users • Can be made inaccessible by search, and therefore be used to insert and organize small bits of content – Example: Sliders • Only include the interface elements needed – ie. only the Title, Editor, and Featured Image and not Categories or Tags
  • 8. Custom Fields • Provide additional post meta for Posts or Pages via customized UI elements • Any form field can be used to get additional data • How to Use – DO use for variable data – DO use to make content easier for end-user to edit – DO use to insert content and retain theme styling – DO NOT use when the data needs to form relationships between posts/pages – use a taxonomy instead
  • 9. Custom Fields • Favorite Uses – Checkbox to mark as a featured post – Radio to place in a specific area – Checkboxes to add product features – A series of rich-editor enabled textareas to add content to a special layout (especially from CPT) – Extra upload for specific media display/output
  • 10. Creating CPT, Custom Taxonomies, and Custom Fields Demo of Easy Custom Post Types plugin
  • 11. Plan for Next Sessions • How to Get What You Want: Part I – Basic theme tags – The WordPress Loop, and how to Query • How to Get What You Want: Part II – Conditional Statements, Custom Fields, and get_template_part() • Helping the End User Part I – Shortcodes v. Custom Fields • Helping the End User Part II – Theme Options • Plugins and Functions – When to use – Functionality plugins vs. functions.php – Recommended plugins • Defending Themes From End-Users – Final setup of user accounts and training
  • 12. Resources • The WordPress Codex – Your new best friend, so go get friendly http://codex.wordpress.org/ • Pages – http://codex.wordpress.org/Pages – Page Templates • Create basic template: http://codex.wordpress.org/Pages#Creating_Your_Own_Pag e_Templates • Post Types – About various post types http://codex.wordpress.org/Post_Types
  • 13. Resources • Taxonomies – Basics http://justintadlock.com/archives/2010/06/10/a- refresher-on-custom-taxonomies – More on implementation http://justintadlock.com/archives/2011/10/20/cu stom-user-taxonomies-in-wordpress
  • 14. Resources • Taxonomies – Basics http://justintadlock.com/archives/2010/06/10/a- refresher-on-custom-taxonomies – More on implementation http://justintadlock.com/archives/2011/10/20/cu stom-user-taxonomies-in-wordpress
  • 15. Resources • Recommended RSS Feeds – Link to my Google Reader xml file (edit out one’s you already have, then import to your reader) http://dl.dropbox.com/u/26817239/stephs- wordpress-rss.xml