SlideShare a Scribd company logo
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

What's hot

WordPress as a CMS
WordPress as a CMSWordPress as a CMS
WordPress as a CMS
mwalters8
 
WordPress as a CMS v2
WordPress as a CMS v2WordPress as a CMS v2
WordPress as a CMS v2
mwalters8
 
Drupal - Introduction to Drupal Menu and Theme Management
Drupal - Introduction to Drupal Menu and Theme  ManagementDrupal - Introduction to Drupal Menu and Theme  Management
Drupal - Introduction to Drupal Menu and Theme Management
Vibrant Technologies & Computers
 
W pthemes
W pthemesW pthemes
W pthemes
Becky Davis
 
WordPress Themes 101 - dotEduGuru Summit 2013
WordPress Themes 101 - dotEduGuru Summit 2013WordPress Themes 101 - dotEduGuru Summit 2013
WordPress Themes 101 - dotEduGuru Summit 2013
Curtiss Grymala
 
Sagar presentation
Sagar presentationSagar presentation
Sagar presentation
1amitgupta
 
Content-Driven WordPress Development - WordCamp Omaha 2014
Content-Driven WordPress Development - WordCamp Omaha 2014Content-Driven WordPress Development - WordCamp Omaha 2014
Content-Driven WordPress Development - WordCamp Omaha 2014
Stephanie Eckles
 
advance theme development
advance theme developmentadvance theme development
advance theme development
1amitgupta
 
WordPress Themes 101 - HighEdWeb New England 2013
WordPress Themes 101 - HighEdWeb New England 2013WordPress Themes 101 - HighEdWeb New England 2013
WordPress Themes 101 - HighEdWeb New England 2013
Curtiss Grymala
 
WordPress Theme Workshop: Part 2
WordPress Theme Workshop: Part 2WordPress Theme Workshop: Part 2
WordPress Theme Workshop: Part 2
David Bisset
 
The very introduction to content management systems
The very introduction to content management systemsThe very introduction to content management systems
The very introduction to content management systems
Sean Donnelly BA MSc QFA
 
American University WordPress Theming Lecture
American University WordPress Theming LectureAmerican University WordPress Theming Lecture
American University WordPress Theming LectureAaron Brazell
 
Visual Design for Content Management Systems
Visual Design for Content Management SystemsVisual Design for Content Management Systems
Visual Design for Content Management Systems
Dani Nordin
 
Drupal architectures for flexible content - Drupalcon Barcelona
Drupal architectures for flexible content - Drupalcon BarcelonaDrupal architectures for flexible content - Drupalcon Barcelona
Drupal architectures for flexible content - Drupalcon Barcelona
hernanibf
 
Drupal for Non-Developers
Drupal for Non-DevelopersDrupal for Non-Developers
Drupal for Non-Developers
Jeff Pompliano
 
Learn Drupal's Most Powerful Site-Building Modules: Display Suite, Context, V...
Learn Drupal's Most Powerful Site-Building Modules: Display Suite, Context, V...Learn Drupal's Most Powerful Site-Building Modules: Display Suite, Context, V...
Learn Drupal's Most Powerful Site-Building Modules: Display Suite, Context, V...
Mediacurrent
 
Drupal: Organizing Content for Multiple Audiences
Drupal: Organizing Content for Multiple AudiencesDrupal: Organizing Content for Multiple Audiences
Drupal: Organizing Content for Multiple Audiences
iFactory
 
WordPress 101 - Self-Administered Small Business Web Sites and/or Blogs; Wor...
WordPress 101 - Self-Administered Small Business Web Sites and/or Blogs;  Wor...WordPress 101 - Self-Administered Small Business Web Sites and/or Blogs;  Wor...
WordPress 101 - Self-Administered Small Business Web Sites and/or Blogs; Wor...
Michael Yublosky
 
Add Custom Post Types to Your WordPress Website
Add Custom Post Types to Your WordPress WebsiteAdd Custom Post Types to Your WordPress Website
Add Custom Post Types to Your WordPress Website
Dustin Hartzler
 

What's hot (20)

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

Similar to The Flexibility of WordPress

Custom Post Types in Depth at WordCamp Montreal
Custom Post Types in Depth at WordCamp MontrealCustom Post Types in Depth at WordCamp Montreal
Custom Post Types in Depth at WordCamp Montreal
Joey Kudish
 
Newspapers with WordPress
Newspapers with WordPressNewspapers with WordPress
Newspapers with WordPress
Christopher Ross
 
WordPress - Open Source Overview Presentation
WordPress - Open Source Overview PresentationWordPress - Open Source Overview Presentation
WordPress - Open Source Overview Presentation
Andy Stratton
 
WordPress can do that?!
WordPress can do that?!WordPress can do that?!
WordPress can do that?!
Scott McNulty
 
WordPress Template hierarchy
WordPress Template hierarchyWordPress Template hierarchy
WordPress Template hierarchy
Jason Yingling
 
CapitalCamp DC 2012: Taxonomy
CapitalCamp DC 2012: TaxonomyCapitalCamp DC 2012: Taxonomy
CapitalCamp DC 2012: Taxonomy
Natalya Minkovsky
 
The WordPress University 2012
The WordPress University 2012The WordPress University 2012
The WordPress University 2012Stephanie Leary
 
WordPress as a CMS (short version)
WordPress as a CMS (short version)WordPress as a CMS (short version)
WordPress as a CMS (short version)
Stephanie Leary
 
Starting WordPress Theme Review
Starting WordPress Theme ReviewStarting WordPress Theme Review
Starting WordPress Theme Review
Catch Themes
 
Websites With Wordpress
Websites With WordpressWebsites With Wordpress
Websites With Wordpress
Charly Leetham
 
IA& Taxonomy Planning for SharePoint Online & Office 365
IA& Taxonomy Planning for SharePoint Online & Office 365IA& Taxonomy Planning for SharePoint Online & Office 365
IA& Taxonomy Planning for SharePoint Online & Office 365
DocFluix, LLC
 
Using Custom Post Types and Advanced Custom Fields with Elementor
 Using Custom Post Types and Advanced Custom Fields with Elementor Using Custom Post Types and Advanced Custom Fields with Elementor
Using Custom Post Types and Advanced Custom Fields with Elementor
Angela Bowman
 
Wordpress Custom Post Types
Wordpress Custom Post TypesWordpress Custom Post Types
Wordpress Custom Post Types
Brent Williams
 
WordPress Blogs 101
WordPress Blogs 101WordPress Blogs 101
WordPress Blogs 101
Tom McGee
 
WordPress custom posts types for structured content
WordPress custom posts types for structured contentWordPress custom posts types for structured content
WordPress custom posts types for structured content
Firestorm Creative Studios
 
Wordpress theme development
Wordpress theme developmentWordpress theme development
Wordpress theme development
Naeem Junejo
 
From 0 to 100 with Content types
From 0 to 100 with Content typesFrom 0 to 100 with Content types
From 0 to 100 with Content types
Joanne Klein
 
Custom post types - WordPress
Custom post types - WordPressCustom post types - WordPress
Custom post types - WordPress
keithdevon
 
How to annotate_with_wordpress
How to annotate_with_wordpressHow to annotate_with_wordpress
How to annotate_with_wordpress
STIinnsbruck
 
Beginning WordPress Workshop
Beginning WordPress WorkshopBeginning WordPress Workshop
Beginning WordPress Workshop
The Toolbox, Inc.
 

Similar to The Flexibility of WordPress (20)

Custom Post Types in Depth at WordCamp Montreal
Custom Post Types in Depth at WordCamp MontrealCustom Post Types in Depth at WordCamp Montreal
Custom Post Types in Depth at WordCamp Montreal
 
Newspapers with WordPress
Newspapers with WordPressNewspapers with WordPress
Newspapers with WordPress
 
WordPress - Open Source Overview Presentation
WordPress - Open Source Overview PresentationWordPress - Open Source Overview Presentation
WordPress - Open Source Overview Presentation
 
WordPress can do that?!
WordPress can do that?!WordPress can do that?!
WordPress can do that?!
 
WordPress Template hierarchy
WordPress Template hierarchyWordPress Template hierarchy
WordPress Template hierarchy
 
CapitalCamp DC 2012: Taxonomy
CapitalCamp DC 2012: TaxonomyCapitalCamp DC 2012: Taxonomy
CapitalCamp DC 2012: Taxonomy
 
The WordPress University 2012
The WordPress University 2012The WordPress University 2012
The WordPress University 2012
 
WordPress as a CMS (short version)
WordPress as a CMS (short version)WordPress as a CMS (short version)
WordPress as a CMS (short version)
 
Starting WordPress Theme Review
Starting WordPress Theme ReviewStarting WordPress Theme Review
Starting WordPress Theme Review
 
Websites With Wordpress
Websites With WordpressWebsites With Wordpress
Websites With Wordpress
 
IA& Taxonomy Planning for SharePoint Online & Office 365
IA& Taxonomy Planning for SharePoint Online & Office 365IA& Taxonomy Planning for SharePoint Online & Office 365
IA& Taxonomy Planning for SharePoint Online & Office 365
 
Using Custom Post Types and Advanced Custom Fields with Elementor
 Using Custom Post Types and Advanced Custom Fields with Elementor Using Custom Post Types and Advanced Custom Fields with Elementor
Using Custom Post Types and Advanced Custom Fields with Elementor
 
Wordpress Custom Post Types
Wordpress Custom Post TypesWordpress Custom Post Types
Wordpress Custom Post Types
 
WordPress Blogs 101
WordPress Blogs 101WordPress Blogs 101
WordPress Blogs 101
 
WordPress custom posts types for structured content
WordPress custom posts types for structured contentWordPress custom posts types for structured content
WordPress custom posts types for structured content
 
Wordpress theme development
Wordpress theme developmentWordpress theme development
Wordpress theme development
 
From 0 to 100 with Content types
From 0 to 100 with Content typesFrom 0 to 100 with Content types
From 0 to 100 with Content types
 
Custom post types - WordPress
Custom post types - WordPressCustom post types - WordPress
Custom post types - WordPress
 
How to annotate_with_wordpress
How to annotate_with_wordpressHow to annotate_with_wordpress
How to annotate_with_wordpress
 
Beginning WordPress Workshop
Beginning WordPress WorkshopBeginning WordPress Workshop
Beginning WordPress Workshop
 

Recently uploaded

UiPath Test Automation using UiPath Test Suite series, part 4
UiPath Test Automation using UiPath Test Suite series, part 4UiPath Test Automation using UiPath Test Suite series, part 4
UiPath Test Automation using UiPath Test Suite series, part 4
DianaGray10
 
Securing your Kubernetes cluster_ a step-by-step guide to success !
Securing your Kubernetes cluster_ a step-by-step guide to success !Securing your Kubernetes cluster_ a step-by-step guide to success !
Securing your Kubernetes cluster_ a step-by-step guide to success !
KatiaHIMEUR1
 
By Design, not by Accident - Agile Venture Bolzano 2024
By Design, not by Accident - Agile Venture Bolzano 2024By Design, not by Accident - Agile Venture Bolzano 2024
By Design, not by Accident - Agile Venture Bolzano 2024
Pierluigi Pugliese
 
Secstrike : Reverse Engineering & Pwnable tools for CTF.pptx
Secstrike : Reverse Engineering & Pwnable tools for CTF.pptxSecstrike : Reverse Engineering & Pwnable tools for CTF.pptx
Secstrike : Reverse Engineering & Pwnable tools for CTF.pptx
nkrafacyberclub
 
SAP Sapphire 2024 - ASUG301 building better apps with SAP Fiori.pdf
SAP Sapphire 2024 - ASUG301 building better apps with SAP Fiori.pdfSAP Sapphire 2024 - ASUG301 building better apps with SAP Fiori.pdf
SAP Sapphire 2024 - ASUG301 building better apps with SAP Fiori.pdf
Peter Spielvogel
 
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
James Anderson
 
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdfFIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance
 
Transcript: Selling digital books in 2024: Insights from industry leaders - T...
Transcript: Selling digital books in 2024: Insights from industry leaders - T...Transcript: Selling digital books in 2024: Insights from industry leaders - T...
Transcript: Selling digital books in 2024: Insights from industry leaders - T...
BookNet Canada
 
Monitoring Java Application Security with JDK Tools and JFR Events
Monitoring Java Application Security with JDK Tools and JFR EventsMonitoring Java Application Security with JDK Tools and JFR Events
Monitoring Java Application Security with JDK Tools and JFR Events
Ana-Maria Mihalceanu
 
Uni Systems Copilot event_05062024_C.Vlachos.pdf
Uni Systems Copilot event_05062024_C.Vlachos.pdfUni Systems Copilot event_05062024_C.Vlachos.pdf
Uni Systems Copilot event_05062024_C.Vlachos.pdf
Uni Systems S.M.S.A.
 
UiPath Test Automation using UiPath Test Suite series, part 5
UiPath Test Automation using UiPath Test Suite series, part 5UiPath Test Automation using UiPath Test Suite series, part 5
UiPath Test Automation using UiPath Test Suite series, part 5
DianaGray10
 
State of ICS and IoT Cyber Threat Landscape Report 2024 preview
State of ICS and IoT Cyber Threat Landscape Report 2024 previewState of ICS and IoT Cyber Threat Landscape Report 2024 preview
State of ICS and IoT Cyber Threat Landscape Report 2024 preview
Prayukth K V
 
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdfFIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance
 
Introduction to CHERI technology - Cybersecurity
Introduction to CHERI technology - CybersecurityIntroduction to CHERI technology - Cybersecurity
Introduction to CHERI technology - Cybersecurity
mikeeftimakis1
 
A tale of scale & speed: How the US Navy is enabling software delivery from l...
A tale of scale & speed: How the US Navy is enabling software delivery from l...A tale of scale & speed: How the US Navy is enabling software delivery from l...
A tale of scale & speed: How the US Navy is enabling software delivery from l...
sonjaschweigert1
 
Elizabeth Buie - Older adults: Are we really designing for our future selves?
Elizabeth Buie - Older adults: Are we really designing for our future selves?Elizabeth Buie - Older adults: Are we really designing for our future selves?
Elizabeth Buie - Older adults: Are we really designing for our future selves?
Nexer Digital
 
Epistemic Interaction - tuning interfaces to provide information for AI support
Epistemic Interaction - tuning interfaces to provide information for AI supportEpistemic Interaction - tuning interfaces to provide information for AI support
Epistemic Interaction - tuning interfaces to provide information for AI support
Alan Dix
 
GraphRAG is All You need? LLM & Knowledge Graph
GraphRAG is All You need? LLM & Knowledge GraphGraphRAG is All You need? LLM & Knowledge Graph
GraphRAG is All You need? LLM & Knowledge Graph
Guy Korland
 
GraphSummit Singapore | The Art of the Possible with Graph - Q2 2024
GraphSummit Singapore | The Art of the  Possible with Graph - Q2 2024GraphSummit Singapore | The Art of the  Possible with Graph - Q2 2024
GraphSummit Singapore | The Art of the Possible with Graph - Q2 2024
Neo4j
 
Alt. GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using ...
Alt. GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using ...Alt. GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using ...
Alt. GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using ...
James Anderson
 

Recently uploaded (20)

UiPath Test Automation using UiPath Test Suite series, part 4
UiPath Test Automation using UiPath Test Suite series, part 4UiPath Test Automation using UiPath Test Suite series, part 4
UiPath Test Automation using UiPath Test Suite series, part 4
 
Securing your Kubernetes cluster_ a step-by-step guide to success !
Securing your Kubernetes cluster_ a step-by-step guide to success !Securing your Kubernetes cluster_ a step-by-step guide to success !
Securing your Kubernetes cluster_ a step-by-step guide to success !
 
By Design, not by Accident - Agile Venture Bolzano 2024
By Design, not by Accident - Agile Venture Bolzano 2024By Design, not by Accident - Agile Venture Bolzano 2024
By Design, not by Accident - Agile Venture Bolzano 2024
 
Secstrike : Reverse Engineering & Pwnable tools for CTF.pptx
Secstrike : Reverse Engineering & Pwnable tools for CTF.pptxSecstrike : Reverse Engineering & Pwnable tools for CTF.pptx
Secstrike : Reverse Engineering & Pwnable tools for CTF.pptx
 
SAP Sapphire 2024 - ASUG301 building better apps with SAP Fiori.pdf
SAP Sapphire 2024 - ASUG301 building better apps with SAP Fiori.pdfSAP Sapphire 2024 - ASUG301 building better apps with SAP Fiori.pdf
SAP Sapphire 2024 - ASUG301 building better apps with SAP Fiori.pdf
 
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
 
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdfFIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
 
Transcript: Selling digital books in 2024: Insights from industry leaders - T...
Transcript: Selling digital books in 2024: Insights from industry leaders - T...Transcript: Selling digital books in 2024: Insights from industry leaders - T...
Transcript: Selling digital books in 2024: Insights from industry leaders - T...
 
Monitoring Java Application Security with JDK Tools and JFR Events
Monitoring Java Application Security with JDK Tools and JFR EventsMonitoring Java Application Security with JDK Tools and JFR Events
Monitoring Java Application Security with JDK Tools and JFR Events
 
Uni Systems Copilot event_05062024_C.Vlachos.pdf
Uni Systems Copilot event_05062024_C.Vlachos.pdfUni Systems Copilot event_05062024_C.Vlachos.pdf
Uni Systems Copilot event_05062024_C.Vlachos.pdf
 
UiPath Test Automation using UiPath Test Suite series, part 5
UiPath Test Automation using UiPath Test Suite series, part 5UiPath Test Automation using UiPath Test Suite series, part 5
UiPath Test Automation using UiPath Test Suite series, part 5
 
State of ICS and IoT Cyber Threat Landscape Report 2024 preview
State of ICS and IoT Cyber Threat Landscape Report 2024 previewState of ICS and IoT Cyber Threat Landscape Report 2024 preview
State of ICS and IoT Cyber Threat Landscape Report 2024 preview
 
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdfFIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
 
Introduction to CHERI technology - Cybersecurity
Introduction to CHERI technology - CybersecurityIntroduction to CHERI technology - Cybersecurity
Introduction to CHERI technology - Cybersecurity
 
A tale of scale & speed: How the US Navy is enabling software delivery from l...
A tale of scale & speed: How the US Navy is enabling software delivery from l...A tale of scale & speed: How the US Navy is enabling software delivery from l...
A tale of scale & speed: How the US Navy is enabling software delivery from l...
 
Elizabeth Buie - Older adults: Are we really designing for our future selves?
Elizabeth Buie - Older adults: Are we really designing for our future selves?Elizabeth Buie - Older adults: Are we really designing for our future selves?
Elizabeth Buie - Older adults: Are we really designing for our future selves?
 
Epistemic Interaction - tuning interfaces to provide information for AI support
Epistemic Interaction - tuning interfaces to provide information for AI supportEpistemic Interaction - tuning interfaces to provide information for AI support
Epistemic Interaction - tuning interfaces to provide information for AI support
 
GraphRAG is All You need? LLM & Knowledge Graph
GraphRAG is All You need? LLM & Knowledge GraphGraphRAG is All You need? LLM & Knowledge Graph
GraphRAG is All You need? LLM & Knowledge Graph
 
GraphSummit Singapore | The Art of the Possible with Graph - Q2 2024
GraphSummit Singapore | The Art of the  Possible with Graph - Q2 2024GraphSummit Singapore | The Art of the  Possible with Graph - Q2 2024
GraphSummit Singapore | The Art of the Possible with Graph - Q2 2024
 
Alt. GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using ...
Alt. GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using ...Alt. GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using ...
Alt. GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using ...
 

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