Skip to content

Homepage Layouts #17

@JohnPixle

Description

@JohnPixle

@HardeepAsrani Good progress today. I was initially having a bunch of problems with patterns and images, but sorted them all out.

All 24 patterns work fine now.

You should use my latest branch, where the latest progress is made: https://github.com/Codeinwp/quickwp-theme/tree/Fix-Patterns

Also, magic link for the demo site.

In the above branch you will also find 3 layouts for the homepages. They are referencing our patterns like:

<!-- wp:pattern {"slug":"quickwp/hero-centered"} /-->
<!-- wp:pattern {"slug":"quickwp/feature-columns"} /-->
<!-- wp:pattern {"slug":"quickwp/content-columns"} /-->
<!-- wp:pattern {"slug":"quickwp/call-to-action-1"} /-->

These layouts are registered as simple pages. I would advise against using a frontpage template in our case, instead I suggest we use a simple page template that the user can set as his front page via the Settings \ Reading controls.

Screenshot 2024-01-11 at 2 40 09 PM

This is much more flexible, because otherwise, the homepage template is persisting, and there is no way to override. Other players use the same approach.

Let me know your thoughts! I think this is enough to start testing. From my end, I will continue to work on the page templates for the Quick Theme (archives, singles, headers/footers etc) so we can have it shaped-up properly.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions