Solo King · Version 1.0.0Documentation

Everything needed to go from a fresh install to a finished, selling storefront — and every hook you need when you want to go further.

1. Design DNA

Solo King is built on a single visual thesis: one product, presented as a numbered edition — the way a fine press treats a plate mark, or a distillery treats a batch. Every design decision in the theme descends from that thesis. Knowing the DNA makes every customization decision obvious.

When extending the theme, test any addition against the DNA: is it framed, is it measured, does it settle? If yes, it will look native.

2. Installation

  1. Appearance → Themes → Add NewUpload Theme.
  2. Choose solo-king.zip, install, and Activate.
  3. Install and activate WooCommerce. The theme runs without it, but every commerce feature (and the demo product) needs it.
  4. You'll land on a pointer to Appearance → Solo King — the setup screen.

Requirements: WordPress 6.2+, PHP 7.4+ (8.x recommended). No build tools, no plugins beyond WooCommerce.

3. One-click demo import

Appearance → Solo KingImport the demo. In a few seconds the importer creates, programmatically and without any XML or extra plugin:

Idempotent by design. Run it twice and nothing duplicates — every object it created is recognized by a hidden marker and reused. Your own content is never modified or deleted.

If WooCommerce is inactive, the import completes everything except the product and reports a "partial" state; activate WooCommerce and run it again to finish.

4. Customizer map

Everything lives under Appearance → Customize → Solo King. Colors repaint the preview instantly; text edits refresh only the section being edited.

Panel / sectionWhat it controls
Design · ColorsThe seven tokens: Ink, Brand, Brand-deep, Accent (champagne), Paper, Surface, Sale. Every pixel of the theme reads from these.
Design · TypographyFont pairing (Editorial — Fraunces + Inter / Modern — all Inter / System), base size, and the modular scale ratio.
Design · Shape & rhythmCorner radius family (sharp / soft / round), vertical section rhythm (compact / comfortable / grand), container width.
HeaderSticky behavior, transparent-over-hero, announcement bar rotation (three slots), header button.
Homepage SectionsToggle and reorder all fourteen sections; pick the featured product.
Sections · (one panel each)Every heading, paragraph, image, statistic, tier, FAQ entry, and button — around 200 options, all pre-filled with the shipped copy.
CommerceCart drawer on/off, free-shipping threshold and messages, low-stock honesty threshold, sticky buy bar, trust rows, payment chips.
FooterTagline, note (supports {year}), payment marks.

5. Homepage sections

The front page is a loop over a registry. Default order:

hero → trustbar → marquee → story → formula → benefits → ritual
→ stats → transformation → comparison → usecases → press → testimonials
→ product → reviews → faq → guarantee → founder → cta

Five of the nineteen are signature sections — compositions you will not find in a page-builder kit:

Developers can add, remove, or reorder sections in code via the solo_king_home_sections filter (see Hooks).

6. Product page anatomy

7. Drawer, cart & checkout

8. Landing template

Assign "Landing (focused)" to any page and the announcement bar, navigation, header button, and footer menu disappear — one page, one action. Ideal for ad traffic.

9. Block patterns

The editor ships twelve patterns in three Solo King categories, so inner pages can be assembled on-brand without touching code:

The demo About and Contact pages are built from them. All patterns are pure core blocks carrying theme class names, so they inherit your Customizer palette automatically.

10. Hooks & filters

FilterPurpose
solo_king_defaultsChange any of the ~200 option defaults (all copy included) before the Customizer reads them.
solo_king_home_sectionsAdd or remove homepage sections: keys map to template-parts/sections/{key}.php.
solo_king_iconsRegister or replace inline SVG icons used across the theme.
solo_king_js_configExtend the SoloKing object handed to the front-end scripts.
solo_king_tokens_cssAppend to or transform the generated :root token layer.

Example — adding a section

add_filter( 'solo_king_home_sections', function ( $sections ) {
	$sections['press'] = __( 'Press', 'your-child' );
	return $sections;
} );
// Then create: template-parts/sections/press.php in your child theme.

11. Child theming

/* style.css in your child theme */
/*
 Theme Name: Solo King Child
 Template:   solo-king
*/

Template parts and the sections registry resolve through the child first. Solo King ships zero WooCommerce template overrides — the quantity stepper and every commerce refinement are hook-based — so WooCommerce updates can never raise the “outdated template files” notice against this theme. Tokens can be overridden with plain CSS variables:

:root { --sk-brand: #7a2f3e; --sk-accent: #d8b98a; }

12. Performance notes

13. Tested configurations

Every release of Solo King passes a fixed matrix before packaging. Wave one of v1.0.0 was verified against the following:

Environment matrix

LayerTestedNotes
WordPress6.2 → 6.8Requires at least: 6.2
PHP7.4, 8.1, 8.2, 8.3No deprecation notices at WP_DEBUG
WooCommerce8.x → 9.xCart/checkout blocks and classic shortcodes
BrowsersChrome, Edge, Firefox, Safari 16.4+ (last 2)color-mix(), :has(), <dialog> baseline
Devices360px → 1920pxKey stops: 360, 640, 900, 1024, 1280

Scenario checklist

ScenarioExpected
Activate with WooCommerce absentNo fatals; commerce sections self-hide; admin notice offers install
Activate, run one-click importProduct, pages, menus, media, mods land; re-running never duplicates
Simple product — AJAX addDrawer opens with fragments; no page reload; toast on fallback
Variable product — variation addAttributes post correctly; sticky bar mirrors state
JavaScript disabledEvery section visible, classic add-to-cart submits, no dead UI
prefers-reduced-motionNo reveals, drift, counters, marquee, or settle; Transformation still operable
Keyboard onlyDrawer and lightbox trap focus; slider, accordion, carousel, and the Transformation range all reachable and operable
Screen reader passLandmarks, accordion ARIA, live-region announcements, labeled instrument
RTL (ar, he)Layouts mirror via logical properties; marquee direction sane
Empty statesNo reviews → section hides; no featured product → graceful notices, never fatals

Static gates (run on every build)

14. Credits & licenses

Solo King · Opus Technologies · Thank you for building with it.