Skip to content

AgriLife/agrilife-extension-research

Repository files navigation

AgriLife Extension Research (WordPress Plugin)

Codeship Status for AgriLife/agrilife-extension-research on Master branch

Codeship Status for AgriLife/agrilife-extension-research on Staging branch

Functionality for AgriLife Extension Research sites

WordPress Requirements

  1. AgriFlex3 theme
  2. AgriLife Core plugin
  3. Advanced Custom Fields: Image Crop Add-on
  4. Advanced Custom Fields 5+ plugin
  5. Soliloquy Slider plugin (for Landing Page 1 Template)

Installation

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

Features

  • Required appearance and information for Extension Research sites
  • Widget Areas
    • Footer Left: This is the footer widget area. It appears to the left of the required links. This widget area works best with the Text widget.
    • Home Sidebar: This is the Home sidebar widget area. It appears in the right column of the home page. This widget area works best with menus and Genesis Featured Posts.
  • Page Templates
    • Home: Full-width and custom styled Soliloquy slider, programs, and a sidebar
  • Page Layouts:

Content Sidebar Sidebar Content Sidebar Content Sidebar Content

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 set up the plugin for a production environment.
  4. Or run 'npm start -- develop' to set up the plugin for a development environment.

Development Notes

  1. The ACF fields imported as JSON (flexiblecolumns-columnsaddon-details.json and publications-details.json) do not receive the "_name" property needed by the plugin while processing a field, which results in PHP Notice messages in debug mode. Add this property manually to new ACF fields in the JSON files.

Development Requirements