LuxaDocs — User Guide

Last updated on August 16, 2026 · 9 min read

A complete walkthrough of LuxaDocs: writing docs, organizing them, and configuring every setting.

1. Core concepts

LuxaDocs adds three things to your site:

  • Docs — a custom post type (like Posts, but dedicated to documentation). Write and manage them under LuxaDocs → All Docs / Add New, using the normal WordPress editor.
  • Categories — group docs into sections (e.g. “Getting Started”, “API Reference”). Categories can be nested.
  • Tags — free-form labels for cross-cutting topics, independent of category structure.

Everything else — the Documentation page, the single doc layout, search, the Table of Contents — is generated automatically from your docs and categories.


2. Writing and organizing docs

Creating a doc

Go to LuxaDocs → Add New. A doc works exactly like a WordPress Post:

  • Title and content — write normally. Add a Featured Image if you want a thumbnail on the Documentation page grid.
  • Category — assign one or more categories in the sidebar. A doc without a category still works, but won’t appear grouped under any category section.
  • Tags — optional, free-form.
  • Excerpt — shown as the card summary on the Documentation page listing if set.
  • Attachments — see below.

Sections and the Table of Contents

Structure your doc’s content with Heading 2 and Heading 3 blocks (or H2–H6, depending on the “TOC Supported Heading Tag” setting — see §7). LuxaDocs automatically:

  • Assigns each heading a unique, URL-safe anchor id.
  • Builds a clickable Table of Contents from those headings.
  • (Optional) Wraps each top-level H2 section with the signature “postmark” numbered marker.

If you’ve manually set a custom anchor on a heading (e.g. the block editor’s Advanced → HTML Anchor field), LuxaDocs respects it instead of generating its own.

Escaping a shortcode inside a doc

If you want to show a shortcode as literal text in your doc’s content (for example, documenting the shortcode itself) instead of having it run, wrap it in double brackets:

[luxadocs_docs]

This displays as [luxadocs_docs] on the page instead of executing it — the standard WordPress shortcode-escaping syntax.

Attachments

If Attachments is enabled (Settings → Layout → Single Doc → Attachments), an Attachments box appears on the doc edit screen (in the sidebar, alongside Category/Tags). Click Add Attachment to pick one or more files from the Media Library — they’re listed at the bottom of the doc for readers to download.

Reordering docs

Docs support the standard WordPress Menu Order field (in Quick Edit, or via a page-ordering plugin). Set Order Docs By → Menu Order (the default — see §6) to control the Documentation page and category listings by this order.


3. The Documentation page

LuxaDocs automatically creates and maintains a page called “Documentation”, holding your built-in doc listing. You’ll find it under Pages in wp-admin, but you shouldn’t edit its content directly — it exists only to hold the [luxadocs_home] shortcode, and LuxaDocs manages its title and slug for you based on your settings.

This page shows:

  • A live search box (if enabled).
  • Your categories, each with its doc count and an “Explore More” link.
  • A grid/list of your docs.

Its URL follows the LuxaDocs Root Slug setting (docs by default — see §5), and its title follows Documentation Page Title.


4. The single doc page

Each doc gets its own page, combining:

  • Breadcrumb (Home → Category → Doc Title).
  • Title, last-updated date, and estimated reading time.
  • Table of Contents — either a sticky sidebar (3-column layout) or a collapsible block above the content (1-column layout), depending on TOC Position.
  • The doc’s content, with postmark section markers (optional).
  • Tags, if any.
  • A Yes/No “Was this doc helpful?” feedback widget.
  • Attachments, if any.
  • Previous/Next doc navigation.
  • Related Docs — other docs sharing a category.
  • A category list.
  • A “Powered by LuxaDocs” credit (on by default — see §7 to turn it off).

Every one of these is individually toggleable in Settings → Layout → Single Doc.


5. Settings — General

LuxaDocs → Settings → General

SettingWhat it does
Built-in Documentation PageMaster on/off switch for the auto-created “Documentation” page. Turn off if you’d rather build your own listing page using the [luxadocs_docs]/[luxadocs_categories]/[luxadocs_search] shortcodes (see §9).
Enable Category Hierarchy SlugOn (default): category archives live at root-slug/category-slug/, and docs live one level deeper at root-slug/category-slug/doc-slug/. Off: falls back to a flat URL structure (using the Custom Category Slug and Single Docs Permalink below) to avoid URL collisions.
Documentation Page TitleThe <h1> and page title shown on the Documentation page.
LuxaDocs Root SlugThe base URL segment for your whole docs section (default docs, i.e. yoursite.com/docs/). Changing this also moves the Documentation page’s own URL to match.
Custom Category SlugOnly used when Category Hierarchy Slug is off. Category archives then live at root-slug/this-slug/category-slug/.
Custom Tag SlugThe URL segment for tag archives.
Single Docs PermalinkOnly used when Category Hierarchy Slug is off. Single docs then live at this-slug/doc-slug/. Keep it different from the Custom Category Slug to avoid a URL clash.
Content Wrapper Extra ClassAdd your active theme’s own content class (e.g. entry-content, prose) so your theme’s own typography CSS (headings, paragraphs, links) applies to LuxaDocs content too.

Changed your permalink settings? LuxaDocs flushes rewrite rules automatically when you save Settings, so new URLs work immediately — no need to visit Settings → Permalinks yourself.


6. Settings — Layout → Documentation Page

LuxaDocs → Settings → Layout → Documentation Page

General

SettingWhat it does
Number Of ColumnsGrid columns for the doc cards.
Number Of DocsHow many docs to show per page.
Doc CountShow/hide the “N Docs” count next to each category.
Count Text / Count Text SingularThe word used after the number — e.g. “Docs” for 5, “Doc” for 1 (grammatically correct singular/plural).
Explore More Button / Explore More Button TextShow/hide, and label, the link to a category’s full archive.

Search

SettingWhat it does
Live SearchEnable AJAX-powered instant results as the visitor types, instead of a full page reload on submit.
Minimum Character Limit For Search ResultHow many characters before live search starts querying.
Search Placeholder / Search Button TextText shown in the search box.
Search Not Found TextMessage shown when a search returns no results.

Order By

SettingWhat it does
Order Docs ByMenu Order, Title, Date, or Last Modified.
OrderAscending or Descending.

7. Settings — Layout → Single Doc

LuxaDocs → Settings → Layout → Single Doc

General

SettingWhat it does
Single Doc Display ModePlugin Template (default) — LuxaDocs’ own dedicated page template; works identically on every theme, but width/columns are controlled by LuxaDocs, not your theme. Theme Template — injects the doc body into your active theme’s own template via the_content(); no theme edits needed, and your theme’s own typography/width apply automatically. If using Theme Template with TOC Position set to “Sidebar”, consider switching TOC Position to “In Content” if your theme’s content column is narrow.
Doc TitleShow/hide the <h1> title.
Section Postmark MarkersThe numbered circle marker before each H2 section — the theme’s signature look. Turn off for plainer headings.
Sidebar Category ListShow/hide the category tree in the left rail (Sidebar TOC position only).
Print IconShow/hide a print button.
TagsShow/hide the doc’s tags.
Last Update TimeShow/hide “Last updated on …”.
NavigationShow/hide Previous/Next doc links.
CommentEnable WordPress’ native comments on docs (off by default — LuxaDocs’ own Yes/No feedback widget is the default feedback mechanism, independent of this setting).
Show “Powered by LuxaDocs”Show/hide the credit link.
Reaction Prompt Text / Reaction Thanks TextText shown before and after a reader clicks Yes/No on the feedback widget.
Estimated Reading TimeShow/hide the “N min read” indicator.

TOC

SettingWhat it does
Table of ContentsMaster on/off switch.
TOC PositionSidebar (3-column) — search + category tree on the left, a sticky TOC on the right. In Content (1-column) — a single column, TOC shown as a sticky block above the doc; best for narrower theme content areas.
TOC TitleHeading text above the TOC list.
TOC HierarchyIndent sub-headings under their parent heading in the list.
TOC List NumberShow numbered list markers.
Collapsed by Default (In Content mode)Whether the “In Content” TOC starts collapsed. Only applies in that position — the sidebar TOC is always fully expanded.
TOC Supported Heading TagWhich heading levels build the TOC (H2/H3 through H2–H6).
Anchor Scroll OffsetPixels of space left above a heading when a TOC link scrolls to it — handy if your theme has a sticky header.

Breadcrumb

SettingWhat it does
BreadcrumbShow/hide the breadcrumb trail.
Enable Breadcrumb Home TextShow/hide the “Home” link.
Breadcrumb Home Text / Breadcrumb Home URLIts label and destination.
Category on BreadcrumbInclude the doc’s category in the trail.
Title on BreadcrumbInclude the doc’s own title as the final crumb.

Email Feedback

SettingWhat it does
Enable Email FeedbackWhen a reader answers the Yes/No feedback widget, email the answer (doc title, Yes/No, and a link) to the address below.
Send Feedback ToDestination email address (defaults to your site’s admin email). Also used as the address behind the “Contact support” link shown in the Documentation page / category archive footer.

Attachments

SettingWhat it does
Enable AttachmentsShow/hide a doc’s attached files at the bottom of the page.

Related Docs

SettingWhat it does
Enable Related DocsShow/hide a “Related Docs” block (other docs sharing a category).
Number of Related DocsHow many to show.
Related Docs TitleSection heading text.

8. Settings — Customize

LuxaDocs → Settings → Customize

SettingWhat it does
Accent ColorLinks, buttons, and highlight elements.
Background ColorPage background.
Text ColorBody text color.

These apply across the Documentation page, category/tag archives, and single docs.


9. Shortcodes

Use these to place doc content anywhere outside the built-in Documentation page — a custom landing page, a sidebar widget area (via a Shortcode block/widget), or your own hand-built listing.

[luxadocs_docs] — a grid of docs

[luxadocs_docs]
[luxadocs_docs category="getting-started"]
[luxadocs_docs number="6" columns="2"]
AttributeDefaultDescription
category(none)Category slug to filter by. Omit to show docs from all categories.
numberSettings → Number Of DocsHow many docs to show.
columnsSettings → Number Of ColumnsGrid columns.
[luxadocs_search]

No attributes — placeholder text, button label, and live-search behavior all follow Settings → Layout → Documentation Page → Search.

[luxadocs_categories] — a list of categories

[luxadocs_categories]

No attributes — lists every doc category with a link to its archive, and its doc count if Doc Count is enabled in Settings.

[luxadocs_home] also exists, but is internal — it’s what powers the auto-created Documentation page and isn’t meant to be added by hand.


10. Import / Export settings

Go to LuxaDocs → Settings → Import / Export.

  • Export Settings — a read-only box showing your current settings as JSON. Select and copy it to back up your configuration or move it to another site.
  • Import Settings — paste a previously exported JSON block into the text box and click Import to apply it.

This only affects Settings — it does not import or export your actual Docs/Categories/Tags content.

The Shortcodes tab next to Import/Export is a quick on-screen reference for the shortcodes covered in §9 above.


Questions not answered here? Check the FAQ, or see the Changelog for recent changes.

Powered by LuxaDocs

Leave a Comment