Custom WordPress theme for https://chubes.net. This repository contains a modular, performance-focused WordPress theme with a documentation/project tracking system.
- Modular PHP organization under
/inc/ - Templates organized under
/inc/core/templates/with template-hierarchy filters - Conditional asset loading with cache-busting via
filemtime() - Build script:
./build.shproduces a ZIP for WordPress uploads in/build/ - NO contact functionality (moved to chubes-contact plugin)
- NO documentation CPT/taxonomy (handled by chubes-docs plugin)
This theme runs in a standard WordPress environment (Local or server).
- Place the theme directory in
wp-content/themes/and activate via the WordPress admin. - Install and activate the chubes-contact plugin for contact form functionality.
- Install and activate the chubes-docs plugin for documentation features.
Create a production package with the included script:
./build.sh
This creates /build/chubes.zip for uploading to WordPress.
/inc/core/assets.php— centralized asset enqueuing and localization/inc/journal/journal-post-type.php— registersjournalpost type (game and documentation post types are registered by respective plugins)/inc/core/filters.php— template hierarchy routing to flattened directory/inc/core/breadcrumbs.php— breadcrumb generation for navigation/inc/core/templates/— flattened templates directorybuild.sh— production packaging script
Assets are conditionally enqueued in /inc/core/assets.php. Examples:
- is_front_page() → assets/css/home.css
- Archive/taxonomy pages → assets/css/archives.css
- Global navigation JS → assets/js/navigation.js
Built by Chris Huber — https://chubes.net