Extending your WordPress project with custom post types
summary
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
chapters (13)
- 0:00Introduction
- 1:56What is WordPress post type
- 4:00Understanding default post types
- 7:40Understanding custom post types
- 12:36Extending custom post types
- 14:00Adding metadata
- 15:13Custom taxonomy
- 16:43Best practices
- 18:10Getting data
- 20:54Tracking
- 21:56Template
- 22:29Tools
- 24:11Documentation
related talks
56mUsing WordPress as a Modern Web Dev
01h 02mHacking Wordpress, a Crash Course in Writing Plugins and Widgets
21mUsing WordPress as a Framework
54mAdvanced Plugin Creation in WordPress
21mAPI-first Development with Headless WordPress
40mWordPress for Modern Developers
34mFace Your Fear: The Headless WordPress!
24mProgressive Content Management Systems
