Themes: support a section-filtered latest feed on the homepage

Aperta
#753 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
35/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
php
Ambito
api, backend

Direzione di ricerca

Start from LatestView, which the issue says supplies the lead, featured posts and one feed page, and confirm that no public paginated section-filtered source exists for it. Then read the public section archive to see the visibility and language rules a new source must match. Done means a documented theme-facing way to request a section-scoped, paginated slice of the latest feed, with tests covering filtering, pagination and those rules. The API shape is not yet settled, so agree it with maintainers before writing code.

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

Descrizione

area/themes type/enhancement when/later

A magazine homepage can use a single section rail to update the story grid without leaving the page. LatestView supplies a lead, up to three featured posts, and one page of the feed. It does not expose a public, paginated section-filtered source for that feed. Filtering only the current feed in the browser would miss older matching posts and give misleading counts.

Expected: a documented way for a theme to request a section-scoped slice of the latest feed, with pagination and the same visibility and language rules as the public section archive. The homepage could keep its editorial lead and update just the story grid.

The port uses the primary menu to link to the actual section archives.

Lingua principale
PHP
Stelle
1
Fork
1
Merge medio
1h 40m
PR unite (30g)
143

Preparare l'ambiente

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 temecms/teme

Tutte le issue di temecms/teme

Issue simili

Altre issue su PHP

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.