This WordPress theme provides functionality and visual styles for AgriLife affiliated websites.
- Genesis theme
- Advanced Custom Fields 5+ plugin
- PHP 5.6+, tested with PHP 7.2
- Download the latest release
- Upload the theme to your site
- Responsive layout and navigation for desktop, tablet, and mobile devices
- Multiple page layouts
- Post and page archives that show full or excerpted content, with or without a featured image
- Widget Areas
- Primary Sidebar: Positioned next to a page's content depending on which page layout it uses
- JS file for tiled post search page templates * Used by af4-aglifesciences and agrilife-degree-programs * Uses the Sticky plugin from Foundation to position the filters in a helpful location when the browser window is greater than 700px wide
- 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