-
Notifications
You must be signed in to change notification settings - Fork 57
Open
Labels
[Status] To doIssue marked as TodoIssue marked as Tododeveloper documentation (DevHub)Improvements or additions to developer documentationImprovements or additions to developer documentationthemesIssues for Theme Developer HandbookIssues for Theme Developer Handbook
Description
Issue Description
The documentation states that there is only one property for dimensions but there are new ones since 6.5 or 6.6.
URL of the Page with the Issue
https://developer.wordpress.org/themes/global-settings-and-styles/settings/dimensions/
Section of Page with the issue
Why is this a problem?
Now there is also :
- aspectRatio (bool)
- defaultAspectRatios (bool)
- aspectRatios (array of values)
For now, there is no explanation about theses values. Hopefully, the theme.json schema helped me find the syntax for the custom aspects ratios
Suggested Fix
- Add a section for each new value
- Add an exemple on how to define custom aspect ratios
Metadata
Metadata
Assignees
Labels
[Status] To doIssue marked as TodoIssue marked as Tododeveloper documentation (DevHub)Improvements or additions to developer documentationImprovements or additions to developer documentationthemesIssues for Theme Developer HandbookIssues for Theme Developer Handbook