Skip to content
This repository was archived by the owner on Nov 18, 2024. It is now read-only.
This repository was archived by the owner on Nov 18, 2024. It is now read-only.

Add "Page with no title" template #272

@beafialho

Description

@beafialho

Similarly to Twenty Twenty-Four, we have some full page patterns in Twenty Twenty-Five that are intended to be used without a title when a page is created. The theme will benefit from a "page with no title" template taking the same approach, so we can have pages like the examples below:

patterns

This is what that template looks like in Twenty Twenty-Four:

<!-- wp:template-part {"slug":"header","area":"header","tagName":"header"} /-->

<!-- wp:group {"tagName":"main","style":{"spacing":{"margin":{"top":"0"}}}} -->
<main class="wp-block-group" style="margin-top:0">
	<!-- wp:post-content {"lock":{"move":false,"remove":true},"layout":{"type":"constrained"}} /-->
</main>
<!-- /wp:group -->

<!-- wp:template-part {"slug":"footer","area":"footer","tagName":"footer"} /-->

I can imagine the margins between these sections will have to be 0 for the template parts and content to have no awkward blank spaces between them.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Good First IssueAn issue that's suitable for someone looking to contribute for the first timeNeeds DevReady for, and needs developer efforts[Component] Templates

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions