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

Initialize the block theme #6

@RahiDroid

Description

@RahiDroid

Summary

Initializing the block theme refers to making the theme identified as a block theme by WordPress. WordPress relies on having a index.html file inside the templates folder for a theme to be recognized as a block theme.
Any theme in WordPress must have a style.css file that contains the theme's meta information in the file headers.
Note: You will have to add a index.php file in the root even in a block theme for it to be a valid theme. There is an open ticket discussion removal of this requirement.

References

Block Theme Overview

Acceptance Criteria

  • Add the style.css file with the necessary theme metadata
  • Add the index.html inside the templates folder

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions