Content Management
Create and organize your documentation pages.
Understanding the Structure
WPDocs organizes your documentation using two concepts:
- Sections — Category-like groups displayed in the left sidebar. Each section is a heading like “Getting Started” or “API Reference”.
- Doc Pages — Individual documentation pages assigned to a section. Each page appears as a link under its section in the sidebar.
This mirrors the structure of popular documentation sites like Tailwind CSS, Stripe Docs, and Laravel.
Creating Sections
- Navigate to WPDocs → Sections
- Enter a name (e.g., “Core Concepts”)
- Set the Order number — lower values appear first in the sidebar
- Premium users can pick a section icon from the built-in 50+ icon library
- Click Add New Section
Creating Doc Pages
- Go to WPDocs → Add New Page
- Write your title — this becomes the sidebar link text and page heading
- Use the WordPress editor for content. Both the Classic Editor and Block Editor (Gutenberg) are fully supported
- In the right sidebar, assign the page to a Section
- In the Doc Settings meta box, set the Menu Order (lower = higher in sidebar)
- Optionally add a Short Description — shown below the page title on the frontend
- Click Publish
Ordering Your Content
Both sections and doc pages are sorted by a numeric order field. Example hierarchy:
Getting Started (section order: 0)
├── Installation (menu_order: 0)
├── Configuration (menu_order: 1)
└── Content Management (menu_order: 2)
Theme Structure (section order: 1)
├── File Structure (menu_order: 0)
├── TailPress Framework (menu_order: 1)
└── Template System (menu_order: 2)
Writing Good Documentation
The content area uses Tailwind Typography for beautiful defaults. Tips:
- Use
<h2>for main sections and<h3>for sub-sections — these auto-generate the Table of Contents (Premium) - Wrap code in
<pre><code>blocks for monospace styling - Use ordered lists (
<ol>) for step-by-step instructions - Use tables for structured reference data
- Keep paragraphs short and scannable
Previous / Next Navigation
Each doc page automatically shows “Previous” and “Next” links at the bottom, following the sidebar order. This lets readers navigate through your docs sequentially.