WP Manifestindependent plugin directory
manifest / themes / af4-aglifesciences

Aglifesciences - AgriFlex4

A plugin for The College of Agriculture and Life Sciences' main site on the AgriFlex4 theme.

by Zachary Watkins · github.com/agrilife/af4-aglifesciences · website

★ 1stars
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-aglifesciences/archive/refs/heads/master.zip

The College of Agriculture and Life Sciences - Main Site

Codeship Status for AgriLife/af4-aglifesciences

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.

WordPress Requirements

  1. Genesis theme
  2. AgriFlex4 theme: Download the latest release
  3. College of Agriculture and Life Sciences plugin: Download the latest release
  4. Advanced Custom Fields Pro plugin
  5. PHP 5.6+, tested with PHP 7.2

Installation

  1. Download the latest release
  2. Upload the plugin to your site

Features

  • Visual styles unique to College of Agriculture and Life Sciences websites.

Development Installation

  1. Copy this repo to the desired location.
  2. In your terminal, navigate to the plugin location 'cd /path/to/the/plugin'.
  3. Run "npm start" to configure your local copy of the repo, install dependencies, and build files for a production environment.
  4. Or, run "npm start -- develop" to configure your local copy of the repo, install dependencies, and build files for a development environment.

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

  1. Run "grunt develop" to compile the css when developing the plugin.
  2. Run "grunt watch" to automatically compile the css after saving a *.scss file.
  3. Run "grunt" to compile the css when publishing the plugin.
  4. Run "npm run checkwp" to check PHP files against WordPress coding standards.

Development Requirements