SailWP Documentation
Everything you need to know about your WordPress theme.
Getting Started
Requirements
- WordPress 6.4 or higher (tested up to the current release)
- PHP 7.4 or higher
- Any WordPress host (shared hosting works fine)
Installation
- Download the
sailwp.zipfile - In WordPress, go to Appearance → Themes → Add New → Upload Theme
- Upload the ZIP file and click Install Now
- Click Activate
- On the WordPress dashboard, pick a Color palette and Font in the Your website panel
Modules
SailWP bundles features that normally require separate plugins. Each module can be toggled on or off in Modules (in the admin sidebar). All modules are enabled by default.
SEO
Meta titles, descriptions, Open Graph tags, Twitter Cards, canonical URLs, and schema markup. Per-page control via a meta box in the editor. Auto-disables if Yoast, Rank Math, AIOSEO, or SEOPress is installed.
Two-Factor Authentication
TOTP-based 2FA with QR code setup. Works with Google Authenticator, Authy, 1Password, and any TOTP app. Protects admin accounts from unauthorized access.
Multilanguage
JSON-based translations for the admin interface. 12+ languages included. Auto-disables if WPML, Polylang, or TranslatePress is installed.
Cookie Consent
GDPR-compliant cookie banner with Google Consent Mode v2 integration. Customizable text and colors. Handles consent storage and analytics blocking automatically.
Editor Simplification
Cleans up the Gutenberg block editor for beginners. Removes rarely-used blocks, simplifies the inserter, and reduces visual clutter without limiting functionality.
Automated Backups
Daily automated ZIP backups of your database and uploads. Optional S3 upload for off-site storage. Configure retention period and backup schedule.
SVG Upload
Safe SVG file uploads with XSS sanitization. SVGs are cleaned of potentially malicious code before being added to your Media Library.
Analytics (Umami)
Cookie-free, privacy-friendly analytics through Umami. Enter your Umami URL and website ID in the Your website panel on the dashboard and SailWP adds the tracking script. You need your own Umami (self-hosted or Umami Cloud); no Google, no consent banner needed.
Site Health
Custom WordPress Site Health checks specific to SailWP. Verifies theme configuration, module status, and common setup issues.
AI: the Co-pilot
The theme itself contains no AI. AI editing lives in the separate, free SailWP Co-pilot plugin, which works with SailWP and with any other WordPress theme.
What the Co-pilot does
- Design pages — describe what you want and get a full page you can preview before applying
- Tweak anything — rewrite copy, fix headings, wire up your contact form, swap or generate images
- Voice and uploads — talk in your own language, or upload Word docs, PDFs and images
Pricing
Your first 15 tweaks and your first full page design are free. After that you top up with credits from inside the plugin: €0.10 per tweak, €1 per page design (plus VAT). Credits never expire and there is no subscription. See pricing.
WooCommerce
SailWP includes basic WooCommerce compatibility. Product pages, cart, and checkout are styled to match your theme's colors, fonts, and design tokens.
Setup
- Install and activate WooCommerce
- That's it — SailWP automatically declares theme support and loads matching styles
What's included
- Product grid styling (responsive: 3 columns → 2 → 1)
- Product image gallery with zoom, lightbox, and slider
- Buttons, forms, and inputs styled to match the theme
- Cart and checkout pages with consistent typography
- Sale badges, star ratings, breadcrumbs, and pagination
- WooCommerce notices styled as theme notifications
Design & Styles
Global Styles
SailWP is a block theme, which means all visual customization happens in the WordPress Site Editor. Go to Appearance → Editor → Styles to access Global Styles.
From Global Styles, you can change:
- Colors — 14 theme colors (primary, accent, backgrounds, text, borders, etc.)
- Typography — 4 bundled font families (DM Sans, Inter, Lora, Nunito), with full control over size, weight, line height, letter spacing, and text transform
- Spacing — 6 spacing presets (XS through XXL) used for padding, margins, and block gaps
- Borders — Color, radius, style, and width on any block
- Shadows — Card shadow and subtle shadow presets
Per-heading typography
In Global Styles, navigate to Typography → Headings. You can set font size, weight, line height, and letter spacing for each heading level (H1–H6) independently. Custom font sizes are supported — type any value you want.
Custom font sizes
SailWP defines 5 font size presets (Small 14px, Medium 18px, Large 26px, Extra large 36px, Huge 48px), but you can type any custom size on any block. The presets are starting points, not limits.
Palettes & Fonts
The quickest way to style your site is the Your website panel on the WordPress dashboard. Pick one of 11 color palettes and one of 8 font pairings; the whole site updates at once.
| Setting | Options |
|---|---|
| Color palette | Dawn, Ocean (default), Sage, Rose, and under "more palettes": Slate, Lavender, Sunset, Forest, Midnight, Coral, Berry |
| Font | Modern, Classic, Friendly, Clean (default), and under "more fonts": Editorial, Elegant, Tech, Playful. All pairings use the 4 bundled, self-hosted typefaces: DM Sans, Inter, Lora and Nunito. |
A palette sets the theme colors and a font pairing sets heading and body fonts. You can still fine-tune any individual value afterwards in the Site Editor's Styles panel.
For Developers
Architecture
SailWP is a WordPress block theme (Full Site Editing). Key structure:
sailwp/
├── style.css # Theme header
├── theme.json # Design tokens, block settings
├── functions.php # Core logic, dashboard panel, presets, module loader
├── templates/ # Block templates (page, single, archive, etc.)
├── parts/ # Template parts (header, footer)
├── patterns/ # Block patterns (hero, features, CTA, FAQ, etc.)
├── assets/
│ ├── css/ # Editor, admin, WooCommerce, command palette
│ ├── js/ # Admin dashboard, command palette, page helpers
│ ├── fonts/ # DM Sans, Inter, Lora, Nunito (self-hosted)
│ └── lang/ # JSON translation files
└── inc/ # Feature modules (one file per feature)
├── seo.php
├── two-factor.php
├── multilanguage.php
├── cookie-consent.php
├── editor-simplification.php
├── backup.php
├── svg-upload.php
├── site-health.php
├── modules.php
├── header-footer.php
├── starter-pages.php
├── copilot-promote.php
└── update-checker.php
Module system
Modules are toggled via the sailwp_modules option (stored as an associative array). Check if a module is enabled:
if ( sailwp_module_enabled( 'seo' ) ) {
// SEO module is active
}
Module definitions live in inc/modules.php. Toggleable modules: seo, two_factor, multilanguage, cookie_consent, editor_simplification, backup.
CSS conventions
SailWP CSS classes use the s24- prefix for front-end and pattern styles and sailwp- for admin-side styling, to avoid collisions with other themes and plugins.
theme.json
SailWP uses theme.json v3 for all design tokens. Key settings:
settings.appearanceTools: true— enables all typography and spacing controls in the editorsettings.color.defaultPalette: false— replaces default colors with the theme's own palettesettings.typography.defaultFontSizes: false— replaces default sizes with theme sizes- The chosen palette and font pairing are applied on top of theme.json through the
wp_theme_json_data_themefilter
Hooks & Filters
PHP functions
| Function | Description |
|---|---|
sailwp_module_enabled( $key ) | Check if a module is active. Returns bool. |
s24_t( $key ) | Translate a string using the JSON i18n system. Returns translated string or key. |
Filters
| Filter | Description |
|---|---|
sailwp_schema_graph | Modify the schema.org graph the SEO module outputs before it is printed. |
WordPress options
| Option key | Type | Description |
|---|---|---|
sailwp_modules | array | Module toggle states (key → 0/1) |
s24_color_preset | string | Active color palette (e.g. ocean) |
s24_font_preset | string | Active font pairing (e.g. clean) |
s24_umami_url, s24_umami_site_id | string | Umami analytics connection |
s24_languages | array | Enabled site languages |
FAQ
Is SailWP really free?
Yes. The theme is free and GPL v2+. Always will be. The optional AI Co-pilot plugin starts free (15 tweaks and your first page design), then runs on pay-as-you-go credits. No subscriptions.
Can I use SailWP with an existing WordPress site?
Yes. Install and activate the theme. Your existing content (posts, pages) stays untouched.
Does SailWP work with page builders like Elementor?
SailWP is a block theme designed to work with the WordPress block editor (Gutenberg). Page builders like Elementor or Divi Builder are not tested or officially supported, but they generally coexist since they operate on individual pages.
Can I use my own SEO plugin instead of the built-in one?
Yes. Install your preferred SEO plugin (Yoast, Rank Math, etc.) and SailWP's SEO module automatically disables itself. No conflicts, no duplicate meta tags.
What happens if I switch away from SailWP?
Your content stays in WordPress. Posts, pages, and media are all standard WordPress data. The AI-generated pages use clean HTML that works with any theme. Module settings (SEO meta, 2FA) are stored as standard WordPress options and post meta.
Does it work with WooCommerce?
Yes. SailWP includes built-in WooCommerce support with matching styles for product grids, cart, checkout, and all standard WooCommerce pages.