Chris W. Smith

  • About Me
    • Past Work
  • Tools
  • Blog
  • Contact

WordPress 3.0 – What’s New

August 7, 2010 By Chris Smith Leave a Comment

New Stuff:
the_shortlink() – Short URLs
Gives http://wp.me shortlink.

get_template_part() – including template files
New Way: get_template_part(file.php)

comment_form() – includes comment form
Replaces entire

comments. Labels changed using $args array in function call. Documented in Codex.

wp_nav_menu() – include nav menu
wp_nav_menu(“menu=Main”)
wp_nav_menu(“fallback_cb=wp_list_categories”) – fallback menu before user definition
Needed in function.php: add_theme_support(“nav_menus”);

New theme types:
single-content-type.php
author.php
author-id.php
author-nickname.php
category-slug.php

Custom Post Types:
register_post_type
“supports” array can define features of custom post
query_posts(‘post_type=post,posttype”); – Adds to existing Loop.
Custom Post Type Feeds:
/?feed=rss2&post_type=posttype
Custom Post Type UI plugin manages all of this

Create custom page template to list custom post types.

Multisite/WPMU
Requirements – subdomains: wildcard DNS
Requirements – Subdirectories: .htaccess
Supports domains with Domain Mapping plugin.

Went Away:
Option For Global Tags
Misc. Settings Page
Plugin auto-importers

Questions – Stephanie Leary
@sleary
http;//www.sillybean.net
www.slideshare.net/stephanieleary

Filed Under: Wordcamp - Houston, WordPress Tagged With: wordcamp houston, wordpress

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Latest Posts

  • Keyword Research Using Python, RAKE, and Support Chat Transcripts June 16, 2017
  • No Title June 16, 2017
  • Premixed Old Fashioneds May 3, 2017
  • Downstairs Bathroom Renovation March 8, 2017
  • Testing Android January 9, 2017
  • About Me
  • Tools
  • Blog
  • Contact

Copyright © 2021 · Built with the Genesis Framework on WordPress