# SoloFrame Evo Theme Reference > Quick-lookup reference for the SoloFrame Evo WordPress theme. Covers hooks, filters, design tokens, CSS architecture, JS modules, helper functions, class APIs, CLI commands, deployment, and testing. --- ## Table of Contents - [SoloFrame Evo Theme Reference](#soloframe-evo-theme-reference) - [Table of Contents](#table-of-contents) - [Hooks and Filters](#hooks-and-filters) - [hooks.php (SoloFrameEvo Namespace)](#hooksphp-soloframeevo-namespace) - [extras.php](#extrasphp) - [helpers.php](#helpersphp) - [class-enqueue.php](#class-enqueuephp) - [class-breadcrumbs.php](#class-breadcrumbsphp) - [class-resources.php](#class-resourcesphp) - [theme.json Design Tokens](#themejson-design-tokens) - [Colors](#colors) - [Font Sizes](#font-sizes) - [Font Family](#font-family) - [Layout](#layout) - [Spacing Units](#spacing-units) - [CSS Architecture](#css-architecture) - [Import Order](#import-order) - [Adding a New Stylesheet](#adding-a-new-stylesheet) - [JS Module Dependency Graph](#js-module-dependency-graph) - [Script Module IDs](#script-module-ids) - [Navigation Class API](#navigation-class-api) - [Constructor](#constructor) - [Methods](#methods) - [Helper Functions](#helper-functions) - [Class Reference](#class-reference) - [Breadcrumbs Method Details](#breadcrumbs-method-details) - [CLI Commands](#cli-commands) - [Deployment (GitHub Actions)](#deployment-github-actions) - [Deployment Steps](#deployment-steps) - [rsync Flags](#rsync-flags) - [Testing](#testing) - [Accessibility Tests](#accessibility-tests) - [PHP Linting](#php-linting) - [Playwright Configuration](#playwright-configuration) --- ## Hooks and Filters ### hooks.php (SoloFrameEvo Namespace) All hooks in this file live under the `SoloFrameEvo` namespace. | Hook | Type | Priority | Args | Description | | ------ | ------ | ---------- | ------ | ------------- | | `wp_head` | Action | 0 | — | Adds Google Fonts `` tags | | `register_nav_menus()` | Direct call | — | — | Registers three menus: `main_navigation`, `aux_navigation`, `footer_navigation` | | `widgets_init` | Action | — | — | Registers four sidebars: `sidebar-primary`, `sidebar-page`, `footer-1`, `footer-2`, `footer-3` | | `wp_title` | Filter | — | — | Formats page titles as `Site Name: Page Title` | | `excerpt_more` | Filter | — | — | Replaces default excerpt ellipsis with `…` | | `include_page_title_in_hero` | Filter | — | — | Removes page title from hero section on single posts | | `init` | Action | 1 | — | Aggressive WP cleanup and theme support registration (see below) | | `wp_check_filetype_and_ext` | Filter | 10 | 4 | Allows SVG uploads (fix for WP 4.7.1 filetype check) | | `upload_mimes` | Filter | — | — | Adds `svg` mime type (`image/svg+xml`) | | `admin_head` | Action | — | — | Injects CSS to fix SVG display in the admin area | | `wp_mail_from` | Filter | — | — | Sets the `From` email address to the admin email | | `wp_mail_from_name` | Filter | — | — | Sets the `From` name to the blog name | **The `init` (priority 1) hook performs aggressive cleanup:** Removes: - Emoji detection and styles (`remove_action` on `wp_head`) - Block library styles (`wp-block-library`) - Global styles (`global-styles`) - REST API link tag from `wp_head` - REST API link tag from `template_redirect` - XML-RPC link (`rsd_link`) - WP generator tag (`wp_generator`) - WLW manifest link (`wlwmanifest_link`) Adds theme supports: - `post-thumbnails` - `title-tag` - `html5` (search-form, comment-form, comment-list, gallery, caption, style, script) - `align-wide` - `editor-styles` - `responsive-embeds` - `customize-selective-refresh-widgets` --- ### extras.php | Hook / Filter | Type | Description | | --------------- | ------ | ------------- | | `hasSidebar` | Filter | Controls sidebar display based on an ACF true/false field on the current page | | `body_class` | Filter | Appends `has-sidebar` class to `` when a sidebar is present | | `the_content` | Filter | `divWrapper()` wraps `