01

A preview is part of the publishing workflow

Editors need a preview to answer a practical question: will the content I am editing render as intended? A title-only preview is not sufficient when the published design depends on custom fields, images and flexible sections.

Preview acceptance also includes confidentiality. A working draft view must not make unpublished material accessible to anonymous visitors. Treat authorized rendering and public access as separate requirements.

02

What the repair actually addressed

In one WordPress engagement, a content type lacked a suitable preview template. Its preview displayed a title while the expected image, quotation and attribution were absent. The repair supplied the rendering path and the styling context used by the intended design.

The review then found related problems in other content types: another missing preview template, styling that depended on a published page’s URL slug, empty optional fields that produced warnings, and a multi-column section that repeated the first column.

These were distinct defects. A successful fix for the first content type was not evidence that every template and field state worked.

03

The acceptance record had several layers

  • Rendering: server-side checks exercised existing entries, draft styling, changed-field output and flexible sections, including sections not currently used in published pages.
  • Content integrity: stored post content and custom fields were checked for unintended changes.
  • Public comparison: sampled public pages were compared with saved pre-change output.
  • Access: anonymous access to draft and private examples remained blocked.
  • Layout: desktop and mobile snapshots of representative previews were inspected.

The actual editor’s logged-in browser session was not exercised. That boundary matters: server-rendering and layout evidence did not establish the behavior of every editor session or the complete browser Preview-button interaction.

04

Find the layer where the content disappears

Trace the same content through the editing state, the authorized preview request, the selected template, its field renderer and the styling context. A saved value can exist without being output by the selected template. A field overlay can render correctly on the server while the editor’s actual save or autosave sequence remains untested.

WordPress documents how its template hierarchy selects the presentation file. That is one diagnostic layer, not a universal fix for preview defects. Our example required specific rendering and styling corrections; it does not establish that a particular plugin version or configuration causes every similar symptom.

05

Use a preview matrix instead of one happy path

  1. List each content type and the template intended for its preview.
  2. Check saved published content, a saved draft and changed-field output separately.
  3. Exercise optional fields both present and empty. An empty image should not create a broken placeholder or a warning.
  4. Try repeatable and multi-column sections with distinguishable sample values, so copied-column errors are visible.
  5. Check styling when a page is duplicated or its slug changes. The preview should receive the required design context without relying on an unrelated public URL.
  6. Verify authorized access and anonymous denial, then compare public output and stored content with the pre-change record.
  7. Complete an authorized editor-browser check before claiming that the whole editing interaction passed.
06

Scope the change before rebuilding the editor

A missing preview template does not by itself justify replacing a theme, changing the content model or rebuilding the editor. First identify where the draft data enters the render path and where the design expects it.

The useful deliverable is a repaired workflow with an evidence record and explicit remaining checks. For related engineering, see WordPress development and custom plugin development. Discuss a preview problem using a redacted description of the content type and symptom rather than credentials or confidential drafts.

For the next acceptance boundary after publishing, read how a form submission differs from a delivered enquiry. A correct preview, a public layout and a received notification need their own evidence.