~/talk

Extending your WordPress project with custom post types

Talkat WordCamp Singapore 2016 · on Tuesday, 2016-09-06· [php, web-platform]
slides:none on file

Shows how to register custom post types (via register_post_type), add custom taxonomies and meta boxes, and even register extra custom post status values; builds a working tracking web app (example tracking code TR40) with statuses like dispatched, in-transit/local post and received, demoed in the admin and front end using WP_Query, a shortcode for the search form and a single-template for display. Recommends packaging CPTs in a plugin, prefixing slugs, and using Metabox and WP Codeex/ generators.

AI-written summary · about

  1. 0:00Introduction
  2. 1:56What is WordPress post type
  3. 4:00Understanding default post types
  4. 7:40Understanding custom post types
  5. 12:36Extending custom post types
  6. 14:00Adding metadata
  7. 15:13Custom taxonomy
  8. 16:43Best practices
  9. 18:10Getting data
  10. 20:54Tracking
  11. 21:56Template
  12. 22:29Tools
  13. 24:11Documentation
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.