daypress
admin route/d-admin/post-new · /d-admin/edit
doc versionv1.0.4
reading time5 min read
section group05 · Content & Editorial
Docs/Content & Editorial
/d-admin/post-new · /d-admin/edit5 min readv1.0.4

Posts, Pages & WordPress-Native Editor (Visual, Code & Blocks)

Open Posts → Add New (/d-admin/post-new) or Pages → Add New (/d-admin/post-new?post_type=page) to author long-form content across three synchronized authoring views, or click Edit in DayStudio to switch to the visual canvas.

Three synchronized authoring modes + non-destructive block muting

  • Visual Tab (WYSIWYG): Clean editorial formatting toolbar for H2–H4 headings, lists, blockquotes, links, inline <code>, tables, callout boxes, and Media Library insertion, with live word count and estimated reading time in the footer bar.
  • Blocks Tab (Structured Block Stack): Reorder paragraphs, headings, images, code snippets, and custom ACF blocks as discrete cards. Collapse cards (▾ / Collapse All) on long articles, or click the eye toggle (👁 / 🙈) to mark a block data-dp-hidden="true"—muting it from public SSR while keeping draft copy safely in the editor.
  • Code Tab & Distraction-Free Fullscreen (⛶): Inspect or edit clean semantic HTML directly without Gutenberg comment noise, or expand the canvas full-screen.
http://localhost:8090/d-admin/post?post=5&action=edit — Post & Page Editor
Daypress Post Editor showing Visual, Code, and Blocks tabs, Publish box, Categories, Tags, Featured image, and Custom Fields
The Post & Page Editor pairs Visual, Code, and Block Stack tabs with collapsible meta boxes and 1-click DayStudio visual builder handoff.

Draggable meta boxes, statuses & visibility rules

Status / VisibilityPublic SSR & Feed Behavior
publish (Public)Live immediately at its canonical permalink, indexed in SQLite FTS5, sitemap.xml, and RSS/Atom feeds.
future (Scheduled)Hidden from public routes, archives, search, and feeds until its scheduled UTC timestamp arrives.
draft / pendingVisible only to authenticated editors (or external reviewers holding a revocable /preview/{token} link).
privateAccessible only to logged-in Administrators and Editors.
passwordRenders a native password prompt before revealing post body and layout content.

List table filters, Quick Edit, Bulk Edit & MCP CRUD

On /d-admin/edit, filter by status tabs (All, Published, Scheduled, Drafts, Trash), category, or date. Hover any row for inline Quick Edit (title, slug, status, categories, sticky flag) or 1-click Duplicate, or select multiple rows for Bulk Edit.

json (mcp)
// Create a published post via MCP (daypress_create_post)
{
  "post_type": "post",
  "title": "Why We Replaced PHP-FPM with Rust + SQLite",
  "slug": "replaced-php-fpm-with-rust-sqlite",
  "status": "publish",
  "excerpt": "How WAL-mode SQLite and pre-rendered AST layouts cut our P99 latency below 50 microseconds.",
  "content": "<h2>Zero network hops between router and storage</h2><p>...</p>"
}