WordPress / WordPress/Documentation-Issue-Tracker

[Theme Handbook] hierarchy is shown as a bulleted list

Open
#286 3 comments 0 reactions 1 assignee View on GitHub

@carolinan is already working on this.

Since Feb 22, 2023.

developer documentation (DevHub) themes
Dominant language
Shell
Stars
109
Forks
73
PR merge metrics
No merged PRs in 30d

Description

The formatting of the example list of files and folders is wrong. It's a unordered list instead of showing a hierarchy.

URL of the Page with the Issue

https://developer.wordpress.org/themes/basics/linking-theme-files-directories/

Section of Page with the issue

The list following this sentence:

The theme hierarchy for your theme called my-theme might look like the following. style.css and page.php are included for context.

Screenshot:
Linking Theme Files Directories Theme Developer Handbook WordPress Developer Resources-24

Why is this a problem?

It's supposed to show hierarchy, but it's simply a list.

Suggested Fix

Don't use blocks. :)

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.