A responsive WordPress theme for UCF's college websites, built off of the Athena Framework.
This theme is developed and tested against WordPress 4.9.8+ and PHP 5.3.x+.
These plugins must be activated for the theme to function properly.
The plugins listed below are extended upon in this theme--this may include custom layouts for feeds, style modifications, etc. These plugins are not technically required on sites running this theme, and shouldn't be activated on sites that don't require their features. A plugin does not have to be listed here to be compatible with this theme.
- Athena Shortcodes
- Automatic Sections Menus Shortcode
- Gravity Forms
- Page Links To
- UCF Degree Custom Post Type
- UCF Departments Taxonomy
- UCF Employee Type Taxonomy
- UCF Events
- UCF News
- UCF Page Assets
- UCF Post List Shortcode (2.0.0+)
- UCF People Custom Post Type
- UCF Section
- UCF Social
- UCF Spotlights
- WP Allowed Hosts
- WP Mail SMTP
- WP Shortcode Interface
- Yoast SEO
- Ensure that menus have been created and assigned to the Header Menu and Footer Menu locations.
- Import field groups (
dev/acf-fields.json
) using the ACF importer under Custom Fields > Tools. - Set the homepage to a static page in Settings > Reading
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.
- node
- gulp-cli
- Clone the Colleges-Theme repo into your development environment, within your WordPress installation's
themes/
directory:git clone https://github.com/UCF/Colleges-Theme.git
cd
into the Colleges-Theme directory, and runnpm install
to install required packages for development intonode_modules/
within the repo- Copy
gulp-config.template.json
, make any desired changes, and save asgulp-config.json
. - Run
gulp default
to process front-end assets. - If you haven't already done so, create a new WordPress site on your development environment, install the required plugins listed above, and set the Colleges Theme as the active theme.
- Make sure you've done all the steps listed under "Configuration" above.
- Run
gulp watch
to 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.