Skip to content

Single post layout cover not working for CPT #4372

Open
@rodica-andronache

Description

@rodica-andronache

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 #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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugThis label could be used to identify issues that are caused by a defect in the product.customer reportIndicates the request came from a customer.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions