This WordPress plugin should only be used on https://aglifesciences.tamu.edu/ or testing versions of this site. No permission is given to install this on any other website, as it contains visual and informational aspects unique to that college. You may repurpose code from this repository for your own WordPress development since we use a GPL-2.0+ license.
- Genesis theme
- AgriFlex4 theme: Download the latest release
- College of Agriculture and Life Sciences plugin: Download the latest release
- Advanced Custom Fields Pro plugin
- PHP 5.6+, tested with PHP 7.2
- Download the latest release
- Upload the plugin to your site
- Visual styles unique to College of Agriculture and Life Sciences websites.
- Copy this repo to the desired location.
- In your terminal, navigate to the plugin location 'cd /path/to/the/plugin'.
- Run "npm start" to configure your local copy of the repo, install dependencies, and build files for a production environment.
- Or, run "npm start -- develop" to configure your local copy of the repo, install dependencies, and build files for a development environment.
When you stage changes to this repository and initiate a commit, they must pass PHP and Sass linting tasks before they will complete the commit step. Release tasks can only be used by the repository's owners.
- Run "grunt develop" to compile the css when developing the plugin.
- Run "grunt watch" to automatically compile the css after saving a *.scss file.
- Run "grunt" to compile the css when publishing the plugin.
- Run "npm run checkwp" to check PHP files against WordPress coding standards.
- Node: http://nodejs.org/
- NPM: https://npmjs.org/
- Ruby: http://www.ruby-lang.org/en/, version >= 2.0.0p648
- Ruby Gems: http://rubygems.org/
- Ruby Sass: version >= 3.4.22