Glossary entry

Custom Post Types (CPT)

Custom Post Types (CPTs) are WordPress content types registered beyond the defaults of Posts and Pages, allowing developers to model any kind of structured content — Products, Events, Team Members, Case Studies, Testimonials, Glossary Terms, Locations — with their own admin menus, fields, and archive URLs. CPTs are registered with register_post_type(), where you define the label, slug, REST API support, supported features (title, editor, thumbnail), and which custom taxonomies apply. Block themes built with Full Site Editing (FSE) can assign a block template directly to a CPT, defining the layout in JSON rather than PHP. Because CPTs sit in the standard wp_posts table with a custom post_type column, they benefit from all core WordPress query infrastructure: WP_Query, the REST API, Yoast SEO metadata, and the media library.

No published articles use Custom Post Types (CPT) yet.

When new articles use this term, they will appear here.