This repository contains a sample only of the darkstar-theme
WordPress theme and build.
You can set up using Local By Flywheel, or just grab the theme files.
- Gulp: Used for asset minification and optimization.
- Local By Flywheel: Utilized for local development environments.
- Advanced Custom Fields (ACF) for dynamic content management.
- Components and ACF Loop:
- Found in
themes/darkStarMediaTheme/components
.
- Found in
- ACF JSON:
- Custom field configurations are stored in
themes/darkStarMediaTheme/acf-json
.
- Custom field configurations are stored in
- All source files are located in
themes/darkStarMediaTheme/src
.
- This theme was originally built using Bootstrap, but most Bootstrap code has been replaced with CSS Grid.
- Over time, all remaining Bootstrap code will be removed.
- A new custom navigation walker will be created to fully transition away from Bootstrap.
Ensure your wp-config.php
file is configured correctly for local development. Here’s an example:
define('WP_DEBUG', true);
define('WP_DEBUG_LOG', true);
define('WP_DEBUG_DISPLAY', false);
@ini_set('display_errors', 1);
$table_prefix = 'wp_';
-
This repository is a public sample and does not include sensitive data or configuration files.
-
Feel free to explore the code and adapt it for your own projects!
- Integrated a TOC into the ACF flex components
- Added a Review CTP with its own TOC
- Added "gulp-sass": "^6.0.0", and adjusted SCSS to match
- removed WCK Plugin