Aller au contenu
Ledger Docs

Documentation de Ledger Docs

Guide d'installation et de personnalisation du thème WordPress Ledger Docs — installation, en-tête, pied de page, mise en page, widgets et réglages de la page d'accueil.

Installation

Download ledger-docs.zip from the download button on this page and leave it zipped. In your WordPress dashboard go to Appearance → Themes → Add New → Upload Theme, choose the file, and click Install Now. When WordPress finishes unpacking it, click Activate. That is the entire install — there is no setup wizard, no bundled plugin, and no licence key to enter.

Ledger Docs is a block theme, so once it is active your theme options live under Appearance → Editor rather than in a settings panel of their own. If you are coming from a classic theme, that is where everything moved to. Your existing posts, pages, and media are untouched by the switch.

Getting started

First, set your site identity. Your site title and tagline still come from Settings → General, so change them there. Then open Appearance → Editor, click into the header template part, and swap the site title for a Site Logo block if you would rather show a mark. The header also carries the persistent search field.

Second, build the documentation tree. The sidebar is an ordinary Navigation block, so go to Appearance → Editor → Navigation and add your pages in the order a reader should meet them. Nested menu items render as nested links. There is no separate menu system to learn and no code to touch.

Third, pick your palette. Appearance → Editor → Styles applies the light or dark colour set across the whole site in one click, and the editor canvas follows. Do this before you write much — every token is contrast-checked against its intended background, so the choice affects how your drafts read while you work.

The documentation sidebar

The left-hand sidebar is what makes this a docs theme. It sticks as the reader scrolls, so the table of contents stays on screen through a long page instead of scrolling away at the top. It is built from a standard core Navigation block, which means you manage the whole docs tree from the editor.

Edit it under Appearance → Editor → Navigation. Drag items to reorder them and indent a page under another to create a section. Because it is one navigation menu reused across templates, changing it once updates every page that shows it — you never edit the same link list twice.

Keep top-level items short. A sticky sidebar is only useful while it fits the viewport, and a tree that runs longer than the screen makes readers scroll the navigation as well as the page.

Code blocks and inline code

Code presentation is styled from theme.json rather than by a plugin, so it is consistent everywhere. The core Code block and the Preformatted block both render bordered and monospaced with room to breathe, and inline code — the Inline Code format in the toolbar — gets its own treatment so it stays legible inside a running sentence.

Insert a code block with /code and a preformatted block with /preformatted. Use Code for snippets a reader will copy, and Preformatted for output, file trees, and log excerpts where the line breaks matter. Both use the theme's monospace stack, which is a system font — nothing is fetched from a CDN.

Worth being clear about one thing: Ledger Docs styles code, it does not colourise it. Syntax highlighting is plugin territory, and bundling that inside a theme is against the WordPress.org guidelines. The blocks are built to look right next to whichever highlighter you choose.

Customizing with the Site Editor

Everything visual is edited in one place: Appearance → Editor. Templates control page types — the single doc page, archives, search results, 404 — and editing a template changes every page that uses it. If one page needs to differ, edit that page rather than its template.

Template parts are the reusable pieces inside those templates, mainly the header and the footer. Open Appearance → Editor → Patterns to find them. They are shared, so a change to the header appears sitewide immediately. This is also where you go to change anything in the footer.

Styles handles colour, typography, spacing, and duotone filters globally. Appearance → Editor → Styles lets you change a setting once and have it apply everywhere, instead of restyling individual blocks. Typography is fluid by default, sized with clamp(), so text scales with the viewport without you setting breakpoints.

Removing the footer credit

The footer carries a small "Theme by Odie Themes" line. It is optional, and removing it takes about three clicks. Go to Appearance → Editor → Patterns, open the Footer template part, click the paragraph holding the credit, and delete it with the block toolbar's three-dot menu. Click Save.

Nothing depends on it. No feature turns off, no update check breaks, and the theme carries on working exactly as it did. You will not get a nag notice about it either.

If you leave it in place, thank you — that link is most of how people find these themes. But it is your site, and the option to remove it should not be buried, which is why it is written down here rather than left for you to find.

Toujours bloqué ?

Si quelque chose dans Ledger Docs ne se comporte pas comme cette page l'indique, c'est un bug dont nous voulons entendre parler.