Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

Scheduled entries are visible on the website before their publication date

Aperta
#15,169 3 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
48/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Tranquilla
Stack tecnologico
laravel, php
Ambito
frontend

Direzione di ricerca

Start by reproducing the reported case in a fresh Statamic site: create a scheduled entry with a future publication time, then check the homepage feed and blog listing before that time. Trace how those frontend listings query entries and how scheduled status is handled. Done means the entry is absent from public listings until its scheduled publication time.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

needs more info stale
Bug description

Summary: Scheduled blog posts are displayed on the frontend before their scheduled publication date.

Description:

I have noticed an issue with scheduled blog posts in the Statamic Control Panel.

When I create a blog post and set it to be published at a scheduled date/time in the future, the post is correctly marked as scheduled in the administrative interface. However, on the public website, a preview/excerpt of the post is already visible before the scheduled publication time.

The scheduled post appears in:

the blog post listing/archive
the blog post preview/excerpt on the homepage

This seems incorrect, as a scheduled entry should not be visible on the public website until its scheduled publication date/time has been reached.

Expected behavior:

A scheduled blog post should remain completely hidden from the public website until the specified publication date and time. It should not appear in the homepage feed, blog listing, or any other frontend listing/query before it is published.

Actual behavior:

The scheduled post is already displayed as a preview/excerpt on the homepage and in the blog listing, even though its scheduled publication time has not yet been reached.

Could you please confirm whether this is a known issue or whether there is a configuration/query that needs to be changed to exclude scheduled entries from frontend listings?

If this is a bug, could you please advise whether it can be fixed in Statamic?

I can provide screenshots, the Statamic version, configuration details, or a URL to a test installation if needed.

Thank you.

How to reproduce

Steps to reproduce:

Create a new blog post in the Statamic Control Panel.
Set its status/publication to Scheduled.
Select a future publication date and time.
Save the entry.
Open the public website before the scheduled publication time.
The scheduled post is already visible in the homepage and blog listing.

Expected result:
The post should not be visible anywhere on the public website until its scheduled publication time.

Actual result:
The post is visible as a preview/excerpt before the scheduled publication time.

Logs

Environment
-
Installation

Fresh statamic/statamic site via CLI

Additional details
Image Image Image Image
Lingua principale
PHP
Stelle
4.9k
Fork
647
Merge medio
1g 20h
PR unite (30g)
113

Preparare l'ambiente

Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di statamic/cms

Tutte le issue di statamic/cms

Issue simili

Altre issue su PHP

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.