AgriLife Unit - AgriFlex4
Plugin for the AgriLife Unit variation of the AgriFlex4 theme
by Zachary Watkins · github.com/agrilife/af4-agrilife-unit · website
★ 2stars
0forks
Install
No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:
wp plugin install https://github.com/agrilife/af4-agrilife-unit/archive/refs/heads/master.zipAgriLife Unit
This WordPress plugin provides visual styles and features for AgriLife Unit sites on the AgriFlex4 theme.
WordPress Requirements
- Genesis theme
- AgriFlex4 theme: Download the latest release
- Advanced Custom Fields Pro plugin
- PHP 5.6+, tested with PHP 7.2
Installation
- Download the latest release
- Upload the plugin to your site
Features
- Communications Home page template
- Visual styles unique to AgriLife Unit websites
Development Installation
- Copy this repo to the desired location.
- In your terminal, navigate to the plugin location 'cd /path/to/the/plugin'
- Make sure Node, NPM, Ruby (v2.0.0p648 or greater), Ruby Gems, and Ruby Sass (v3.4.22 or greater) are installed.
- Run "npm start" to configure your local copy of the repo, install dependencies, and build files
Development Notes
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.
Development Tasks
- 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.
Development Requirements
- 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