Hacktoberfest 2026: los issues que los mantenedores marcaron para octubre, abiertos y aptos para principiantes. Explorar issues de Hacktoberfest

Scheduled entries are visible on the website before their publication date

Abierto
#15,169 3 comentarios 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
3/5
Tiempo estimado
1-2 días
Aptitud para principiantes
48/100
Tipo de issue
Error
Claridad
Bastante claro
Estado de actividad
Tranquilo
Stack tecnológico
laravel, php
Área
frontend

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

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
Lenguaje dominante
PHP
Estrellas
4.9k
Forks
647
Merge medio
1 d 19 h
PR fusionados (30 d)
108

Preparar el entorno

Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de statamic/cms

Todos los issues de statamic/cms

Issues similares

Más issues de PHP

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.