daypress
admin route/d-admin/content-types
doc versionv1.0.4
reading time6 min read
section group06 · Content & Editorial
Docs/Content & Editorial
/d-admin/content-types6 min readv1.0.4

Custom Post Types, Custom Taxonomies & 12 Typed ACF Fields

Daypress replaces Custom Post Type UI and Advanced Custom Fields Pro with a native SQLite Content Model Hub (/d-admin/content-types)—powering structured directories, REST v2 endpoints, and template bindings.

7 one-click starter blueprints

Open Content Model (/d-admin/content-types) and click any blueprint—or call daypress_provision_cpt_preset—to provision the post type, linked taxonomy, and typed ACF field group in a single transaction:

Preset KeyCPT Slug & Default RouteTaxonomyIncluded Structured Fields
case_studiescase_study (/case_study/*)case_industryclient_name, headline_metric, timeline, challenge, outcome
portfolioportfolio (/portfolio/*)project_categoryclient, year, deliverables, live_url
teamteam_member (/team_member/*)departmentrole_title, location, headshot, linkedin_url, short_bio
docsdoc (/doc/* or custom rewrite_slug)doc_sectionsection_group, admin_route, doc_version, reading_time
jobsjob_listing (/job_listing/*)job_departmentlocation, employment_type, salary_range, apply_url
eventsevent (/event/*)event_typeevent_date, venue, ticket_price, registration_url, is_virtual
testimonialstestimonial (/testimonial/*)testimonial_topicauthor_name, author_role, company, rating, related_case_study
http://localhost:8090/d-admin/content-types — Content Model & ACF Schema Hub
Daypress Content Model Hub displaying 7 one-click starter blueprints, registered Custom Post Types, Taxonomies, and Structured Field Groups
Every registered Custom Post Type automatically mounts its own /d-admin/ sidebar menu, taxonomy manager, and /wp-json/wp/v2/{slug} REST API.

Registering bespoke CPTs & custom rewrite slugs

Need a custom URL prefix—for example, serving post_type = "doc" at /docs/<slug>/ alongside a custom /docs/ landing page? Set rewrite_slug in the Content Model UI or via daypress_save_post_type:

json (mcp)
// MCP: daypress_save_post_type
{
  "slug": "integration",
  "label_singular": "Integration",
  "label_plural": "Integrations",
  "rewrite_slug": "integrations",
  "public": true,
  "has_archive": true,
  "hierarchical": false,
  "supports": ["title", "editor", "thumbnail", "excerpt", "custom-fields"],
  "taxonomies": ["integration_category"],
  "show_in_rest": true
}

All 12 ACF structured field types & SSR bindings

Structured Field Groups attach to post types via location rules (post_type == integration) and validate input in both the Admin Editor and REST/MCP writes:

  • Scalar & Choice Types: text, textarea, wysiwyg, number, date, url, true_false, select (with choices), and multi-value checkbox.
  • Relational & Composite Types: media (attachment ID/URL picker), post_object (links to another CPT via target_post_type), and nested multi-row repeater tables (with typed sub_fields).
  • Rendering Values: Enable show_in_collection_card: true on any field to display automatic metadata pills inside LoopGrid collection cards, or bind {{acf.field_name}} inside Dynamic Theme Templates.