General Settings
Site title, logo, and search configuration.
General Tab
The General settings tab controls the core identity and behavior of your documentation site.
Site Title
Displayed at the top of the sidebar next to the logo. If left empty, falls back to the WordPress site name from Settings → General.
Logo (Light Mode)
The primary logo shown on light backgrounds. Click Upload to select from your media library. Recommended: 32px height, transparent PNG or SVG.
Logo (Dark Mode)
A separate logo for dark backgrounds. If not set, the light mode logo is used for both. Useful when your logo has dark text that wouldn’t be visible on dark backgrounds.
Show Search
Toggle the AJAX search bar in the top navbar. When enabled, visitors can search across all documentation pages with instant dropdown results.
How Settings Are Stored
All settings are stored as a single serialized array in wp_options under the key wpdocs_settings. Benefits:
- Single database query to load all settings
- Clean options table — one row for everything
- Easy to export/import with standard WordPress tools
Settings API
In theme templates, access settings via:
$title = wpdocs_get_option('site_title', 'My Docs');
$logo = wpdocs_get_option('logo_url', '');
$dark = wpdocs_get_option('logo_dark_url', '');