ucf / strategic-plan-child-theme
Child theme for UCF's Strategic Plan website. Built as a child theme of the UCF WordPress Theme, using the Athena Framework.
Package info
github.com/UCF/Strategic-Plan-Child-Theme
Language:JavaScript
Type:wordpress-theme
pkg:composer/ucf/strategic-plan-child-theme
Requires
- composer/installers: ~1.0
Requires (Dev)
None
Suggests
None
Provides
None
Conflicts
None
Replaces
None
README
Child theme for UCF's Strategic Plan website. Built as a child theme of the UCF WordPress Theme, using the Athena Framework.
Quick links
Documentation
Head over to the Strategic Plan Child Theme wiki for detailed information about this theme, installation instructions, and more.
Development
Note that compiled, minified css and js files are included within the repo. Changes to these files should be tracked via git (so that users installing the theme using traditional installation methods will have a working theme out-of-the-box.)
Enabling debug mode in your wp-config.php file is recommended during development to help catch warnings and bugs.
Requirements
- node v16+
- gulp-cli
Instructions
-
Clone the Strategic-Plan-Child-Theme repo into your local development environment, within your WordPress installation's
themes/directory:git clone https://github.com/UCF/Strategic-Plan-Child-Theme.git -
cdinto the new Strategic-Plan-Child-Theme directory, and runnpm installto install required packages for development intonode_modules/within the repo -
Optional: If you'd like to enable BrowserSync for local development, or make other changes to this project's default gulp configuration, copy
gulp-config.template.json, make any desired changes, and save asgulp-config.json.To enable BrowserSync, set
synctotrueand assignsyncTargetthe base URL of a site on your local WordPress instance that will use this theme, such ashttp://localhost/wordpress/my-site/. YoursyncTargetvalue will vary depending on your local host setup.The full list of modifiable config values can be viewed in
gulpfile.js(seeconfigvariable). -
Run
gulp defaultto process front-end assets. -
If you haven't already done so, create a new WordPress site on your development environment, and install and activate theme dependencies.
-
Set Strategic Plan Child Theme as the active theme.
-
Make sure you've completed all theme configuration steps.
-
Run
gulp watchto continuously watch changes to scss and js files. If you enabled BrowserSync ingulp-config.json, it will also reload your browser when scss or js files change.
Contributing
Want to submit a bug report or feature request? Check out our contributing guidelines for more information. We'd love to hear from you!