Skip to content

Fluent post type definitions #2

Closed

Description

@n4ff4h

PostType::make('news')->labels(...)->supports(['content', 'media', 'meta'])->metaFields([...]) with categories/taxonomies, statuses and scheduling.

Activity

  1. added
    next-genNext-gen Javaabu packages
    featurePackage feature from the spec
    on Nov 4, 2026
  2. n4ff4h commented on Nov 5, 2026

    @n4ff4h
    CollaboratorAuthor

    Done. PostType::make() with labels, features (content, excerpt, media, meta, author, scheduling), taxonomies (Taxonomy, hierarchical or flat, shared between post types), statuses (Status: draft, pending, published built in; your own with PostTypes::status()) and scheduling (a public status with a future publish date; published()/scheduled() scopes, no cron). Also subclasses and config('post-types.types'). API posted on the epic. Decision: one posts table for every post type, with a type column.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    featurePackage feature from the specnext-genNext-gen Javaabu packages

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions