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

Single post layout cover not working for CPT

Aperta
#4,372 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à
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
45/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Ferma
Stack tecnologico
php, wordpress
Ambito
frontend, web-dev

Direzione di ricerca

Riproduci il problema con un Custom Post Type UI CPT, quindi confronta l’output frontend di un post normale e del CPT dopo aver selezionato Customize > Layout > Single Post > Header Layout > Cover. Traccia il punto di ingresso del layout Cover e identifica la modifica necessaria affinché il titolo e i metadati del CPT rimangano visibili; il lavoro è completato quando entrambi vengono visualizzati correttamente.

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

Descrizione

bug customer report
Description

The Cover option that we have in Customize > Layout > Single Post > Header Layout is also applying for any CPTs created, but is not working well in that case ( the title and meta are not visible )

Step-by-step reproduction instructions
  1. Create a CPT using Custom Post Type UI and check it on frontend https://vertis.d.pr/i/2PaKtt
  2. Go to Customize > Layout > Single Post > Header Layout and change it to Cover
  3. Check the CPT again -> the title is not visible anymore https://vertis.d.pr/i/ikjtME
  4. In the video you can see the difference between how the Cover option is working for Posts vs CPT https://vertis.d.pr/v/yrpnu1
Screenshots, screen recording, code snippet or Help Scout ticket

It was previously reported here https://github.com/Codeinwp/neve/issues/4062 but there is another ticket
https://wordpress.org/support/topic/featured-image-cover-in-custom-post-types/

Environment info

No response

Is the issue you are reporting a regression

No

Lingua principale
PHP
Stelle
307
Fork
88
Merge medio
1g 6h
PR unite (30g)
10

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 Codeinwp/neve

Tutte le issue di Codeinwp/neve

Issue simili

Altre issue su PHP

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.