这是indexloc提供的服务,不要输入任何密码
Skip to content

Add blocks templates, and required files for theme initialization #8

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 7 commits into from
Apr 8, 2022

Conversation

thelovekesh
Copy link
Member

@thelovekesh thelovekesh commented Apr 6, 2022

Description

PR aims to add the required file for theme initialization with required template parts.
Required files:

  • style.css
  • index.php
  • index.html

Templates:

  • 404.html
  • archive.html
  • home.html
  • index.html
  • page.html
  • search.html
  • single.html

Technical Details

Reference for the following block patterns have been added, but block patterns are not included yet.

  • hidden-404 - Used to display data on 404 pages
  • footer - Used to display footer on webpages.

Checklist

Screenshots

To-do

  • Currently added blocks patterns rely on the idea of some FSE themes like frostwp, archeo, and twentytwentytwo. Based on our cases, templates will be needing more fine-tuning.

Fixes/Covers issue

Fixes #5
Fixes #6

@thelovekesh thelovekesh self-assigned this Apr 6, 2022
@thelovekesh thelovekesh requested a review from RahiDroid April 6, 2022 14:16
@RahiDroid RahiDroid merged commit a6eca08 into main Apr 8, 2022
@RahiDroid RahiDroid deleted the add/block-templates branch April 18, 2022 17:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Initialize the block theme Add Block Templates
2 participants