SlideShare a Scribd company logo
1 of 38
What’s New in 3.0

Stephanie Leary
     @sleary
  sillybean.net
User Features
•   Twenty Ten theme
•   Menus
•   Help tabs
•   Unified Updater
Theme Functions
•   the_shortlink()
•   get_template_part()
•   comment_form()
•   wp_nav_menu()
the_shortlink()
•   This is the short link.
•   http://blog.example.com/?p=123
•   http://wp.me/pZhYe-nl


•   wp_get_shortlink()
get_template_part()
•   new:
    get_template_part(foo.php);


•   old:
    include(TEMPLATEPATH."/foo.php");
comment_form()
•   Replaces the entire <form>
    contents
•   Markup and labels can be changed
    using $args array
wp_nav_menu()
•   wp_nav_menu("menu=Main");


•   wp_nav_menu("fallback_cb=wp_list_
    categories");


•   in functions.php:
    add_theme_support("nav_menus");
Background Images
•   add_custom_background();
New Theme Files
•   single-content-type.php
•   author.php
•   author-id.php
•   author-nickname.php
•   category-slug.php
Custom Post Types
•   register_post_type(
      ‘course’,
      array(
         ‘labels‘ = array(
             ‘name‘ => ‘Courses’,
             ‘singular_name‘ =>
    ‘Courses‘
          )
      )
Custom Post Loops
•   query_posts(‘post_type=post,course
    ’);
Custom Post Feeds
•   /?feed=rss2&post_type=course
•   /feed/?post_type=course
•   /feed/?post_type=post,page,course
Custom Post Type UI
Listing Post Types
Post Type Switcher
Convert Post Types
Hierarchical
Taxonomies
Definining
        Taxonomies
•   register_taxonomy(
       ‘college’,
       array(‘course’, ‘post’),
    );
Edit Columns
Feeds
•   /college/science/feed
•   /college/science/feed/atom
•   /?feed=rss2&college=science
Gotchas
•   Archives are defined for terms, but
    not for the taxonomy itself (404)
•   Hierarchical taxonomy URLs are not
    built like categories
    (/parent/child)
Permalinks
•   http://dd32.id.au/files/wordpress/
    example-hierarchical-term-
    links.php
Multisite/Networks
•   Requirements:
    •   Subdomains: wildcard DNS
    •   Subdirectories: .htaccess
Activating the Network
 •   define(‘WP_ALLOW_MULTISITE’,
     true);
Gotchas
•   Main site archives move to /blog
•   Upload buttons disappear
•   Themes must be network-enabled
•   Plugins & apps not made for multi:
    •   XML Sitemaps
    •   iPhone app
Plugins for Multisite
•   MU Helpers
•   Domain Mapping
Things That Went Away
 •   Option for global tags
 •   Miscellaneous Settings page
 •   importers (plugins)
Questions?
 Stephanie Leary
      @sleary
   sillybean.net

More Related Content

What's hot

What's hot (20)

10 Steps Not To Forget After Installing Drupal
10 Steps Not To Forget After Installing Drupal 10 Steps Not To Forget After Installing Drupal
10 Steps Not To Forget After Installing Drupal
 
BEAR v0.9 (Saturday)
BEAR v0.9 (Saturday)BEAR v0.9 (Saturday)
BEAR v0.9 (Saturday)
 
Design todevelop
Design todevelopDesign todevelop
Design todevelop
 
Carrington Core (2014)
Carrington Core (2014)Carrington Core (2014)
Carrington Core (2014)
 
advance theme development
advance theme developmentadvance theme development
advance theme development
 
WordPress Template Hierarchy
WordPress Template HierarchyWordPress Template Hierarchy
WordPress Template Hierarchy
 
Enrich your extensions with Joomla! ACL support
Enrich your extensions with Joomla! ACL supportEnrich your extensions with Joomla! ACL support
Enrich your extensions with Joomla! ACL support
 
WordPress Template hierarchy
WordPress Template hierarchyWordPress Template hierarchy
WordPress Template hierarchy
 
Introduction to XMLUI and Mirage Theming for DSpace 3
Introduction to XMLUI and Mirage Theming for DSpace 3Introduction to XMLUI and Mirage Theming for DSpace 3
Introduction to XMLUI and Mirage Theming for DSpace 3
 
Sagar presentation
Sagar presentationSagar presentation
Sagar presentation
 
Creating forms
Creating formsCreating forms
Creating forms
 
The Flexibility of WordPress
The Flexibility of WordPressThe Flexibility of WordPress
The Flexibility of WordPress
 
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
 
Joomla! 1.6 ACL at #jd10uk
Joomla! 1.6 ACL at #jd10ukJoomla! 1.6 ACL at #jd10uk
Joomla! 1.6 ACL at #jd10uk
 
Drupal as a Programmer-Friendly CMS at ConFoo
Drupal as a Programmer-Friendly CMS at ConFooDrupal as a Programmer-Friendly CMS at ConFoo
Drupal as a Programmer-Friendly CMS at ConFoo
 
YAG - Yet Another Gallery / T3CON11
YAG - Yet Another Gallery / T3CON11YAG - Yet Another Gallery / T3CON11
YAG - Yet Another Gallery / T3CON11
 
Drupal 8 theming deep dive
Drupal 8 theming deep diveDrupal 8 theming deep dive
Drupal 8 theming deep dive
 
YAG - Yet Another Gallery
YAG - Yet Another GalleryYAG - Yet Another Gallery
YAG - Yet Another Gallery
 
Introduction to YUI PHP Loader
Introduction to YUI PHP LoaderIntroduction to YUI PHP Loader
Introduction to YUI PHP Loader
 
flickr's architecture & php
flickr's architecture & php flickr's architecture & php
flickr's architecture & php
 

Viewers also liked

International Human Resources Management - The Turkey Example
International Human Resources Management - The Turkey ExampleInternational Human Resources Management - The Turkey Example
International Human Resources Management - The Turkey Example
Mustafa Mert Dikmen, MSc
 
Mobil Uygulama Geliştirme Klavuzu
Mobil Uygulama Geliştirme KlavuzuMobil Uygulama Geliştirme Klavuzu
Mobil Uygulama Geliştirme Klavuzu
Sybase Türkiye
 
Wordpress Eklenti Geliştirme Atölyesi (Wordpress için Lms Eklentisi Örneği – ...
Wordpress Eklenti Geliştirme Atölyesi (Wordpress için Lms Eklentisi Örneği – ...Wordpress Eklenti Geliştirme Atölyesi (Wordpress için Lms Eklentisi Örneği – ...
Wordpress Eklenti Geliştirme Atölyesi (Wordpress için Lms Eklentisi Örneği – ...
Enformatik Seminerleri
 
A model for developing multimedia learning projects
A model for developing multimedia learning projectsA model for developing multimedia learning projects
A model for developing multimedia learning projects
wanchalerm sotawong
 
Presentation mersin 15-4-2013
Presentation mersin 15-4-2013Presentation mersin 15-4-2013
Presentation mersin 15-4-2013
fedeslide
 

Viewers also liked (20)

Bi̇lgi̇ nedi̇r?
Bi̇lgi̇ nedi̇r?Bi̇lgi̇ nedi̇r?
Bi̇lgi̇ nedi̇r?
 
Technip France 4
Technip France 4Technip France 4
Technip France 4
 
Davranis bilimleri dersi sunum 2
Davranis bilimleri dersi sunum 2Davranis bilimleri dersi sunum 2
Davranis bilimleri dersi sunum 2
 
Agile Deployments with Puppet
Agile Deployments with PuppetAgile Deployments with Puppet
Agile Deployments with Puppet
 
Ensa Metal Paslanmaz Boru ve Paslanmaz Urunleri Katalog
Ensa Metal Paslanmaz Boru ve Paslanmaz Urunleri KatalogEnsa Metal Paslanmaz Boru ve Paslanmaz Urunleri Katalog
Ensa Metal Paslanmaz Boru ve Paslanmaz Urunleri Katalog
 
Lionel Messi
Lionel MessiLionel Messi
Lionel Messi
 
Maden aramalarında oluşan_sorunlar_ve_önlemler
Maden aramalarında oluşan_sorunlar_ve_önlemlerMaden aramalarında oluşan_sorunlar_ve_önlemler
Maden aramalarında oluşan_sorunlar_ve_önlemler
 
Çanakkale Geçilmez - Çanakkale Savaşı
Çanakkale Geçilmez - Çanakkale SavaşıÇanakkale Geçilmez - Çanakkale Savaşı
Çanakkale Geçilmez - Çanakkale Savaşı
 
Malezya ulke raporu_2013
Malezya ulke raporu_2013Malezya ulke raporu_2013
Malezya ulke raporu_2013
 
International Human Resources Management - The Turkey Example
International Human Resources Management - The Turkey ExampleInternational Human Resources Management - The Turkey Example
International Human Resources Management - The Turkey Example
 
2023 Hedefleri Yolunda Bilgi ve İletişim Teknolojileri
2023 Hedefleri Yolunda Bilgi ve İletişim Teknolojileri2023 Hedefleri Yolunda Bilgi ve İletişim Teknolojileri
2023 Hedefleri Yolunda Bilgi ve İletişim Teknolojileri
 
Mobil Uygulama Geliştirme Klavuzu
Mobil Uygulama Geliştirme KlavuzuMobil Uygulama Geliştirme Klavuzu
Mobil Uygulama Geliştirme Klavuzu
 
Wordpress Rehberi
Wordpress RehberiWordpress Rehberi
Wordpress Rehberi
 
Wordpress Eklenti Geliştirme Atölyesi (Wordpress için Lms Eklentisi Örneği – ...
Wordpress Eklenti Geliştirme Atölyesi (Wordpress için Lms Eklentisi Örneği – ...Wordpress Eklenti Geliştirme Atölyesi (Wordpress için Lms Eklentisi Örneği – ...
Wordpress Eklenti Geliştirme Atölyesi (Wordpress için Lms Eklentisi Örneği – ...
 
Arnavutkoy 2015 2019 stratejik plan - ihg
Arnavutkoy 2015 2019 stratejik plan - ihgArnavutkoy 2015 2019 stratejik plan - ihg
Arnavutkoy 2015 2019 stratejik plan - ihg
 
WM Dergi - 3.SAYI
WM Dergi - 3.SAYIWM Dergi - 3.SAYI
WM Dergi - 3.SAYI
 
Sesiones en Php
Sesiones en  PhpSesiones en  Php
Sesiones en Php
 
Eğitim hakkında herşey ..
Eğitim hakkında herşey ..Eğitim hakkında herşey ..
Eğitim hakkında herşey ..
 
A model for developing multimedia learning projects
A model for developing multimedia learning projectsA model for developing multimedia learning projects
A model for developing multimedia learning projects
 
Presentation mersin 15-4-2013
Presentation mersin 15-4-2013Presentation mersin 15-4-2013
Presentation mersin 15-4-2013
 

Similar to What's New in WordPress 3.0 (for developers)

The WordPress University 2012
The WordPress University 2012The WordPress University 2012
The WordPress University 2012
Stephanie Leary
 
How to get your theme in WordPress
How to get your theme in WordPressHow to get your theme in WordPress
How to get your theme in WordPress
Nisha Singh
 
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
 
The WordPress University
The WordPress UniversityThe WordPress University
The WordPress University
Stephanie Leary
 
Word press templates
Word press templatesWord press templates
Word press templates
Dan Phiffer
 

Similar to What's New in WordPress 3.0 (for developers) (20)

The WordPress University 2012
The WordPress University 2012The WordPress University 2012
The WordPress University 2012
 
Starting WordPress Theme Review
Starting WordPress Theme ReviewStarting WordPress Theme Review
Starting WordPress Theme Review
 
Wordpress theme development
Wordpress theme developmentWordpress theme development
Wordpress theme development
 
The Way to Theme Enlightenment 2017
The Way to Theme Enlightenment 2017The Way to Theme Enlightenment 2017
The Way to Theme Enlightenment 2017
 
Theme Development from the Coding End
Theme Development from the Coding EndTheme Development from the Coding End
Theme Development from the Coding End
 
Dev Theming
Dev ThemingDev Theming
Dev Theming
 
How to get your theme in WordPress
How to get your theme in WordPressHow to get your theme in WordPress
How to get your theme in WordPress
 
Intro to WordPress theme development
Intro to WordPress theme developmentIntro to WordPress theme development
Intro to WordPress theme development
 
The Way to Theme Enlightenment
The Way to Theme EnlightenmentThe Way to Theme Enlightenment
The Way to Theme Enlightenment
 
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
 
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
 
Builing a WordPress Theme
Builing a WordPress ThemeBuiling a WordPress Theme
Builing a WordPress Theme
 
WordPress as a CMS
WordPress as a CMSWordPress as a CMS
WordPress as a CMS
 
Arizona WP - Building a WordPress Theme
Arizona WP - Building a WordPress ThemeArizona WP - Building a WordPress Theme
Arizona WP - Building a WordPress Theme
 
Tricky Migrations
Tricky MigrationsTricky Migrations
Tricky Migrations
 
Staying Sane with Drupal NEPHP
Staying Sane with Drupal NEPHPStaying Sane with Drupal NEPHP
Staying Sane with Drupal NEPHP
 
Theming in WordPress - Where do I Start?
Theming in WordPress - Where do I Start?Theming in WordPress - Where do I Start?
Theming in WordPress - Where do I Start?
 
The WordPress University
The WordPress UniversityThe WordPress University
The WordPress University
 
Word press templates
Word press templatesWord press templates
Word press templates
 
WordPress can do that?!
WordPress can do that?!WordPress can do that?!
WordPress can do that?!
 

More from Stephanie Leary

WordPress Hidden Gems (July 2011)
WordPress Hidden Gems (July 2011)WordPress Hidden Gems (July 2011)
WordPress Hidden Gems (July 2011)
Stephanie Leary
 
WordPress Tips and Tricks (DFW Meetup)
WordPress Tips and Tricks (DFW Meetup)WordPress Tips and Tricks (DFW Meetup)
WordPress Tips and Tricks (DFW Meetup)
Stephanie Leary
 
Social Media for Researchers
Social Media for ResearchersSocial Media for Researchers
Social Media for Researchers
Stephanie Leary
 

More from Stephanie Leary (15)

WordPress for the 99%
WordPress for the 99%WordPress for the 99%
WordPress for the 99%
 
Content First in Action
Content First in ActionContent First in Action
Content First in Action
 
Writing for the Web in Government and Education
Writing for the Web in Government and EducationWriting for the Web in Government and Education
Writing for the Web in Government and Education
 
Getting to WordPress
Getting to WordPressGetting to WordPress
Getting to WordPress
 
Content Strategy for WordPress: Case Study
Content Strategy for WordPress: Case StudyContent Strategy for WordPress: Case Study
Content Strategy for WordPress: Case Study
 
Content Strategy for WordPress
Content Strategy for WordPressContent Strategy for WordPress
Content Strategy for WordPress
 
There's a Plugin for That
There's a Plugin for ThatThere's a Plugin for That
There's a Plugin for That
 
Keeping It Simple
Keeping It SimpleKeeping It Simple
Keeping It Simple
 
WordPress Hidden Gems (July 2011)
WordPress Hidden Gems (July 2011)WordPress Hidden Gems (July 2011)
WordPress Hidden Gems (July 2011)
 
WordPress Tips and Tricks (DFW Meetup)
WordPress Tips and Tricks (DFW Meetup)WordPress Tips and Tricks (DFW Meetup)
WordPress Tips and Tricks (DFW Meetup)
 
Importing & Migrating
Importing & MigratingImporting & Migrating
Importing & Migrating
 
WordPress Hidden Gems
WordPress Hidden GemsWordPress Hidden Gems
WordPress Hidden Gems
 
I'm with Stupid
I'm with StupidI'm with Stupid
I'm with Stupid
 
Social Media for Researchers
Social Media for ResearchersSocial Media for Researchers
Social Media for Researchers
 
WordPress as a CMS (short version)
WordPress as a CMS (short version)WordPress as a CMS (short version)
WordPress as a CMS (short version)
 

Recently uploaded

Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
?#DUbAI#??##{{(☎️+971_581248768%)**%*]'#abortion pills for sale in dubai@
 

Recently uploaded (20)

Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024
 
Ransomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdfRansomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdf
 
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
MS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsMS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectors
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 

What's New in WordPress 3.0 (for developers)

Editor's Notes

  1. Arguments are: fields, comment_field, must_log_in, logged_in_as, comment_notes_before, comment_notes_after, id_form, id_submit, title_reply, title_reply_to, cancel_reply_link, label_submit
  2. This is a simple example. You can also specify which features your post type should support: title, editor, excerpt, revisions, post author, categories/tags/other taxonomies